https://github.com/azure-samples/cosmos-db-table-python-quickstart
Quickstart application template for Azure Cosmos DB for Table and Python
https://github.com/azure-samples/cosmos-db-table-python-quickstart
azd-templates azure azure-dev cosmos-db python
Last synced: 4 months ago
JSON representation
Quickstart application template for Azure Cosmos DB for Table and Python
- Host: GitHub
- URL: https://github.com/azure-samples/cosmos-db-table-python-quickstart
- Owner: Azure-Samples
- License: mit
- Created: 2024-10-10T12:13:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-30T02:08:38.000Z (over 1 year ago)
- Last Synced: 2025-03-29T11:51:40.688Z (about 1 year ago)
- Topics: azd-templates, azure, azure-dev, cosmos-db, python
- Language: Bicep
- Homepage: https://learn.microsoft.com/azure/cosmos-db/table/quickstart-python
- Size: 189 KB
- Stars: 0
- Watchers: 10
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# Quickstart: Azure Cosmos DB for Table - Azure SDK for Python
This is a simple Flask web application to illustrate common basic usage of Azure Cosmos DB for Table with the Azure SDK for Python.
## Prerequisites
- [Docker](https://www.docker.com/)
- [Azure Developer CLI](https://aka.ms/azd-install)
- [Python 3.12](https://www.python.org/downloads/)
## Quickstart
1. Log in to Azure Developer CLI. *This is only required once per-install.*
```bash
azd auth login
```
1. Initialize this template (`cosmos-db-table-python-quickstart`) using `azd init`
```bash
azd init --template cosmos-db-table-python-quickstart
```
1. Ensure that **Docker** is running in your environment.
1. Use `azd up` to provision your Azure infrastructure and deploy the web application to Azure.
```bash
azd up
```
1. Observed the deployed web application
