Install & Compatibility
Where this runs
tested against v2.1.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.8MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.6s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
pymssql-python2-stubs
✓ import pymssql-python2-stubs
✗ import pymssql
Basic connection test using environment variables for credentials.
import pymssql
import os
conn = pymssql.connect(
server=os.environ.get('PYMSSQL_SERVER', ''),
user=os.environ.get('PYMSSQL_USER', ''),
password=os.environ.get('PYMSSQL_PASSWORD', ''),
database=os.environ.get('PYMSSQL_DB', '')
)
cursor = conn.cursor()
cursor.execute('SELECT 1')
row = cursor.fetchone()
print(row)
cursor.close()
conn.close()
Upgrade
Version history
2.1.0latest on PyPI · released Aug 27, 2021
Audit
Dependencies
No dependency data recorded yet.