Skip to main content

ahi-sql

Small, dependency-light SQL helpers — the bits people otherwise hand-roll and get subtly wrong.

from ahi.sql import quote_identifier, placeholders

quote_identifier("user table")          # '"user table"'
placeholders(3, style="qmark")          # '?, ?, ?'   (Athena)
placeholders(3, style="named")          # ':1, :2, :3' (Redshift Data API)

Quote identifiers with quote_identifier. Quote values by passing them as bind parameters to your driver — never by string-formatting them in.

Part of ahi-python-packages.

Metadata

Release files for ahi-sql 0.2.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 ahi-sql 0.2.0
File Size Uploaded Provenance Actions
ahi_sql-0.2.0.tar.gz 2.5 kB Without provenance Details for ahi_sql-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ahi-sql 0.2.0
File Interpreter ABI Platform Actions
ahi_sql-0.2.0-py3-none-any.whl Python 3 none any Details for ahi_sql-0.2.0-py3-none-any.whl

Total release size: 5.0 kB

Release files / ahi_sql-0.2.0.tar.gz

Download URL ahi_sql-0.2.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1ec90c54506c8a9cf684a9e2ab0a23cb1aa6332b0d1f8e7daa6b4a760aa7f526
BLAKE2b-256 checksum
How to use checksums
ea3209edaeb4406c00c49b2f6f679c524a6bd8ba89edf3afc607f1bce4680a48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / ahi_sql-0.2.0-py3-none-any.whl

Download URL ahi_sql-0.2.0-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
90cacf41a5fe9c4a496ad1e241349dda3a52ef389a54fbb4c01c2ed73c28050b
BLAKE2b-256 checksum
How to use checksums
fc309754ea095c8b066fdd0fe7f3b090b9b407f1872a14c6e16cfbb4f836e856
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for ahi-sql 0.2.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.

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