cosmos-nosql-service-layer
DevOps & InfrastructureBuilds a Python persistence layer over Azure Cosmos DB for NoSQL using the azure-cosmos SDK with FastAPI and Pydantic. Covers environment-driven connection setup with DefaultAzureCredential for cloud accounts and key auth for the local emulator, a one-time container module whose blocking SDK calls run in a threadpool, tiered Pydantic models, CRUD service classes with defined outage defaults, partition key selection, parameterized queries, and pytest-first testing against a mocked container. Use when the user wants Cosmos DB NoSQL storage wired into a Python or FastAPI application, asks for a document repository or CRUD service class, needs partition key or document modelling guidance, or wants unit tests for Cosmos-backed services. Not for other languages or SDKs, the MongoDB or Table APIs, or provisioning and scaling accounts with infrastructure tooling.
- Version
- v1.0.0
- Size
- 25 KB
- Updated
- 2026-10-06
$ skilvault read --manual cosmos-nosql-service-layerYour client verifies the signature before reading. This explicit manual read is available on every plan. Free automatically loads five chosen skills; paid plans automatically load relevant skills across the library.