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.
- Full driver docs: https://nextsql.bzync.com/docs/drivers
- Wire protocol: https://github.com/bzync/nextsql/blob/master/docs/protocol.md
- Client-side field encryption: https://nextsql.bzync.com/docs/client-encryption
MIT licensed.
Metadata
Release files for bzync-nextsql 0.0.2
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 |
|---|---|---|---|---|
| bzync_nextsql-0.0.2.tar.gz | 3.2 kB | With provenance | Details for bzync_nextsql-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bzync_nextsql-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for bzync_nextsql-0.0.2-py3-none-any.whl |
Total release size: 5.8 kB
Release files / bzync_nextsql-0.0.2.tar.gz
| Download URL | bzync_nextsql-0.0.2.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e11cb2fa6daabb54925e8f13651fca6c49142cd78f13e657aa11beea6b6c397e
|
|
BLAKE2b-256 checksum How to use checksums |
d12e9c54a9daa80030ab67707c1ffce28589ae496584dd232b0bbf9784341632
|
| 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 logRelease files / bzync_nextsql-0.0.2-py3-none-any.whl
| Download URL | bzync_nextsql-0.0.2-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e54d27855acd0f3d353072d0ca55ef1d36e4c11086ab8e16f683fa58c6da4fcf
|
|
BLAKE2b-256 checksum How to use checksums |
17cf8abe3444f65e86986047fc5d1efbdc963c1a82f98af2e4f0d7c4c7ca4cc8
|
| 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 logSecurity for bzync-nextsql 0.0.2
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.
Attestation for bzync_nextsql-0.0.2.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 logA 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.