Skip to main content

Typing stubs for psycopg2

Project description

Typing stubs for psycopg2

This is a PEP 561 type stub package for the psycopg2 package. It can be used by type-checking tools like mypy, pyright, pytype, PyCharm, etc. to check code that uses psycopg2. The source for this package can be found at All fixes for types and metadata should be contributed there.

This stub package is marked as partial. If you find that annotations are missing, feel free to contribute and help complete them.

See for more details. This package was generated from typeshed commit 0ea043253e70d0304478a6d0b58bcda4cc583d08 and was tested with mypy 1.5.1, pyright 1.1.326, and pytype 2023.8.31.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

types-psycopg2- (20.6 kB view hashes)

Uploaded Source

Built Distribution

types_psycopg2- (19.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page