Yet another and pure python MS SQLServer database driver.
Support platform
Python 3.8+
Support database
We are testing it on MS SQLServer 2022 on Ubuntu. But we think it works on older versions.
Installation
$ pip install minitds
Example
Query:
import minitds
conn = minitds.connect(host='localhost',
user='sa',
password='secret',
database='database_name')
cur = conn.cursor()
cur.execute('select foo, bar from baz')
for r in cur.fetchall():
print(r[0], r[1])
conn.close()
Execute Procedure:
import minitds
conn = minitds.connect(host='localhost',
user='sa',
password='secret',
database='database_name')
cur = conn.cursor()
cur.callproc('something_proc', [123, 'ABC'])
conn.close()
Restrictions
Support connecting through SQL Server Authentication only.
Protocol Specification
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
minitds-0.5.4.tar.gz
(13.9 kB
view details)
File details
Details for the file minitds-0.5.4.tar.gz.
File metadata
- Download URL: minitds-0.5.4.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4545f4af466b9444200b5a477731852c368b7141e9bd18f342efa9d09bf845b
|
|
| MD5 |
8302b03528c4690aa0daf7ce6f46ef4f
|
|
| BLAKE2b-256 |
22d60c5618921c952489358656ea8cd8e77d5c9690b9be42f68af7d46483e95a
|