{
 "kind": "tool",
 "slug": "azure-cosmos",
 "path": "tools/azure-cosmos/",
 "name": "Azure Cosmos",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Databases, ORMs and clients",
   "tools/databases-orms/"
  ]
 ],
 "lead": "Microsoft Azure SDK for accessing Cosmos DB NoSQL databases.",
 "chips": [
  {
   "label": "Databases, ORMs and clients",
   "path": "tools/databases-orms/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install azure-cosmos"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/Azure/azure-sdk-for-python"
  },
  {
   "label": "Website",
   "href": "https://github.com/Azure/azure-sdk-for-python"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI classifier.",
   "src": "https://github.com/Azure/azure-sdk-for-python"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 24, 2026",
   "note": "Latest GitHub release Nov 22, 2026. ",
   "src": "https://github.com/Azure/azure-sdk-for-python"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "5 projects",
   "status": "info",
   "sub": "#57 of 120 in its category",
   "note": "Dependency in 5 public GitHub projects set up for AI coding agents that we scanned (0.1%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Community skills",
   "status": "info",
   "sub": "1 skills by others",
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Azure Cosmos does",
   "parts": [
    {
     "t": "prose",
     "text": "Microsoft Azure SDK for accessing Cosmos DB NoSQL databases."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Azure Cosmos popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "53",
       "of": "/ 100",
       "l": "Gid Score, #1620 overall"
      },
      {
       "n": "3.1M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "5,625",
       "l": "GitHub stars"
      },
      {
       "n": "5",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Azure Cosmos is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Azure Cosmos is a dependency in 5 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 43 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is SQLAlchemy (181 projects).",
      "Projects that use it most often also use azure-identity (86.0%), OpenAI Python Library (81.4%), python-dotenv (79.1%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "5 projects, 0.2%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 86.0% of its projects",
       "v": "azure-identity",
       "path": "tools/azure-identity-pypi/"
      },
      {
       "l": "In 81.4% of its projects",
       "v": "OpenAI Python Library",
       "path": "tools/openai-pypi/"
      },
      {
       "l": "In 79.1% of its projects",
       "v": "python-dotenv",
       "path": "tools/python-dotenv/"
      },
      {
       "l": "In 62.8% of its projects",
       "v": "Pydantic",
       "path": "tools/pydantic/"
      },
      {
       "l": "In 58.1% of its projects",
       "v": "Semantic Kernel",
       "path": "tools/semantic-kernel/"
      },
      {
       "l": "In 55.8% of its projects",
       "v": "Requests",
       "path": "tools/requests-py/"
      },
      {
       "l": "In 53.5% of its projects",
       "v": "Azure Search Documents",
       "path": "tools/azure-search-documents/"
      },
      {
       "l": "In 51.2% of its projects",
       "v": "pandas",
       "path": "tools/pandas/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Azure Cosmos",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Agent Skills for it",
       "path": "skills/",
       "items": [
        "azure-cosmos-java: Azure Cosmos DB SDK for Java. NoSQL database operations with global distribution, multi-model support, and reactive patterns. Triggers: \"Cos"
       ]
      },
      {
       "title": "More in Databases, ORMs and clients",
       "path": "tools/databases-orms/",
       "items": [
        {
         "text": "pg",
         "path": "tools/pg/"
        },
        {
         "text": "Drizzle ORM",
         "path": "tools/drizzle-orm/"
        },
        {
         "text": "Prisma",
         "path": "tools/prisma/"
        },
        {
         "text": "Drizzle Kit",
         "path": "tools/drizzle-kit/"
        },
        {
         "text": "better-sqlite3",
         "path": "tools/better-sqlite3/"
        },
        {
         "text": "psycopg2",
         "path": "tools/psycopg2-binary/"
        },
        {
         "text": "Alembic",
         "path": "tools/alembic/"
        },
        {
         "text": "Neon Serverless Driver",
         "path": "tools/neondatabase/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Azure Cosmos",
       "me": true,
       "facts": [
        "MIT",
        "Gid 53",
        "3.1M/wk"
       ]
      },
      {
       "name": "SQLAlchemy",
       "why": "Python SQL toolkit and object-relational mapper for database abstraction.",
       "path": "tools/sqlalchemy/",
       "facts": [
        "MIT",
        "Gid 80",
        "105M/wk"
       ]
      },
      {
       "name": "DuckDB",
       "why": "Embedded SQL OLAP database for analytical queries and data processing in Python.",
       "path": "tools/duckdb/",
       "facts": [
        "MIT",
        "Gid 58",
        "22.6M/wk"
       ]
      },
      {
       "name": "Neo4j",
       "why": "Official Python driver for Neo4j graph database with Bolt protocol.",
       "path": "tools/neo4j/",
       "facts": [
        "Apache-2.0 AND Python-2.0",
        "Gid 54",
        "3.6M/wk"
       ]
      },
      {
       "name": "PyMongo",
       "why": "Official MongoDB Python driver for querying and managing MongoDB databases.",
       "path": "tools/pymongo/",
       "facts": [
        "Apache-2.0",
        "Gid 68",
        "18.5M/wk"
       ]
      }
     ],
     "more": "Compare Azure Cosmos with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install azure-cosmos"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Azure Cosmos yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi azure-cosmos"
  ],
  [
   "Category",
   "Databases, ORMs and clients"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "53.3"
  ],
  [
   "Rank in category",
   "#57 of 120"
  ],
  [
   "GitHub",
   "Azure/azure-sdk-for-python"
  ],
  [
   "Last change",
   "Nov 24, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/azure.png"
}