---
name: "azure-cosmos"
section: "1"
platform: "linux"
package: "python3-azure-cosmos"
version: "3.1.1-5"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/azure-cosmos"
---

# azure-cosmos(1)

azure-cosmos 3.1.1

## 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
```

- •

  *Index*

- •

  *Module Index*

- •

  *Search Page*

## 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

## AUTHOR

unknown

## COPYRIGHT

2022, Microsoft
