Skip to main content

hexdb (Python)

Client for HexDB. Python 3.9+, standard library only. See ../README.md and the HexDB manual.

Connection URIs

HexDB takes a connection URI wherever it takes a URL:

from hexdb import HexDB, parse_connection_uri

db = HexDB("hexdbs://analyst:s3cret%21@db.example.com")      # signs in with POST /auth/login
db = HexDB("hexdb://127.0.0.1:7700?apiKey=hxk_...&timeout=10")
  • hexdb:// is HTTP, port 7700 by default. hexdbs:// is HTTPS, port 443 by default.
  • A login in the URI signs in when HexDB is created. Percent-encode @, : and / in the login and password.
  • The apiKey, timeout and caFile options set the API key, the request timeout in seconds and the CA file. The api_key, timeout and ca_file arguments win over them; an explicit api_key also skips the sign-in. pageSize is parsed but not used by this driver.
  • A path is kept as the base of every request (hexdbs://example.com/hexdb).
  • An invalid URI raises ValueError naming the problem.
  • Plain http:// and https:// URLs work as before.

parse_connection_uri(uri) returns a ConnectionUri with url, login, password, api_key, timeout_seconds, page_size and ca_file (None when absent). See "Connection URIs" in the HexDB manual for the full format.

Metadata

Release files for hexdb 2.4.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 hexdb 2.4.1
File Size Uploaded Provenance Actions
hexdb-2.4.1.tar.gz 15.4 kB Without provenance Details for hexdb-2.4.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hexdb 2.4.1
File Interpreter ABI Platform Actions
hexdb-2.4.1-py3-none-any.whl Python 3 none any Details for hexdb-2.4.1-py3-none-any.whl

Total release size: 26.9 kB

Release files / hexdb-2.4.1.tar.gz

Download URL hexdb-2.4.1.tar.gz
Size 15.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ef83077acfc60896e5bda8823c7bc32da62b3a6f22ff5c042c2c1d141ba5d171
BLAKE2b-256 checksum
How to use checksums
0c01478575c6eda8379c1f6abb5c36a217da631a3a95a647f45c52f7472f0156
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / hexdb-2.4.1-py3-none-any.whl

Download URL hexdb-2.4.1-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
207bd5b14d866ba1f4c540ee0b0053923b7fb5196f2cb204e5a3ab2c0a59e468
BLAKE2b-256 checksum
How to use checksums
ef5743ff8578bf7743617b4ad4374ff78074c59fd698e14a2b0f443e6f2b8a64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for hexdb 2.4.1

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.

Release history Release notifications | RSS feed

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