Skip to main content

bzync-nextsql

Official NextSQL driver for Python 3.10+. Speaks the native NSQL v1 wire protocol over TLS 1.3. Pure standard library — no runtime dependencies.

Encryption keys and passwords are never accepted in a connection URL.

pip install bzync-nextsql
import nextsql

conn = nextsql.connect(nextsql.Config(
    address="db.example.com:7210",
    database="production",
    user="app",
    password=os.environ["NEXTSQL_DATABASE_PASS"],
    tls=nextsql.TLSConfig(cafile="/etc/nextsql/ca.pem", server_name="db.example.com"),
))
try:
    result = conn.exec("SELECT id, name FROM users WHERE id = $1", [1])
    for row in result.rows:
        print(row)
finally:
    conn.close()

Plaintext connections are allowed only on loopback (insecure_no_tls=True). For an HA cluster with follower-read routing, use nextsql.connect_cluster.

MIT licensed.

Metadata

Release files for bzync-nextsql 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 bzync-nextsql 0.2.0
File Size Uploaded Provenance Actions
bzync_nextsql-0.2.0.tar.gz 3.2 kB With provenance Details for bzync_nextsql-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bzync-nextsql 0.2.0
File Interpreter ABI Platform Actions
bzync_nextsql-0.2.0-py3-none-any.whl Python 3 none any Details for bzync_nextsql-0.2.0-py3-none-any.whl

Total release size: 5.8 kB

Release files / bzync_nextsql-0.2.0.tar.gz

Download URL bzync_nextsql-0.2.0.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e7732512eceff5e31228c52f44dcffde173ad6bb856e787847db94612f7ee241
BLAKE2b-256 checksum
How to use checksums
5bafa62474a830ac4cb10404737803b61a3377f75a61fcf0bb421b4dc7b106da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

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

Download URL bzync_nextsql-0.2.0-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
51454375d2b8b6b1a16b6d224e05b0e48b7e728f671063fc169db74a3bbd35de
BLAKE2b-256 checksum
How to use checksums
c5984d0e163e5dd6b923b1de5e1b77f75c9a5eb6866f7e2309d5888618d49b7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Security for bzync-nextsql 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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for bzync_nextsql-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

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