Skip to main content

Azure DocumentDB Python SDK

Project description

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

Welcome to DocumentDB.


0) Pre-requirements:

Python 2.7
https://www.python.org/download/releases/2.7

or

Python 3.4
https://www.python.org/download/releases/3.4.5/

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 -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.0.0.zip (145.8 kB view details)

Uploaded Source

Built Distribution

pydocumentdb-2.0.0-py2-none-any.whl (84.3 kB view details)

Uploaded Python 2

File details

Details for the file pydocumentdb-2.0.0.zip.

File metadata

  • Download URL: pydocumentdb-2.0.0.zip
  • Upload date:
  • Size: 145.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pydocumentdb-2.0.0.zip
Algorithm Hash digest
SHA256 38cfec32186465446c306d96ab5f6980cf8a7e912dabbb9d57d626c85ad113c4
MD5 48eff34594905e970cde92b9ecdddd4c
BLAKE2b-256 5ace1130a6a5f8e42ad1335e4280d940772bcd1c5ef3b6c29199623fc4850a49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pydocumentdb-2.0.0-py2-none-any.whl
Algorithm Hash digest
SHA256 9fbd1c6eb3fb09e33dd7893d7c1a81b182cfc68c2a12f29fffe0398d22fba021
MD5 fa76a6bc95007d50850e65560b178812
BLAKE2b-256 a0bc22f728e031dd17837c7d8956b9d5ab6fd9bd828def6f77888bc4a248d001

See more details on using hashes here.

Supported by

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