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
HexDBis created. Percent-encode@,:and/in the login and password. - The
apiKey,timeoutandcaFileoptions set the API key, the request timeout in seconds and the CA file. Theapi_key,timeoutandca_filearguments win over them; an explicitapi_keyalso skips the sign-in.pageSizeis 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
ValueErrornaming the problem. - Plain
http://andhttps://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.5.5
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 |
|---|---|---|---|---|
| hexdb-2.5.5.tar.gz | 16.3 kB | Without provenance | Details for hexdb-2.5.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hexdb-2.5.5-py3-none-any.whl | Python 3 | none | any | Details for hexdb-2.5.5-py3-none-any.whl |
Total release size: 28.4 kB
Release files / hexdb-2.5.5.tar.gz
| Download URL | hexdb-2.5.5.tar.gz |
|---|---|
| Size | 16.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d1e18774cf609d3d9b4eb2d1a0aef41eebb709b0e9354387395782f9496f5d02
|
|
BLAKE2b-256 checksum How to use checksums |
8d65c6e5cf789019f824573810ad76ee96b7f6439d1382e5cfa0c51b25da1a5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.16
|
Release files / hexdb-2.5.5-py3-none-any.whl
| Download URL | hexdb-2.5.5-py3-none-any.whl |
|---|---|
| Size | 12.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d2078432660015cfb9de4dd86ae30755679cf6e606d1635a6e6176178866532c
|
|
BLAKE2b-256 checksum How to use checksums |
bf2ac7bd524e4351a98b7c19315fad0758a84d009b09a67f6c5ee3cfbe79ef38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.16
|
Security for hexdb 2.5.5
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.