1
<?xml version="1.0" encoding="ascii"?>
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
"DTD/xhtml1-transitional.dtd">
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
<link rel="stylesheet" href="epydoc.css" type="text/css" />
8
<script type="text/javascript" src="epydoc.js"></script>
11
<body bgcolor="white" text="black" link="blue" vlink="#204080"
13
<!-- ==================== NAVIGATION BAR ==================== -->
14
<table class="navbar" border="0" width="100%" cellpadding="0"
15
bgcolor="#a0c0ff" cellspacing="0">
18
<th> <a
19
href="example-module.html">Home</a> </th>
22
<th> <a
23
href="module-tree.html">Trees</a> </th>
26
<th> <a
27
href="identifier-index.html">Indices</a> </th>
30
<th bgcolor="#70b0f0" class="navbar-select"
31
> Help </th>
33
<th class="navbar" width="100%"></th>
36
<table width="100%" cellpadding="0" cellspacing="0">
38
<td width="100%"> </td>
40
<table cellpadding="0" cellspacing="0">
41
<!-- hide/show private -->
42
<tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
43
onclick="toggle_private();">hide private</a>]</span></td></tr>
44
<tr><td align="right"><span class="options"
45
>[<a href="frames.html" target="_top">frames</a
46
>] | <a href="help.html"
47
target="_top">no frames</a>]</span></td></tr>
53
<h1 class="epydoc"> API Documentation </h1>
55
<p> This document contains the API (Application Programming Interface)
56
documentation for this project. Documentation for the Python
57
objects defined by the project is divided into separate pages for each
58
package, module, and class. The API documentation also includes two
59
pages containing information about the project as a whole: a trees
60
page, and an index page. </p>
62
<h2> Object Documentation </h2>
64
<p>Each <strong>Package Documentation</strong> page contains: </p>
66
<li> A description of the package. </li>
67
<li> A list of the modules and sub-packages contained by the
69
<li> A summary of the classes defined by the package. </li>
70
<li> A summary of the functions defined by the package. </li>
71
<li> A summary of the variables defined by the package. </li>
72
<li> A detailed description of each function defined by the
74
<li> A detailed description of each variable defined by the
78
<p>Each <strong>Module Documentation</strong> page contains:</p>
80
<li> A description of the module. </li>
81
<li> A summary of the classes defined by the module. </li>
82
<li> A summary of the functions defined by the module. </li>
83
<li> A summary of the variables defined by the module. </li>
84
<li> A detailed description of each function defined by the
86
<li> A detailed description of each variable defined by the
90
<p>Each <strong>Class Documentation</strong> page contains: </p>
92
<li> A class inheritance diagram. </li>
93
<li> A list of known subclasses. </li>
94
<li> A description of the class. </li>
95
<li> A summary of the methods defined by the class. </li>
96
<li> A summary of the instance variables defined by the class. </li>
97
<li> A summary of the class (static) variables defined by the
99
<li> A detailed description of each method defined by the
101
<li> A detailed description of each instance variable defined by the
103
<li> A detailed description of each class (static) variable defined
107
<h2> Project Documentation </h2>
109
<p> The <strong>Trees</strong> page contains the module and class hierarchies: </p>
111
<li> The <em>module hierarchy</em> lists every package and module, with
112
modules grouped into packages. At the top level, and within each
113
package, modules and sub-packages are listed alphabetically. </li>
114
<li> The <em>class hierarchy</em> lists every class, grouped by base
115
class. If a class has more than one base class, then it will be
116
listed under each base class. At the top level, and under each base
117
class, classes are listed alphabetically. </li>
120
<p> The <strong>Index</strong> page contains indices of terms and
123
<li> The <em>term index</em> lists every term indexed by any object's
124
documentation. For each term, the index provides links to each
125
place where the term is indexed. </li>
126
<li> The <em>identifier index</em> lists the (short) name of every package,
127
module, class, method, function, variable, and parameter. For each
128
identifier, the index provides a short description, and a link to
129
its documentation. </li>
132
<h2> The Table of Contents </h2>
134
<p> The table of contents occupies the two frames on the left side of
135
the window. The upper-left frame displays the <em>project
136
contents</em>, and the lower-left frame displays the <em>module
139
<table class="help summary" border="1" cellspacing="0" cellpadding="3">
140
<tr style="height: 30%">
141
<td align="center" style="font-size: small">
142
Project<br />Contents<hr />...</td>
143
<td align="center" style="font-size: small" rowspan="2" width="70%">
144
API<br />Documentation<br />Frame<br /><br /><br />
148
<td align="center" style="font-size: small">
149
Module<br />Contents<hr /> <br />...<br />
154
<p> The <strong>project contents frame</strong> contains a list of all packages
155
and modules that are defined by the project. Clicking on an entry
156
will display its contents in the module contents frame. Clicking on a
157
special entry, labeled "Everything," will display the contents of
158
the entire project. </p>
160
<p> The <strong>module contents frame</strong> contains a list of every
161
submodule, class, type, exception, function, and variable defined by a
162
module or package. Clicking on an entry will display its
163
documentation in the API documentation frame. Clicking on the name of
164
the module, at the top of the frame, will display the documentation
165
for the module itself. </p>
167
<p> The "<strong>frames</strong>" and "<strong>no frames</strong>" buttons below the top
168
navigation bar can be used to control whether the table of contents is
169
displayed or not. </p>
171
<h2> The Navigation Bar </h2>
173
<p> A navigation bar is located at the top and bottom of every page.
174
It indicates what type of page you are currently viewing, and allows
175
you to go to related pages. The following table describes the labels
176
on the navigation bar. Note that not some labels (such as
177
[Parent]) are not displayed on all pages. </p>
179
<table class="summary" border="1" cellspacing="0" cellpadding="3" width="100%">
182
<th>Highlighted when...</th>
185
<tr><td valign="top"><strong>[Parent]</strong></td>
186
<td valign="top"><em>(never highlighted)</em></td>
187
<td valign="top"> the parent of the current package </td></tr>
188
<tr><td valign="top"><strong>[Package]</strong></td>
189
<td valign="top">viewing a package</td>
190
<td valign="top">the package containing the current object
192
<tr><td valign="top"><strong>[Module]</strong></td>
193
<td valign="top">viewing a module</td>
194
<td valign="top">the module containing the current object
196
<tr><td valign="top"><strong>[Class]</strong></td>
197
<td valign="top">viewing a class </td>
198
<td valign="top">the class containing the current object</td></tr>
199
<tr><td valign="top"><strong>[Trees]</strong></td>
200
<td valign="top">viewing the trees page</td>
201
<td valign="top"> the trees page </td></tr>
202
<tr><td valign="top"><strong>[Index]</strong></td>
203
<td valign="top">viewing the index page</td>
204
<td valign="top"> the index page </td></tr>
205
<tr><td valign="top"><strong>[Help]</strong></td>
206
<td valign="top">viewing the help page</td>
207
<td valign="top"> the help page </td></tr>
210
<p> The "<strong>show private</strong>" and "<strong>hide private</strong>" buttons below
211
the top navigation bar can be used to control whether documentation
212
for private objects is displayed. Private objects are usually defined
213
as objects whose (short) names begin with a single underscore, but do
214
not end with an underscore. For example, "<code>_x</code>",
215
"<code>__pprint</code>", and "<code>epydoc.epytext._tokenize</code>"
216
are private objects; but "<code>re.sub</code>",
217
"<code>__init__</code>", and "<code>type_</code>" are not. However,
218
if a module defines the "<code>__all__</code>" variable, then its
219
contents are used to decide which objects are private. </p>
221
<p> A timestamp below the bottom navigation bar indicates when each
222
page was last updated. </p>
223
<!-- ==================== NAVIGATION BAR ==================== -->
224
<table class="navbar" border="0" width="100%" cellpadding="0"
225
bgcolor="#a0c0ff" cellspacing="0">
228
<th> <a
229
href="example-module.html">Home</a> </th>
232
<th> <a
233
href="module-tree.html">Trees</a> </th>
236
<th> <a
237
href="identifier-index.html">Indices</a> </th>
240
<th bgcolor="#70b0f0" class="navbar-select"
241
> Help </th>
243
<th class="navbar" width="100%"></th>
246
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
248
<td align="left" class="footer">
249
Generated by Epydoc 3.0beta1 on Tue Jan 22 00:26:36 2008
251
<td align="right" class="footer">
252
<a target="mainFrame" href="http://epydoc.sourceforge.net"
253
>http://epydoc.sourceforge.net</a>
258
<script type="text/javascript">
260
// Private objects are initially displayed (because if
261
// javascript is turned off then we want them to be
262
// visible); but by default, we want to hide them. So hide
263
// them unless we have a cookie that says to show them.