Developing a Python app using Azure Cosmos DB
Running this sample
Before you can run this sample, you must have the following prerequisites:
Then, clone this repository using:
git clone https://github.com/Azure-Samples/azure-cosmos-db-python-getting-started.git
Next, substitute the endpoint and primary key in
CosmosGetStarted.pywith your Cosmos DB account's values.
In Visual Studio Code, select View > Integrated terminal to open the visual Studio Code integrated terminal.
In the terminal, run
About the code
The code included in this sample is intended to get you quickly started with a Python application that connects to Azure Cosmos DB with the SQL API.