Provided by: python3-azure-cosmos_3.1.1-3_all
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.
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
TO 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.
TO GENERATE DOCUMENTATIONS:
Install Sphinx: http://sphinx-doc.org/install.html $ cd doc $ sphinx-apidoc -f -e -o api ..\azure $ make.bat html • genindex • modindex • search
COSMOS
cosmos package Subpackages cosmos.execution_context package Submodules cosmos.execution_context.aggregators module cosmos.execution_context.base_execution_context module cosmos.execution_context.document_producer module cosmos.execution_context.endpoint_component module cosmos.execution_context.execution_dispatcher module cosmos.execution_context.multi_execution_aggregator module cosmos.execution_context.query_execution_info module Module contents cosmos.routing package Submodules cosmos.routing.collection_routing_map module cosmos.routing.routing_map_provider module cosmos.routing.routing_range module Module contents Submodules cosmos.auth module cosmos.base module cosmos.consistent_hash_ring module cosmos.constants module cosmos.cosmos_client module cosmos.default_retry_policy module cosmos.documents module cosmos.endpoint_discovery_retry_policy module cosmos.errors module cosmos.global_endpoint_manager module cosmos.hash_partition_resolver module cosmos.http_constants module cosmos.location_cache module cosmos.murmur_hash module cosmos.partition module cosmos.query_iterable module cosmos.range module cosmos.range_partition_resolver module cosmos.request_object module cosmos.resource_throttle_retry_policy module cosmos.retry_options module cosmos.retry_utility module cosmos.runtime_constants module cosmos.session module cosmos.session_retry_policy module cosmos.synchronized_request module cosmos.utils module cosmos.vector_session_token module Module contents
COPYRIGHT
2020, Microsoft