Azure DocumentDB Python SDK
Project description
🚨🚨🚨 The pydocumentdb package for versions 1.x and 2.x of the Azure Cosmos DB Python SDK for SQL API will be retired August 20, 2020. See the release and retirement documentation for more information.
Please use the latest version of the Python SDK with new package name, azure-cosmos.🚨🚨🚨
Changes in 2.3.5 :
- Updated README regarding package deprecation
Changes in 2.3.3 :
- Added support for proxy
- Added support for reading change feed
- Added support for collection quota headers
- Bugfix for large session tokens issue
- Bugfix for ReadMedia API
- Bugfix in partition key range cache
Changes in 2.3.2 :
- Added support for default retries on connection issues.
Changes in 2.3.1 :
- Updated documentation to reference Azure Cosmos DB instead of Azure DocumentDB.
Changes in 2.3.0 :
- This SDK version requires the latest version of Azure Cosmos DB Emulator available for download from https://aka.ms/cosmosdb-emulator.
Changes in 2.2.1 :
- Bugfix for aggregate dict
- Bugfix for trimming slashes in the resource link
- Added tests for unicode encoding
Changes in 2.2.0 :
- Added support for Request Unit per Minute (RU/m) feature.
- Added support for a new consistency level called ConsistentPrefix.
Changes in 2.1.0 :
- Added support for aggregation queries (COUNT, MIN, MAX, SUM, and AVG).
- Added an option for disabling SSL verification when running against DocumentDB Emulator.
- Removed the restriction of dependent requests module to be exactly 2.10.0.
- Lowered minimum throughput on partitioned collections from 10,100 RU/s to 2500 RU/s.
- Added support for enabling script logging during stored procedure execution.
- REST API version bumped to '2017-01-19' with this release.
Changes in 2.0.1 :
- Made editorial changes to documentation comments.
Changes in 2.0.0 :
- Added support for Python 3.5.
- Added support for connection pooling using the requests module.
- Added support for session consistency.
- Added support for TOP/ORDERBY queries for partitioned collections.
Changes in 1.9.0 :
-
Added retry policy support for throttled requests. (Throttled requests receive a request rate too large exception, error code 429.) By default, DocumentDB retries nine times for each request when error code 429 is encountered, honoring the retryAfter time in the response header. A fixed retry interval time can now be set as part of the RetryOptions property on the ConnectionPolicy object if you want to ignore the retryAfter time returned by server between the retries. DocumentDB now waits for a maximum of 30 seconds for each request that is being throttled (irrespective of retry count) and returns the response with error code 429. This time can also be overriden in the RetryOptions property on ConnectionPolicy object.
-
DocumentDB now returns x-ms-throttle-retry-count and x-ms-throttle-retry-wait-time-ms as the response headers in every request to denote the throttle retry count and the cummulative time the request waited between the retries.
-
Removed the RetryPolicy class and the corresponding property (retry_policy) exposed on the document_client class and instead introduced a RetryOptions class exposing the RetryOptions property on ConnectionPolicy class that can be used to override some of the default retry options.
Changes in 1.8.0 :
- Added the support for geo-replicated database accounts.
- Test fixes to move the global host and masterKey into the individual test classes.
Changes in 1.7.0 :
- Added the support for Time To Live(TTL) feature for documents.
Changes in 1.6.1 :
- Bug fixes related to server side partitioning to allow special characters in partitionkey path.
Changes in 1.6.0 :
- Added the support for server side partitioned collections feature.
Changes in 1.5.0 :
- Added Client-side sharding framework to the SDK. Implemented HashPartionResolver and RangePartitionResolver classes.
Changes in 1.4.2 :
- Implement Upsert. New UpsertXXX methods added to support Upsert feature.
- Implement ID Based Routing. No public API changes, all changes internal.
Changes in 1.3.0 :
- Release skipped to bring version number in alignment with other SDKs
Changes in 1.2.0 :
- Supports GeoSpatial index.
- Validates id property for all resources. Ids for resources cannot contain ?, /, #, \, characters or end with a space.
- Adds new header "index transformation progress" to ResourceResponse.
Changes in 1.1.0 :
- Implements V2 indexing policy
Changes in 1.0.1 :
- Supports proxy connection
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file pydocumentdb-2.3.5.tar.gz
.
File metadata
- Download URL: pydocumentdb-2.3.5.tar.gz
- Upload date:
- Size: 107.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.22.0 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e6f072ae516fc061c9442f8ca470463b53dc626f0f6a86ff3a803293f4b50dd |
|
MD5 | bddfc4215655ed20072acb020c213154 |
|
BLAKE2b-256 | 58fac00ff2be2ef04a0eba20217f798193c2c7fe220aed0140e78c3473ecf42f |
File details
Details for the file pydocumentdb-2.3.5-py3-none-any.whl
.
File metadata
- Download URL: pydocumentdb-2.3.5-py3-none-any.whl
- Upload date:
- Size: 93.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.22.0 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6d0722369e65636c5a0635110a7972f6decd2d6f4d35a9ab0864f2da70bd91f |
|
MD5 | 5b3e35f8187f53cb76afc751a1ce5895 |
|
BLAKE2b-256 | 6d9deb3e3aa910491ac01801d54f8f4c1998c593361168279721fa623a811143 |
File details
Details for the file pydocumentdb-2.3.5-py2-none-any.whl
.
File metadata
- Download URL: pydocumentdb-2.3.5-py2-none-any.whl
- Upload date:
- Size: 93.8 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.22.0 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc0ac34f211e18f1add990aedd0eb6e189045096e948de73dccdf71645639591 |
|
MD5 | 1e36294fef23a436b36556eff95aaf4b |
|
BLAKE2b-256 | 58b63534326d7854f3af6113ebf463da20d9f174a0f5b5a81cf31a1397f76bf4 |