azure-cosmos - azure-cosmos 3.1.1
Contents
Copyright
2022, Microsoft
3.1.1 Nov 01, 2022 AZURE-COSMOS(1)
Cosmos
cosmospackageSubpackagescosmos.execution_contextpackageSubmodulescosmos.execution_context.aggregatorsmodulecosmos.execution_context.base_execution_contextmodulecosmos.execution_context.document_producermodulecosmos.execution_context.endpoint_componentmodulecosmos.execution_context.execution_dispatchermodulecosmos.execution_context.multi_execution_aggregatormodulecosmos.execution_context.query_execution_infomoduleModulecontentscosmos.routingpackageSubmodulescosmos.routing.collection_routing_mapmodulecosmos.routing.routing_map_providermodulecosmos.routing.routing_rangemoduleModulecontentsSubmodulescosmos.authmodulecosmos.basemodulecosmos.consistent_hash_ringmodulecosmos.constantsmodulecosmos.cosmos_clientmodulecosmos.default_retry_policymodulecosmos.documentsmodulecosmos.endpoint_discovery_retry_policymodulecosmos.errorsmodulecosmos.global_endpoint_managermodulecosmos.hash_partition_resolvermodulecosmos.http_constantsmodulecosmos.location_cachemodulecosmos.murmur_hashmodulecosmos.partitionmodulecosmos.query_iterablemodulecosmos.rangemodulecosmos.range_partition_resolvermodulecosmos.request_objectmodulecosmos.resource_throttle_retry_policymodulecosmos.retry_optionsmodulecosmos.retry_utilitymodulecosmos.runtime_constantsmodulecosmos.sessionmodulecosmos.session_retry_policymodulecosmos.synchronized_requestmodulecosmos.utilsmodulecosmos.vector_session_tokenmoduleModulecontents
Installation:
Method 1:
1. Download the Azure Cosmos Python SDK source from https://github.com/Azure/azure-cosmos-python which
is needed to manage the Azure Cosmos database service.
2. Execute the following setup script in bash shell:
$ python setup.py install
Method 2:
1. Install the Azure Cosmos Python SDK using pip. For more information on pip, please visit
https://pypi.python.org/pypi/pip
2. Execute the following in bash shell:
$ pip install azure-cosmos
Name
azure-cosmos - azure-cosmos 3.1.1
System Requirements:
The supported Python versions are 2.7, 3.3, 3.4 and 3.5. To download Python, please visit
https://www.python.org/download/releases.
Python Tools for Visual Studio is required when using Microsoft Visual Studio to develop Python
applications. To download Python Tools for Visual Studio, please visit
http://microsoft.github.io/PTVS.
To Generate Documentations:
Install Sphinx: http://sphinx-doc.org/install.html
$ cd doc
$ sphinx-apidoc -f -e -o api ..\azure
$ make.bat html
• Index
• ModuleIndex
• SearchPageTo Run Tests:
$ python -m unittest discover -s .\test -p "*.py"
If you use Microsoft Visual Studio, open the project file python.pyproj, and run all the tests in Test
Explorer.
