Zum Inhalt springen
Kitbay
SkillOffiziellWork in Progress

azure-cosmos-py

MITAktualisiert am 10. Nov. 20263.193GitHub-Sterne

A Microsoft skill for Python code that uses the azure-cosmos package against the Cosmos DB NoSQL API.

Was der Skill vermittelt

A Microsoft skill for Python code that uses the azure-cosmos package against the Cosmos DB NoSQL API. It explains the client, database and container hierarchy, setting up databases and containers, creating, reading, replacing, upserting and deleting items, single-partition and cross-partition queries with projections, reading all items, partition keys, throughput settings, the asynchronous client and error handling. It needs a Cosmos DB endpoint and Entra ID credentials or a key.

Funktionen

  • Create Cosmos DB databases and containers from Python
  • Create, read, upsert and delete items
  • Run single- and cross-partition queries
  • Set container throughput