Skip to main content

sqlalchemy-pretty-sql

Given a sqlalchemy query, display a well formatted and highlighted sql code.

Install and usage

pip install sqlalchemy-pretty-sql

And then just import the package in your notebook session

In[3]: import sqlalchemy_pretty_sql
In[4]: query

After sqlalchemy_pretty_sql is imported, its pretty_sql function is registered to display the sql of any sqlalchemy.orm.query.Query object.

See the example.

Metadata

Release files for sqlalchemy-pretty-sql 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sqlalchemy-pretty-sql 0.4.0
File Size Uploaded Provenance
sqlalchemy-pretty-sql-0.4.0.tar.gz 2.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for sqlalchemy-pretty-sql 0.4.0
File Interpreter ABI Platform
sqlalchemy_pretty_sql-0.4.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 5.9 kB

Release files / sqlalchemy-pretty-sql-0.4.0.tar.gz

Download URL sqlalchemy-pretty-sql-0.4.0.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
89028233be44bb4efc1ff4fa4648c1e388e821c80a37ca8c653a413c751cbc4c
BLAKE2b-256 checksum
How to use checksums
c3e23a15d7db83690eab20fb80465dccc6af3cebe1d00dafc7e8f9d390f54eb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.8

Release files / sqlalchemy_pretty_sql-0.4.0-py2.py3-none-any.whl

Download URL sqlalchemy_pretty_sql-0.4.0-py2.py3-none-any.whl
Size 3.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
750021ec0afe838a44983477be650c01e441f537ec3323cf2d573b53aa341954
BLAKE2b-256 checksum
How to use checksums
85d7f68dc8af79a24b2cc581cc1cc35ba4fc8deca08363ef6f59a0aaf653d85a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.8

Security for sqlalchemy-pretty-sql 0.4.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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page