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

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

Built distribution (wheel)

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

Total release size: 71.5 kB

Release files / provisa_client-0.1.0a508.tar.gz

Download URL provisa_client-0.1.0a508.tar.gz
Size 39.6 kB
Tags Source
SHA-256 checksum
How to use checksums
14335137d7ad203ada8c9dee7dc48de4c52a6905e3fa986b590311896c0ed21f
BLAKE2b-256 checksum
How to use checksums
674232e59e74c2a7ee75a86f86cfe88707726b57e0a055a15562432b9828e3f9
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 11, 2026.

Transparency log

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

Download URL provisa_client-0.1.0a508-py3-none-any.whl
Size 31.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5385d362f5e0c71266107d752f94cafd24271dba5b0f5aba5dbe049e98d8399e
BLAKE2b-256 checksum
How to use checksums
6ac65bc2492317d20325cd8f715a7129995d5a719819c60720f3403a669dfa57
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 11, 2026.

Transparency log

Security for provisa-client 0.1.0a508

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.0a508.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 11, 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