AZURE-COSMOS(1)
π AZURE-COSMOS π
okay bestie, sit down, hydrate, and let me tell you about azure-cosmos β this is the azure-cosmos 3.1.1 situation, and it's lowkey a whole universe of Python modules. this is the azure-cosmos manual page (section 1 of the manual, iykyk) and we're gonna go through every single thing in it together. no skimming. we're eating this whole plate. πβ¨
πΈ SYSTEM REQUIREMENTS: πΈ
the supported Python versions are 2.7, 3.3, 3.4 and 3.5. that's the list, no cap. 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.
ngl if you're on Visual Studio, you need that PTVS thing. it's giving "prerequisite" energy. don't skip it. π
β¨ INSTALLATION: β¨
two methods, bestie. pick your fighter. π
Method 1: π¦
- Download the Azure Cosmos Python SDK source from
https://github.com/Azure/azure-cosmos-pythonwhich is needed to manage the Azure Cosmos database service. - Execute the following setup script in bash shell:
$ python setup.py install
Method 2: π
- Install the Azure Cosmos Python SDK using pip. For more information on pip, please visit
https://pypi.python.org/pypi/pip - 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.
the way that Test Explorer just handles it for you?? main character energy fr fr. π
π TO GENERATE DOCUMENTATIONS: π
install Sphinx: http://sphinx-doc.org/install.html
$ cd doc
$ sphinx-apidoc -f -e -o api ..\azure
$ make.bat html
then you get the good stuff:
- Index
- Module Index
- Search Page
π COSMOS π
here's the whole map of the cosmos kingdom, every package, every subpackage, every module. don't scroll past, bestie, this is the whole itinerary. πΊοΈ
cosmospackage- Subpackages
cosmos.execution_contextpackage- Submodules
cosmos.execution_context.aggregatorsmodulecosmos.execution_context.base_execution_contextmodulecosmos.execution_context.document_producermodulecosmos.execution_context.endpoint_componentmodulecosmos.execution_context.execution_dispatchermodulecosmos.execution_context.multi_execution_aggregatormodulecosmos.execution_context.query_execution_infomodule
- Module contents
- Submodules
cosmos.routingpackage- Submodules
cosmos.routing.collection_routing_mapmodulecosmos.routing.routing_map_providermodulecosmos.routing.routing_rangemodule
- Module contents
- Submodules
- Submodules
cosmos.authmodulecosmos.basemodulecosmos.consistent_hash_ringmodulecosmos.constantsmodulecosmos.cosmos_clientmodulecosmos.default_retry_policymodulecosmos.documentsmodulecosmos.endpoint_discovery_retry_policymodulecosmos.errorsmodulecosmos.global_endpoint_managermodulecosmos.hash_partition_resolvermodulecosmos.http_constantsmodulecosmos.location_cachemodulecosmos.murmur_hashmodulecosmos.partitionmodulecosmos.query_iterablemodulecosmos.rangemodulecosmos.range_partition_resolvermodulecosmos.request_objectmodulecosmos.resource_throttle_retry_policymodulecosmos.retry_optionsmodulecosmos.retry_utilitymodulecosmos.runtime_constantsmodulecosmos.sessionmodulecosmos.session_retry_policymodulecosmos.synchronized_requestmodulecosmos.utilsmodulecosmos.vector_session_tokenmodule
- Module contents
π«Ά AUTHOR π«Ά
unknown
not the author being a mystery?? it's giving elusive. we respect the privacy tho. π
π COPYRIGHT π
2022, Microsoft
and that's the whole page, bestie!! π no notes, we read every line, we left nothing behind. this was azure-cosmos version 3.1.1, dated Nov 01, 2022, manual section 1. slay, you're officially educated on the Azure Cosmos Python SDK π
β¨π¦πΈπ
π¦ where this page comes from
- debian bookworm: python3-azure-cosmos 3.1.1-5 Β· MIT
- ubuntu noble: python3-azure-cosmos 3.1.1-5 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms