1
<?xml version="1.0" encoding="utf-8"?>
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">
10
function setFrame(url1, url2){
11
parent.frames[1].location.href = url1;
12
parent.frames[2].location.href = url2;
17
<body bgcolor="white" text="black" link="blue" vlink="#204080"
20
<!-- =========== START OF NAVBAR =========== -->
21
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
23
<th class="navbar"> <a class="navbar" href="psycopg2-module.html">Home</a> </th>
24
<th class="navbar"> <a class="navbar" href="trees.html">Trees</a> </th>
25
<th class="navbar"> <a class="navbar" href="indices.html">Index</a> </th>
26
<th bgcolor="#70b0f0" class="navselect"> Help </th>
27
<th class="navbar" width="100%"></th>
30
<table width="100%" cellpadding="0" cellspacing="0">
34
<td><table cellpadding="0" cellspacing="0">
35
<tr><td align="right"><span class="options">[show private | <a href="../public/help.html">hide private</a>]</span></td></tr>
36
<tr><td align="right"><span class="options">[<a href="frames.html" target="_top">frames</a> | <a href="help.html" target="_top">no frames</a>]</span></td></tr>
40
<h1 class="help"> API Documentation </h1>
42
<p> This document contains the API (Application Programming Interface)
43
documentation for this project. Documentation for the Python
44
objects defined by the project is divided into separate pages for each
45
package, module, and class. The API documentation also includes two
46
pages containing information about the project as a whole: a trees
47
page, and an index page. </p>
49
<h2> Object Documentation </h2>
51
<p>Each <strong>Package Documentation</strong> page contains: </p>
53
<li> A description of the package. </li>
54
<li> A list of the modules and sub-packages contained by the
56
<li> A summary of the classes defined by the package. </li>
57
<li> A summary of the functions defined by the package. </li>
58
<li> A summary of the variables defined by the package. </li>
59
<li> A detailed description of each function defined by the
61
<li> A detailed description of each variable defined by the
65
<p>Each <strong>Module Documentation</strong> page contains:</p>
67
<li> A description of the module. </li>
68
<li> A summary of the classes defined by the module. </li>
69
<li> A summary of the functions defined by the module. </li>
70
<li> A summary of the variables defined by the module. </li>
71
<li> A detailed description of each function defined by the
73
<li> A detailed description of each variable defined by the
77
<p>Each <strong>Class Documentation</strong> page contains: </p>
79
<li> A class inheritance diagram. </li>
80
<li> A list of known subclasses. </li>
81
<li> A description of the class. </li>
82
<li> A summary of the methods defined by the class. </li>
83
<li> A summary of the instance variables defined by the class. </li>
84
<li> A summary of the class (static) variables defined by the
86
<li> A detailed description of each method defined by the
88
<li> A detailed description of each instance variable defined by the
90
<li> A detailed description of each class (static) variable defined
94
<h2> Project Documentation </h2>
96
<p> The <strong>Trees</strong> page contains the module and class hierarchies: </p>
98
<li> The <em>module hierarchy</em> lists every package and module, with
99
modules grouped into packages. At the top level, and within each
100
package, modules and sub-packages are listed alphabetically. </li>
101
<li> The <em>class hierarchy</em> lists every class, grouped by base
102
class. If a class has more than one base class, then it will be
103
listed under each base class. At the top level, and under each base
104
class, classes are listed alphabetically. </li>
107
<p> The <strong>Index</strong> page contains indices of terms and
110
<li> The <em>term index</em> lists every term indexed by any object's
111
documentation. For each term, the index provides links to each
112
place where the term is indexed. </li>
113
<li> The <em>identifier index</em> lists the (short) name of every package,
114
module, class, method, function, variable, and parameter. For each
115
identifier, the index provides a short description, and a link to
116
its documentation. </li>
119
<h2> The Table of Contents </h2>
121
<p> The table of contents occupies the two frames on the left side of
122
the window. The upper-left frame displays the <em>project
123
contents</em>, and the lower-left frame displays the <em>module
126
<table class="help summary" border="1" cellspacing="0" cellpadding="3">
127
<tr style="height: 30%">
128
<td align="center" style="font-size: small">
129
Project<br />Contents<hr />...</td>
130
<td align="center" style="font-size: small" rowspan="2" width="70%">
131
API<br />Documentation<br />Frame<br /><br /><br />
135
<td align="center" style="font-size: small">
136
Module<br />Contents<hr /> <br />...<br />
141
<p> The <strong>project contents frame</strong> contains a list of all packages
142
and modules that are defined by the project. Clicking on an entry
143
will display its contents in the module contents frame. Clicking on a
144
special entry, labeled "Everything," will display the contents of
145
the entire project. </p>
147
<p> The <strong>module contents frame</strong> contains a list of every
148
submodule, class, type, exception, function, and variable defined by a
149
module or package. Clicking on an entry will display its
150
documentation in the API documentation frame. Clicking on the name of
151
the module, at the top of the frame, will display the documentation
152
for the module itself. </p>
154
<p> The "<strong>frames</strong>" and "<strong>no frames</strong>" buttons below the top
155
navigation bar can be used to control whether the table of contents is
156
displayed or not. </p>
158
<h2> The Navigation Bar </h2>
160
<p> A navigation bar is located at the top and bottom of every page.
161
It indicates what type of page you are currently viewing, and allows
162
you to go to related pages. The following table describes the labels
163
on the navigation bar. Note that not some labels (such as
164
[Parent]) are not displayed on all pages. </p>
166
<table class="summary" border="1" cellspacing="0" cellpadding="3" width="100%">
169
<th>Highlighted when...</th>
172
<tr><td valign="top"><strong>[Parent]</strong></td>
173
<td valign="top"><em>(never highlighted)</em></td>
174
<td valign="top"> the parent of the current package </td></tr>
175
<tr><td valign="top"><strong>[Package]</strong></td>
176
<td valign="top">viewing a package</td>
177
<td valign="top">the package containing the current object
179
<tr><td valign="top"><strong>[Module]</strong></td>
180
<td valign="top">viewing a module</td>
181
<td valign="top">the module containing the current object
183
<tr><td valign="top"><strong>[Class]</strong></td>
184
<td valign="top">viewing a class </td>
185
<td valign="top">the class containing the current object</td></tr>
186
<tr><td valign="top"><strong>[Trees]</strong></td>
187
<td valign="top">viewing the trees page</td>
188
<td valign="top"> the trees page </td></tr>
189
<tr><td valign="top"><strong>[Index]</strong></td>
190
<td valign="top">viewing the index page</td>
191
<td valign="top"> the index page </td></tr>
192
<tr><td valign="top"><strong>[Help]</strong></td>
193
<td valign="top">viewing the help page</td>
194
<td valign="top"> the help page </td></tr>
197
<p> The "<strong>show private</strong>" and "<strong>hide private</strong>" buttons below
198
the top navigation bar can be used to control whether documentation
199
for private objects is displayed. Private objects are usually defined
200
as objects whose (short) names begin with a single underscore, but do
201
not end with an underscore. For example, "<code>_x</code>",
202
"<code>__pprint</code>", and "<code>epydoc.epytext._tokenize</code>"
203
are private objects; but "<code>re.sub</code>",
204
"<code>__init__</code>", and "<code>type_</code>" are not. However,
205
if a module defines the "<code>__all__</code>" variable, then its
206
contents are used to decide which objects are private. </p>
208
<p> A timestamp below the bottom navigation bar indicates when each
209
page was last updated. </p>
211
<!-- =========== START OF NAVBAR =========== -->
212
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
214
<th class="navbar"> <a class="navbar" href="psycopg2-module.html">Home</a> </th>
215
<th class="navbar"> <a class="navbar" href="trees.html">Trees</a> </th>
216
<th class="navbar"> <a class="navbar" href="indices.html">Index</a> </th>
217
<th bgcolor="#70b0f0" class="navselect"> Help </th>
218
<th class="navbar" width="100%"></th>
222
<table border="0" cellpadding="0" cellspacing="0" width="100%">
224
<td align="left" class="footer">Generated by Epydoc 2.1 on Sat Jan 14 01:42:37 2006</td>
225
<td align="right" class="footer">
226
<a href="http://epydoc.sourceforge.net">http://epydoc.sf.net</a>