Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 22 days 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 (4 months ago)
- Default Branch: main
- Last Pushed: 2024-11-25T13:41:11.000Z (2 months ago)
- Last Synced: 2024-11-25T14:38:31.542Z (2 months ago)
- Topics: azd-templates, azure, azure-dev, cosmos-db, python
- Language: Bicep
- Homepage: https://learn.microsoft.com/azure/cosmos-db/table/quickstart-python
- Size: 177 KB
- Stars: 0
- Watchers: 10
- Forks: 1
- 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
![Screenshot of the deployed web application.](assets/web.png)