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.0.1

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.0.1
File Size Uploaded
bzync_nextsql-0.0.1.tar.gz 2.4 kB Details

Built distribution (wheel)

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

Total release size: 5.0 kB

Release files / bzync_nextsql-0.0.1.tar.gz

Download URL bzync_nextsql-0.0.1.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
33ae8b253264e5ed9f695c069697e6896f8403a4fadb6b5e5e73526185f34fab
BLAKE2b-256 checksum
How to use checksums
c767ccc55ad0608f44efc64c238184d0ec9519ca25466cc39135ef5191873a49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 13, 2026.

Transparency log

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

Download URL bzync_nextsql-0.0.1-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
463f18cd20cb26904ebd85757371e7e3e9ad7d5cbd62582c0a0a4ff1e78607a1
BLAKE2b-256 checksum
How to use checksums
6b3486e32d4503e3c3704efe4c267cce5d689c6b75511cf03512151d581ddcf9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 13, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.1

2 release files

0.1.0

2 release files

This release

0.0.1 This release

2 release files

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