Azure Cosmos DB Python SDK 2.0.0 supports Python 3
Tanggal dipublikasikan: 03 Oktober, 2016
The Azure Cosmos DB Python SDK now supports Python 3. The SDK previously supported Python 2.7, but support now includes Python 3.3, Python 3.4, and Python 3.5 along with it.
The new Azure Cosmos DB Python SDK 2.0.0 also includes a few more upgrades. Connection pooling is now built in, so calls to the same host are added to the same session. This saves the cost of creating a new connection for each request. We also added a few enhancements to database consistency level support. And we added TOP and ORDER BY support for cross-partition queries, so you can retrieve the top results from multiple partitions and order those results based on the property that you specify.
To download the SDK, get the latest release notes, and browse to the API reference content, go to the Azure Cosmos DB Python SDK page.