## Typing stubs for psycopg2
This is a [type stub package](https://typing.python.org/en/latest/tutorials/external_libraries.html)
for the [`psycopg2`](https://github.com/psycopg/psycopg2) package. It can be used by type checkers
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](https://github.com/python/typeshed).
All fixes for types and metadata should be contributed there.
See [the README](https://github.com/python/typeshed/blob/main/README.md)
for more details. The source for this package can be found in the
[`stubs/psycopg2`](https://github.com/python/typeshed/tree/main/stubs/psycopg2)
directory.
This package was tested with the following type checkers:
* [mypy](https://github.com/python/mypy/) 1.18.1
* [pyright](https://github.com/microsoft/pyright) 1.1.405
It was generated from typeshed commit
[`703f7d074ccd3776f20c77eaeb4563a197948ed9`](https://github.com/python/typeshed/commit/703f7d074ccd3776f20c77eaeb4563a197948ed9).
Raw data
{
"_id": null,
"home_page": null,
"name": "types-psycopg2",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/8f/20/3dcb89df8d1661cf6c4c2d9f84d4ba94dde48559cdcf7b536a380a9c387f/types_psycopg2-2.9.21.20250915.tar.gz",
"platform": null,
"description": "## Typing stubs for psycopg2\n\nThis is a [type stub package](https://typing.python.org/en/latest/tutorials/external_libraries.html)\nfor the [`psycopg2`](https://github.com/psycopg/psycopg2) package. It can be used by type checkers\nto check code that uses `psycopg2`. This version of\n`types-psycopg2` aims to provide accurate annotations for\n`psycopg2~=2.9.10`.\n\nThis package is part of the [typeshed project](https://github.com/python/typeshed).\nAll fixes for types and metadata should be contributed there.\nSee [the README](https://github.com/python/typeshed/blob/main/README.md)\nfor more details. The source for this package can be found in the\n[`stubs/psycopg2`](https://github.com/python/typeshed/tree/main/stubs/psycopg2)\ndirectory.\n\nThis package was tested with the following type checkers:\n* [mypy](https://github.com/python/mypy/) 1.18.1\n* [pyright](https://github.com/microsoft/pyright) 1.1.405\n\nIt was generated from typeshed commit\n[`703f7d074ccd3776f20c77eaeb4563a197948ed9`](https://github.com/python/typeshed/commit/703f7d074ccd3776f20c77eaeb4563a197948ed9).\n",
"bugtrack_url": null,
"license": null,
"summary": "Typing stubs for psycopg2",
"version": "2.9.21.20250915",
"project_urls": {
"Changes": "https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/psycopg2.md",
"Chat": "https://gitter.im/python/typing",
"GitHub": "https://github.com/python/typeshed",
"Homepage": "https://github.com/python/typeshed",
"Issue tracker": "https://github.com/python/typeshed/issues"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "934debf1c72809a30150ad142074e1ad5101304f7569c0df2fa872906d76d0af",
"md5": "439fffd3da5f5b025b822e714e222565",
"sha256": "eefe5ccdc693fc086146e84c9ba437bb278efe1ef330b299a0cb71169dc6c55f"
},
"downloads": -1,
"filename": "types_psycopg2-2.9.21.20250915-py3-none-any.whl",
"has_sig": false,
"md5_digest": "439fffd3da5f5b025b822e714e222565",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 24868,
"upload_time": "2025-09-15T03:01:07",
"upload_time_iso_8601": "2025-09-15T03:01:07.613949Z",
"url": "https://files.pythonhosted.org/packages/93/4d/ebf1c72809a30150ad142074e1ad5101304f7569c0df2fa872906d76d0af/types_psycopg2-2.9.21.20250915-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "8f203dcb89df8d1661cf6c4c2d9f84d4ba94dde48559cdcf7b536a380a9c387f",
"md5": "1f867ece6e24f964edd0a48907f8ee3e",
"sha256": "bfeb8f54c32490e7b5edc46215ab4163693192bc90407b4a023822de9239f5c8"
},
"downloads": -1,
"filename": "types_psycopg2-2.9.21.20250915.tar.gz",
"has_sig": false,
"md5_digest": "1f867ece6e24f964edd0a48907f8ee3e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 26678,
"upload_time": "2025-09-15T03:01:08",
"upload_time_iso_8601": "2025-09-15T03:01:08.863593Z",
"url": "https://files.pythonhosted.org/packages/8f/20/3dcb89df8d1661cf6c4c2d9f84d4ba94dde48559cdcf7b536a380a9c387f/types_psycopg2-2.9.21.20250915.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-15 03:01:08",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "typeshed-internal",
"github_project": "stub_uploader",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "packaging",
"specs": []
},
{
"name": "requests",
"specs": [
[
"<",
"2.30.0"
]
]
},
{
"name": "tomli",
"specs": []
},
{
"name": "build",
"specs": []
},
{
"name": "setuptools",
"specs": [
[
">=",
"77.0.3"
]
]
},
{
"name": "twine",
"specs": []
},
{
"name": "mypy",
"specs": []
},
{
"name": "pytest",
"specs": []
},
{
"name": "types-requests",
"specs": []
},
{
"name": "black",
"specs": [
[
"<",
"25"
],
[
">=",
"24.1.1"
]
]
}
],
"lcname": "types-psycopg2"
}