Skip to main content

Azure DocumentDB Python SDK

Project description

This is the README of the Python driver for Microsoft Azure DocumentDB database service.

Welcome to DocumentDB.


0) Pre-requirements:

Python 2.7, Python 3.3, Python 3.4, or Python 3.5
https://www.python.org/download/releases

If you use Microsoft Visual Studio as IDE (we use 2015), please install the
following extension for Python.
http://microsoft.github.io/PTVS/


1) Installation:

$ python setup.py install

or

$ pip install pydocumentdb


2) Testing:

Most of the test files under test sub-folder require you to enter your Azure DocumentDB master key and host endpoint:

masterKey = '[YOUR_KEY_HERE]'
host = '[YOUR_ENDPOINT_HERE]'

To run the 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.

**Note:**
Most of the test cases create collections in your DocumentDB account. Collections are billing entities. By running these test cases, you may incur monetary costs on your account.


3) To generate documentations:

Install Sphinx: http://sphinx-doc.org/install.html

$ cd doc
$ sphinx-apidoc -f -e -o api ..\pydocumentdb
$ make.bat html

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydocumentdb-2.2.0.tar.gz (95.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pydocumentdb-2.2.0-py2-none-any.whl (87.8 kB view details)

Uploaded Python 2

File details

Details for the file pydocumentdb-2.2.0.tar.gz.

File metadata

  • Download URL: pydocumentdb-2.2.0.tar.gz
  • Upload date:
  • Size: 95.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pydocumentdb-2.2.0.tar.gz
Algorithm Hash digest
SHA256 41a2c8becd2cb824433cebc0e955a96e84470e3bbd53474838002c90e9a1de71
MD5 ba1f0a40d6f8497377511fd369f4c241
BLAKE2b-256 979e25c9b309c34f3395f62b4eaafb629d594d5cfb17a663d64561712b97a424

See more details on using hashes here.

File details

Details for the file pydocumentdb-2.2.0-py2-none-any.whl.

File metadata

File hashes

Hashes for pydocumentdb-2.2.0-py2-none-any.whl
Algorithm Hash digest
SHA256 e2caef6f001eec0e1ff09a6b6cf0925e3b20eae277f54166979b577a5b7ed62c
MD5 2ff63ca82bcad083b89c71f4958a408b
BLAKE2b-256 c264ab1d35d694c6abb877562f7cff22bc95e871a23aac2f412acc1ae65c12ff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page