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.0a493

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

Built distribution (wheel)

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

Total release size: 71.5 kB

Release files / provisa_client-0.1.0a493.tar.gz

Download URL provisa_client-0.1.0a493.tar.gz
Size 39.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1793463cc0849cc59b44cbbab653fb8f50ce2f096957caa7ea4eb63becfff2dc
BLAKE2b-256 checksum
How to use checksums
f54fc26c7fd3ee37fd5e2bdafda552a56e26bea08370c835984b72e72a99669c
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 Oct 20, 2026.

Transparency log

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

Download URL provisa_client-0.1.0a493-py3-none-any.whl
Size 31.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff4182171d2a12aa9e92fa437c9ed528e52ae1b24c09451405a49619aa132e07
BLAKE2b-256 checksum
How to use checksums
677fc6679903625a0974b0d1386b9bafdf17e9ca6c4842396776d8d71b0afcdc
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 Oct 20, 2026.

Transparency log

Security for provisa-client 0.1.0a493

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.0a493.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 20, 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