diff options
| author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2006-01-12 18:36:57 +0000 |
|---|---|---|
| committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2006-01-12 18:36:57 +0000 |
| commit | 202c002c5c55e3cb046e062d5227b79cad1c6e84 (patch) | |
| tree | d2bea9481ba76b8d97dfa3c4cc1d7b5dff3c7117 /lib/__init__.py | |
| parent | 99ce95b27e3a65c50f6b27d18b851fb27df11d29 (diff) | |
| download | psycopg2-202c002c5c55e3cb046e062d5227b79cad1c6e84.tar.gz | |
* Docstrings added/fixed
* Added __all__ attributes to Python modules to explicit the package API
Diffstat (limited to 'lib/__init__.py')
| -rw-r--r-- | lib/__init__.py | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/__init__.py b/lib/__init__.py index c8da54f..e40caa3 100644 --- a/lib/__init__.py +++ b/lib/__init__.py @@ -1,10 +1,20 @@ """A Python driver for PostgreSQL -psycopg is a PostgreSQL database adapter for the Python programming +psycopg is a PostgreSQL_ database adapter for the Python_ programming language. This is version 2, a complete rewrite of the original code to provide new-style classes for connection and cursor objects and other sweet candies. Like the original, psycopg 2 was written with the aim of being very small and fast, and stable as a rock. + +Homepage: http://initd.org/projects/psycopg2 + +.. _PostgreSQL: http://www.postgresql.org/ +.. _Python: http://www.python.org/ + +:Groups: + * `Connections creation`: connect + * `Value objects constructors`: Binary, Date, DateFromTicks, Time, + TimeFromTicks, Timestamp, TimestampFromTicks """ # psycopg/__init__.py - initialization of the psycopg module # @@ -58,3 +68,5 @@ from _psycopg import NotSupportedError, OperationalError from _psycopg import connect, apilevel, threadsafety, paramstyle from _psycopg import __version__ + +__all__ = [ k for k in locals().keys() if not k.startswith('_') ] |
