types-psycopg22.9.21.20250318
types-psycopg22.9.21.20250318
Published
Typing stubs for psycopg2
pip install types-psycopg2
Package Downloads
Authors
Project URLs
Requires Python
>=3.9
Dependencies
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,
Pyre,
PyCharm, etc. to check code that uses psycopg2
. This version of
types-psycopg2
aims to provide accurate annotations for
psycopg2~=2.9.10
.
This package is part of the typeshed project.
All fixes for types and metadata should be contributed there.
See the README
for more details. The source for this package can be found in the
stubs/psycopg2
directory.
This package was tested with
mypy 1.15.0,
pyright 1.1.396,
and pytype 2024.10.11.
It was generated from typeshed commit
b93eae52affaedfda79c00f662f50a2ef3b24c46
.