Contents

psycopg2 2.9.11

0

psycopg2 - Python-PostgreSQL Database Adapter

psycopg2 - Python-PostgreSQL Database Adapter

Stars: 3615, Watchers: 3615, Forks: 528, Open Issues: 21

The psycopg/psycopg2 repo was created 13 years ago and the last code push was 2 weeks ago.
The project is very popular with an impressive 3615 github stars!

How to Install psycopg2

You can install psycopg2 using pip

pip install psycopg2

or add it to a project with poetry

poetry add psycopg2

Package Details

Author
Federico Di Gregorio
License
LGPL with exceptions
Homepage
https://psycopg.org/
PyPi:
https://pypi.org/project/psycopg2/
Documentation:
https://www.psycopg.org/docs/
GitHub Repo:
https://github.com/psycopg/psycopg2

Classifiers

  • Database
  • Database/Front-Ends
  • Software Development
  • Software Development/Libraries/Python Modules
No  psycopg2  pypi packages just yet.

Errors

A list of common psycopg2 errors.

Code Examples

Here are some psycopg2 code examples and snippets.

GitHub Issues

The psycopg2 package has 21 open issues on GitHub

  • Namespacing shared libraries to avoid name clashes
  • The code ambiguity regarding "rowcount" in the "curs_executemany" function

See more issues on GitHub

Related Packages & Articles