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 — a config-driven data virtualization platform. Query a Provisa server's governed GraphQL API 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, SQLAlchemy dialect (provisa.http/provisa.https), and ADBC integration
  • 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.0a491

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.0a491
File Size Uploaded Provenance Actions
provisa_client-0.1.0a491.tar.gz 39.6 kB With provenance Details for provisa_client-0.1.0a491.tar.gz

Built distribution (wheel)

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

Total release size: 71.5 kB

Release files / provisa_client-0.1.0a491.tar.gz

Download URL provisa_client-0.1.0a491.tar.gz
Size 39.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d6452626be77c3713dd96a374232e2733d59530e9197bc5210f6ac423496c9d5
BLAKE2b-256 checksum
How to use checksums
7d7a61334c456b99d182149ea45bcf9b8d20c211c80cbb19931749a129147ed3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 18, 2026.

Transparency log

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

Download URL provisa_client-0.1.0a491-py3-none-any.whl
Size 31.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e0b8e2ce79bdcdabd533b7b3031ee777637150f8a31138988d43c0f0c007386b
BLAKE2b-256 checksum
How to use checksums
9f0519fa455828aa8efb080d2b9e3760bb474b1419fff9e8e4d59dfdffbc4eb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 18, 2026.

Transparency log

Security for provisa-client 0.1.0a491

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.0a491.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 18, 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