Skip to main content
Pre-release

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:// and provisa+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.0a509

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for provisa-client 0.1.0a509
File Size Uploaded Provenance Actions
provisa_client-0.1.0a509.tar.gz 39.6 kB With provenance Details for provisa_client-0.1.0a509.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for provisa-client 0.1.0a509
File Interpreter ABI Platform Actions
provisa_client-0.1.0a509-py3-none-any.whl Python 3 none any Details for provisa_client-0.1.0a509-py3-none-any.whl

Total release size: 71.5 kB

Release files / provisa_client-0.1.0a509.tar.gz

Download URL provisa_client-0.1.0a509.tar.gz
Size 39.6 kB
Tags Source
SHA-256 checksum
How to use checksums
686fa294be05aa1df5edf864e1984df52d0b2fff64fcd1b3c29721eb3189b5d9
BLAKE2b-256 checksum
How to use checksums
98e66244ea6ba25516b49d5e0cf938afbbc1a4d82b32c21e4e50c3994af39b5c
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 15, 2026.

Transparency log

Release files / provisa_client-0.1.0a509-py3-none-any.whl

Download URL provisa_client-0.1.0a509-py3-none-any.whl
Size 31.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e909dd1a3f23c3449393a35d506b43b90efcef9ceb9ae9633195652e0d7ad7df
BLAKE2b-256 checksum
How to use checksums
38389aebe2338649c06b93b663aa821910f447a7fb97857e9ac11fd94d5f34ec
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 15, 2026.

Transparency log

Security for provisa-client 0.1.0a509

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.

Select from 2 files

Attestation for provisa_client-0.1.0a509.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 15, 2026.

Transparency log

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

This release
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