This release is a pre-release and may not be stable for production use.
provisa-client
Python client for Provisa, the config-driven data virtualization platform. Query a Provisa server in SQL, GraphQL or Cypher and stream results back as Arrow tables over Arrow Flight, without hand-rolling HTTP calls or Arrow IPC decoding.
Features
- GraphQL query execution against a Provisa server
- Arrow Flight streaming for large result sets
- Optional pandas, a SQLAlchemy dialect (
provisa+http://andprovisa+https://URLs) and ADBC - AES-GCM payload encryption support
Install
pip install provisa-client
Optional extras: provisa-client[pandas], provisa-client[sqlalchemy], provisa-client[adbc].
Notebooks
provisa_client.query(text, role=None) answers a SQL, GraphQL or Cypher statement as a pandas
DataFrame. The server detects the statement's language.
import provisa_client
df = provisa_client.query("SELECT region, amount FROM shop.orders")
eu = provisa_client.query("SELECT region, amount FROM shop.orders", role="analyst_eu")
On a desktop Python the read goes over Arrow Flight (or HTTP with transport="http"). The
connection is read from keywords to provisa_client.sign_in(...), then the environment, then
~/.provisa/credentials:
[default]
url = https://provisa.example.com
token = provisa_pat_...
role = analyst
The environment names are PROVISA_URL, PROVISA_TOKEN, PROVISA_USERNAME,
PROVISA_PASSWORD, PROVISA_ROLE, PROVISA_ORG, PROVISA_FLIGHT_PORT, PROVISA_TRANSPORT
and PROVISA_PROFILE (the profile to read). A username and password are exchanged for a session
token at POST /auth/login, on a deployment whose provider signs users in with a password.
In the browser (Pyodide, the notebook in Provisa's UI) a read goes to the server that served the
page, as the page's signed-in user. query blocks, which a notebook's kernel (a Web Worker) can
do; on the page's main thread use await provisa_client.aquery(...).
Cell magics (pip install provisa-client[notebook]):
%load_ext provisa_client.magics
%%sql orders --role analyst_eu
SELECT region, amount FROM shop.orders
%%graphql and %%cypher take the same arguments: an optional name the DataFrame is bound to,
and --role.
JupySQL (%load_ext sql) also defines %%sql. With both extensions loaded, %%sql is the one
whose extension was loaded last. Provisa's adds --role and, on a desktop Python, reads over
Arrow Flight. JupySQL reaches Provisa through the provisa+http SQLAlchemy dialect.
Metadata
Release files for provisa-client 0.1.0a500
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 |
|---|---|---|---|---|
| provisa_client-0.1.0a500.tar.gz | 39.7 kB | With provenance | Details for provisa_client-0.1.0a500.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| provisa_client-0.1.0a500-py3-none-any.whl | Python 3 | none | any | Details for provisa_client-0.1.0a500-py3-none-any.whl |
Total release size: 71.5 kB
Release files / provisa_client-0.1.0a500.tar.gz
| Download URL | provisa_client-0.1.0a500.tar.gz |
|---|---|
| Size | 39.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8d14b81724eb02c6eaaeb850555166b263d3d3f369e9c24636f4711a013a2ae
|
|
BLAKE2b-256 checksum How to use checksums |
0c4f486f9626dcb1eb737dccc8632595f634ed4f9ecd2459ac2dcf6a5272fe64
|
| 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 Nov 4, 2026.
Transparency logRelease files / provisa_client-0.1.0a500-py3-none-any.whl
| Download URL | provisa_client-0.1.0a500-py3-none-any.whl |
|---|---|
| Size | 31.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1a68264cfd0b268ecfb7468d0fbec193f683213416f9ecb4a700837c9af20f4e
|
|
BLAKE2b-256 checksum How to use checksums |
3b00a334353669856aab534157afcea836c94dfb2dd1d92ab8631f8abc059de9
|
| 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 Nov 4, 2026.
Transparency logSecurity for provisa-client 0.1.0a500
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 provisa_client-0.1.0a500.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 Nov 4, 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.