Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

pymssql

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

Databases, ORMs and clientsPYPI

GitHubWebsite

1. License

License from GitHub.

github.com/pymssql/pymssql

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What pymssql does

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

pymssql popularity

43 / 100
Gid Score, #2836 overall
9M
downloads a week, pypi
891
GitHub stars
pymssql: downloads per weekPyPI, pymssql 8,901,002
pymssql: GitHub starspymssql/pymssql 891

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How pymssql is used

  • pymssql joined the catalog on its public numbers (9,009,291 downloads a week on PyPI and 891 GitHub stars), not on our project count: it is a dependency in 7 public GitHub projects of our scan, 0 of them set up for AI coding agents.
  • The most used alternative in our scan is psycopg2 (99 projects).
  • Projects that use it most often also use Requests (85.7%), python-dotenv (71.4%), SQLAlchemy (71.4%).

Often used with

In 85.7% of its projects
In 71.4% of its projects
In 71.4% of its projects
In 71.4% of its projects
In 71.4% of its projects
In 71.4% of its projects
In 57.1% of its projects
In 57.1% of its projects

More about pymssql

More in Databases, ORMs and clients

Alternatives

pymssql This page

LGPL-2.1Gid 439M/wk

psycopg2

Popular PostgreSQL adapter for Python with full database access and query execution.

LGPLGid 7155.6M/wk

PyMySQL

Pure Python MySQL database driver for database operations.

MITGid 6519.9M/wk

PyMongo

Official MongoDB Python driver for querying and managing MongoDB databases.

Apache-2.0Gid 6818.5M/wk

Compare pymssql with another tool

Get started

Install it.

pip install pymssql

No step-by-step start for pymssql yet: we have not written its hand-checked card.