Azure cosmos py vs Azure cosmos ts
Azure cosmos py is an open-source agent skill for cloud and infrastructure. Azure cosmos ts is an open-source agent skill for cloud and infrastructure.
- Azure cosmos py is best for write a python function that saves and retrieves documents in a cosmos db container.
- Azure cosmos ts is best for write a typescript service that stores and retrieves documents in cosmos db.
- What it is
- Azure cosmos py is an open-source agent skill for cloud and infrastructure.Azure cosmos ts is an open-source agent skill for cloud and infrastructure.
- Best for
- Write a Python function that saves and retrieves documents in a Cosmos DB containerWrite a TypeScript service that stores and retrieves documents in Cosmos DB
- Kind
- SkillSkill
- Pricing
- Open sourceOpen source
- Platforms
- Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, GooseClaude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- GitHub stars
- 3.2K3.2K
- Last commit
- Nov 2026Nov 2026
- License
- MITMIT
- Open source
- Good for
- Write a Python function that saves and retrieves documents in a Cosmos DB container; Design a partition key for an orders container with even data distribution; Query Cosmos DB items with parameters scoped to a single partitionWrite a TypeScript service that stores and retrieves documents in Cosmos DB; Add bulk import or update logic for many Cosmos DB items; Build a parameterized query to filter items by category and price
What Azure cosmos py does
Client and auth setup
Shows how to create sync and async Cosmos clients using DefaultAzureCredential and context managers.
Item CRUD operations
Covers creating, reading, replacing, upserting and deleting documents with partition keys.
Query patterns
Explains parameterized, partition-scoped, projected and cross-partition SQL queries.
Partition key design
Describes single and hierarchical partition keys and guidance on even data distribution.
Throughput management
Shows setting provisioned RU/s on containers and reading or updating throughput.
Error handling
Demonstrates catching HTTP errors and handling not-found and rate-limit responses.
What Azure cosmos ts does
Client Authentication Setup
Shows how to connect with Microsoft Entra credentials or with endpoint keys and connection strings.
Document CRUD Operations
Covers create, read, replace, upsert, patch and delete calls on items within a container.
Parameterized Queries
Explains SQL queries with parameters, pagination with continuation tokens, and cross-partition queries.
Bulk Operation Handling
Demonstrates mixed bulk requests and checking the status of each result.
Partition Key Design
Covers single and hierarchical partition key definitions and how to address items with them.
Concurrency and Error Handling
Describes ETag-based conditional updates and handling of 404, 409, 412 and 429 errors.
Azure cosmos py vs Azure cosmos ts: questions
Is Azure cosmos py or Azure cosmos ts cheaper?
Both are open source. Compare current plans on each official site.
What is the difference between Azure cosmos py and Azure cosmos ts?
Azure cosmos py is an open-source agent skill for cloud and infrastructure. Azure cosmos ts is an open-source agent skill for cloud and infrastructure.
