Contents

psycopg2 2.9.9

0

psycopg2 - Python-PostgreSQL Database Adapter

psycopg2 - Python-PostgreSQL Database Adapter

Stars: 3223, Watchers: 3223, Forks: 497, Open Issues: 27

The psycopg/psycopg2 repo was created 11 years ago and the last code push was 2 weeks ago.
The project is very popular with an impressive 3223 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 27 open issues on GitHub

  • Add note about supported Python versions in install page
  • sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) SCRAM authentication requires libpq version 10 or above
  • psycopg2-binary support for M1 chipset
  • Concurrent connection problems with use of poll
  • (Django)(MAC Big Sur 11.0.1) ImportError: dlopen

See more issues on GitHub

Related Packages & Articles