跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Azure Cosmos DB SDK for Python

技能 已验证 活跃

Azure Cosmos DB SDK for Python (NoSQL API). Use for document CRUD, queries, containers, and globally distributed data. Triggers: "cosmos db", "CosmosClient", "container", "document", "NoSQL", "partition key".

目的

To enable developers to efficiently perform document CRUD, complex queries, and manage containers within Azure Cosmos DB NoSQL databases using Python.

功能

  • Document Create, Read, Update, Delete (CRUD)
  • Parameterized and optimized queries
  • Container creation with partition key and throughput configuration
  • Asynchronous client operations
  • Detailed error handling for common Cosmos DB exceptions

使用场景

  • Managing data in globally distributed NoSQL databases
  • Implementing data access layers for applications using Azure Cosmos DB
  • Optimizing database queries for performance and cost
  • Setting up and configuring Cosmos DB containers with best practices

非目标

  • Interacting with Cosmos DB Gremlin (Graph) or Table APIs
  • Managing Azure resource provisioning beyond container creation (e.g., VNETs, firewall rules)
  • Providing abstract ORM capabilities over Cosmos DB

实践

  • Data modeling
  • Query optimization
  • Partition key design

先决条件

  • Azure Cosmos DB account endpoint and key (or configured DefaultAzureCredential)
  • Python 3.7+
  • Install `azure-cosmos` and `azure-identity` packages

Documentation

  • info:Configuration & parameter referenceEnvironment variables for endpoint, database, and container are listed, but the precedence order of configuration files is not explicitly detailed beyond environment variables.

Scope

  • info:Tool surface sizeThe skill likely exposes several operations for Cosmos DB, but the exact count is not explicitly listed. It appears to be focused and not excessively large.

安装

请先添加 Marketplace

/plugin marketplace add microsoft/skills
/plugin install azure-sdk-python@skills

质量评分

已验证
97 /100
1 day ago 分析

信任信号

最近提交1 day ago
星标2.3k
许可证MIT
状态
查看源代码

类似扩展

Azure Servicebus Py

100

Azure Service Bus SDK for Python messaging. Use for queues, topics, subscriptions, and enterprise messaging patterns. Triggers: "service bus", "ServiceBusClient", "queue", "topic", "subscription", "message broker".

技能
microsoft

Azure Monitor Query Py

100

Azure Monitor Query SDK for Python. Use for querying Log Analytics workspaces and Azure Monitor metrics. Triggers: "azure-monitor-query", "LogsQueryClient", "MetricsQueryClient", "Log Analytics", "Kusto queries", "Azure metrics".

技能
microsoft

Azure Container Registry SDK for Python

100

Azure Container Registry SDK for Python. Use for managing container images, artifacts, and repositories. Triggers: "azure-containerregistry", "ContainerRegistryClient", "container images", "docker registry", "ACR".

技能
microsoft

Azure App Configuration SDK for Python

100

Azure App Configuration SDK for Python. Use for centralized configuration management, feature flags, and dynamic settings. Triggers: "azure-appconfiguration", "AzureAppConfigurationClient", "feature flags", "configuration", "key-value settings".

技能
microsoft

Azure Postgres Ts

100

Connect to Azure Database for PostgreSQL Flexible Server from Node.js/TypeScript using the pg (node-postgres) package. Use for PostgreSQL queries, connection pooling, transactions, and Microsoft Entra ID (passwordless) authentication. Triggers: "PostgreSQL", "postgres", "pg client", "node-postgres", "Azure PostgreSQL connection", "PostgreSQL TypeScript", "pg Pool", "passwordless postgres".

技能
microsoft

Azure Ai Document Intelligence Dotnet

100

Azure AI Document Intelligence SDK for .NET. Extract text, tables, and structured data from documents using prebuilt and custom models. Use for invoice processing, receipt extraction, ID document analysis, and custom document models. Triggers: "Document Intelligence", "DocumentIntelligenceClient", "form recognizer", "invoice extraction", "receipt OCR", "document analysis .NET".

技能
microsoft