Pular para o conteúdo
Kitbay
SkillOficialWork in Progress

azure-cosmos-py

MITAtualizado em 18 de nov. de 20263.224Estrelas no GitHub

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

O que a skill ensina

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.

O que faz

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