Where is the documentation for psycopg2?

K

kj

Hi. I can't find any documentation for psycopg2.

I'm a noob, so I'm sure I'm just not looking in the right place...

Anybody know where it is?

TIA!

kynn
 
M

Matthew Woodcraft

kj said:
Hi. I can't find any documentation for psycopg2.

I'm a noob, so I'm sure I'm just not looking in the right place...

Anybody know where it is?

For basic use, psycopg2 follows the dbapi, which is described in
http://www.python.org/dev/peps/pep-0249/

Additional features are described in doc/extensions.rst in the psycopg2
tarball.

This leaves a gap for documentation of the basic features which the
dbapi doesn't nail down (in particular, connecting to a database in the
first place). I don't think there is any proper documentation covering
this, but the scripts in examples/ (particularly simple.py) should make
it reasonably clear.

-M-
 
K

kj

For basic use, psycopg2 follows the dbapi, which is described in
http://www.python.org/dev/peps/pep-0249/
Additional features are described in doc/extensions.rst in the psycopg2
tarball.
This leaves a gap for documentation of the basic features which the
dbapi doesn't nail down (in particular, connecting to a database in the
first place). I don't think there is any proper documentation covering
this, but the scripts in examples/ (particularly simple.py) should make
it reasonably clear.

That's very helpful. I would have never found it on my own. Thanks!

kynn
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top