--- id: pydocumentdb version: "2.3.5" license: MIT license_treatment: permissive maintenance: abandoned --- # pydocumentdb — Azure DocumentDB Python SDK License: permissive · Maintenance: abandoned · Downloads: 226.6K/mo ## 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 above — verify before relying. Python client library for interacting with Azure Cosmos DB SQL API, providing document storage, querying, and management capabilities. 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 pip install pydocumentdb uv add pydocumentdb poetry add pydocumentdb ## Installing pydocumentdb 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. 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') Package is officially retired as of August 20, 2020; use azure-cosmos instead for any new or ongoing work. 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: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 226.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags azure cosmos db python client, documentdb sdk python, azure document database, nosql database python, cosmos db sql api, deprecated, azure, retired [View on SkillFed](https://skillfed.io/packages/pydocumentdb) · [View on PyPI](https://pypi.org/project/pydocumentdb/)