pyodbc-extras
Extra Methods for Working with ODBC Connections in Python
install
pip install pyodbc-extras
usage
from pyodbc import connect
from pyodbc_extras import dump_sql_to_rows, dump_table
cnxn = pyodbc.connect(CONNECTION_STRING)
cursor = cnxn.cursor()
# dump custom sql
dump_sql_to_rows(cursor, "SELECT * FROM cars WHERE year < 2015")
{ "column_names": ["year", "make", "model", ...], "rows": [{"year": 2005, "make": "Audi", "model": "A3"}, ...] }
# same as dump_sql_to_rows(cursor, "SELECT * FROM cars")
rows = dump_table(cursor, "cars")
Metadata
Release files for pyodbc-extras 0.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyodbc_extras-0.0.0.tar.gz | 5.1 kB | Without provenance | Details for pyodbc_extras-0.0.0.tar.gz |
Release files / pyodbc_extras-0.0.0.tar.gz
| Download URL | pyodbc_extras-0.0.0.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
adef92a45362efb85443b4a726390a1331ee3861ee41550e1dd2e5bb69351245
|
|
BLAKE2b-256 checksum How to use checksums |
cb4b6eb70f20bf5b5d129bc5c0dc1b7fd557fbfb016b8f2ee3a35dc82746d215
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Security for pyodbc-extras 0.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.