loongson/pypi/: pymssql-2.3.4 metadata and description
DB-API interface to Microsoft SQL Server for Python. (new Cython-based version)
author_email | Damien Churchill <damoxc@gmail.com> |
classifiers |
|
description_content_type | text/x-rst |
keywords | mssql,SQL Server,database,DB-API |
license | LGPL |
maintainer_email | Mikhail Terekhov <termim@gmail.com> |
project_urls |
|
requires_python | >=3.8 |
File | Tox results | History |
---|---|---|
pymssql-2.3.4-cp310-cp310-manylinux_2_38_loongarch64.whl
|
|
|
pymssql-2.3.4-cp311-cp311-manylinux_2_38_loongarch64.whl
|
|
|
pymssql-2.3.4-cp312-cp312-manylinux_2_38_loongarch64.whl
|
|
|
pymssql-2.3.4-cp313-cp313-manylinux_2_38_loongarch64.whl
|
|
|
pymssql-2.3.4-cp39-cp39-manylinux_2_38_loongarch64.whl
|
|
pymssql - DB-API interface to Microsoft SQL Server
A simple database interface for Python that builds on top of FreeTDS to provide a Python DB-API (PEP-249) interface to Microsoft SQL Server.
Detailed information on pymssql is available on the website:
New development is happening on GitHub at:
There is a Google Group for discussion at:
Getting started
pymssql wheels are available from PyPi. To install it run:
pip install -U pip
pip install pymssql
Most of the times this should be all what’s needed. The official pymssql wheels bundle a static copy of FreeTDS and have SSL support so they can be used to connect to Azure.
Basic example
conn = pymssql.connect(server, user, password, "tempdb")
cursor = conn.cursor(as_dict=True)
cursor.execute('SELECT * FROM persons WHERE salesrep=%s', 'John Doe')
for row in cursor:
print("ID=%d, Name=%s" % (row['id'], row['name']))
conn.close()
Recent Changes
Version 2.3.4 - 2025-04-01 - Mikhail Terekhov
General
Update packaging to fix metadata, thanks to AbigailColwell.
Version 2.3.3 - 2025-03-31 - Mikhail Terekhov
General
Update FreeTDS to 1.4.26.
Add py.typed which marks pymssql as suporting typechecks, thanks Niklas Mertsch (closes #925).