pydocumentdb
Azure DocumentDB Python SDK
Decision gist · record as of 2026-08-14
No. Do not install for new projects. The package is officially retired and unsupported. Use azure-cosmos instead. Only consider installing if you are maintaining legacy code that already depends on it and cannot be migrated immediately, but plan a migration path.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Package is officially retired as of August 20, 2020; use azure-cosmos instead for any new or ongoing work.
- Low install friction, but the package is abandoned as of 2019-10-01 and officially retired.
- The repository is archived with no further updates planned.
License · maintenance · safety
MIT (permissive) — MIT license permits permissive use, modification, and distribution with minimal restrictions, but this does not offset the package's retirement status.
last release 2019-10-01 (2509 days) · last repo commit 2022-12-24 · 150 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 226,598 downloads/mo, #9,198 on PyPI
Alternatives
Verify before relying
pip install pydocumentdb==2.3.5
from pydocumentdb import document_client
client = document_client.DocumentClient('https://account.documents.azure.com/', {'masterKey': 'key'})
db = client.ReadDatabase('dbs/mydb')- Current compatibility with modern Azure Cosmos DB service versions and API changes since 2019-10-01
- Whether any security patches have been backported after the official retirement date
- Exact end-of-life timeline and support guarantees from Microsoft
What it is and what it does
pydocumentdb is a Python SDK for Azure Cosmos DB's SQL API, enabling developers to create, read, update, and delete documents in a NoSQL database. It supports partitioned collections, session consistency, aggregation queries, and connection pooling.
However, this package is deprecated and officially retired as of August 20, 2020. Microsoft has replaced it with azure-cosmos, which is the only supported option for new projects and ongoing maintenance. The repository is archived, and no further updates are planned.
Use it for
- Legacy application maintenance: keeping existing code running that was built against pydocumentdb before the retirement date
- Migration planning: understanding what needs to be ported when upgrading from pydocumentdb to azure-cosmos
- Historical reference: studying the SDK's design patterns from its final release before the transition to azure-cosmos
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
Do not install for new projects. The package is officially retired and unsupported. Use azure-cosmos instead. Only consider installing if you are maintaining legacy code that already depends on it and cannot be migrated immediately, but plan a migration path.
Install
pydocumentdb on PyPI
Before you install
Low install friction, but the package is abandoned as of 2019-10-01 and officially retired. The repository is archived with no further updates planned.
Package is officially retired as of August 20, 2020; use azure-cosmos instead for any new or ongoing work.
License in practice
MIT license permits permissive use, modification, and distribution with minimal restrictions, but this does not offset the package's retirement status.
Quickstart
pip install pydocumentdb==2.3.5
from pydocumentdb import document_client
client = document_client.DocumentClient('https://account.documents.azure.com/', {'masterKey': 'key'})
db = client.ReadDatabase('dbs/mydb')
Verify before relying
- Current compatibility with modern Azure Cosmos DB service versions and API changes since 2019-10-01
- Whether any security patches have been backported after the official retirement date
- Exact end-of-life timeline and support guarantees from Microsoft
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 2,509 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 226,598 / month, #9,198 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Libraries :: Python Modules |
Evidence: pydocumentdb-2.3.5-py2-none-any.whl; pydocumentdb-2.3.5-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “documentdb sdk python”
- pydocumentdbPython client library for interacting with Azure Cosmos DB SQL API,…
- mypy-boto3-docdbProvides type annotations and IDE autocomplete support for boto3's…
- ringcentralPython SDK for accessing RingCentral's cloud communications platform,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also azure-cosmos · azure-mgmt-cosmosdb · agent-framework-azure-cosmos · azure-data-tables · azure-mgmt-sql · ibmcloudant · azure-mgmt-datamigration · azure-mgmt-reservations · prefect-azure · azure-mgmt-sqlvirtualmachine