File: index.rst

package info (click to toggle)
azure-cosmos-python 3.1.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,280 kB
  • sloc: python: 11,653; makefile: 155
file content (78 lines) | stat: -rw-r--r-- 1,879 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
.. azure-cosmos documentation master file, created by
   sphinx-quickstart on Fri Jun 27 15:42:45 2014.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.

Azure Cosmos Python SDK
========================================

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:

       .. code-block:: bash

         $ 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:

       .. code-block:: bash

         $ pip install azure-cosmos

To run tests:
-------------

    .. code-block:: bash

      $ 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

    .. code-block:: bash

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


Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

.. toctree::
  :hidden:

  api/azure
  api/modules