# pymssql — card for AI agents

Cython-based Python DB-API driver for Microsoft SQL Server.

Category: Databases, ORMs and clients · PyPI package `pymssql` · latest version 2.4.6 (checked 2026-11-01)
Install: `pip install pymssql`
License: LGPL-2.1 (weak-copyleft)

In your own product (generator, app, hosted service): **conditions**. Weak copyleft: fine inside a closed product, but changes to the library's own files stay under its license and must be shared.

## Numbers (AgentGid data)
- Gid Score: 42.6 (#2836 of all tools, 82 of 120 in its category)
- Downloads last week: 9,009,291 (as of 2026-11-24), +2.1% over 4 weeks
- GitHub stars: 891 (as of 2026-11-24)
- Last push: 2026-11-07

## Often used with
Requests 85.7%, python-dotenv 71.4%, SQLAlchemy 71.4%, openpyxl 71.4%, pandas 71.4%, python-dateutil 71.4%

## Checked alternatives (same job)
- psycopg2: https://agentgid.com/tools/psycopg2-binary/agent.md
- PyMySQL: https://agentgid.com/tools/pymysql/agent.md
- PyMongo: https://agentgid.com/tools/pymongo/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/pymssql/
- Homepage: https://github.com/pymssql/pymssql
- Repository: https://github.com/pymssql/pymssql

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
