Skip to main content

orvanta

The core client for the Orvanta platform.

Usage

Basic Usage

The orvanta package has several methods at the top-level for the most frequent operations you will need.

The following are some common examples:

import time

import orvanta


def main():
    # Get the value of a variable
    orvanta.get_variable("u/user/variable_path")
    
    # Run a script synchronously and get the result
    orvanta.run_script("f/pathto/script", args={"arg1": "value1"})
    
    # Get the value of a resource
    orvanta.get_resource("u/user/resource_path")
    
    # Set the script's state
    orvanta.set_state({"ts": time.time()})
    
    # Get the script's state
    orvanta.get_state()

Advanced Usage

The orvanta package also exposes the Orvanta class, which is the core client for the Orvanta platform.

import time

from orvanta import Orvanta

def main():
    client = Orvanta(
        # token=...  <- this is optional. otherwise the client will look for the OV_TOKEN env var
    )

    # Get the current version of the client
    client.version

    # Get the current user
    client.user
    
    # Convenience get and post methods exist for the /openapi.html API reference
    # served by your Orvanta instance (e.g. https://your-instance/openapi.html#/)
    # these are thin wrappers around the httpx library's get and post methods
    # list worker groups
    client.get("/configs/list_worker_groups")
    # create a group
    client.post(
        f"/w/{client.workspace}/groups/create",
        json={
            "name": "my-group",
            "summary": "my group summary",
        }
    )
    
    # Get and set the state of the script
    now = time.time()
    client.state = {"ts": now}
    assert client.state == {"ts": now}
    
    # Run a job asynchronously
    job_id = client.run_script_async(path="path/to/script")
    # Get its status
    client.get_job_status(job_id)
    # Get its result
    client.get_result(job_id)

Metadata

Release files for orvanta 6.2.0

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

Source distribution (sdist)

Source distribution for orvanta 6.2.0
File Size Uploaded
orvanta-6.2.0.tar.gz 24.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for orvanta 6.2.0
File Interpreter ABI Platform
orvanta-6.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 49.0 kB

Release files / orvanta-6.2.0.tar.gz

Download URL orvanta-6.2.0.tar.gz
Size 24.2 kB
Tags Source
SHA-256 checksum
How to use checksums
639ac0f548ab13b0f9a940bd849e0f311a715dceb9adefe2940aca2de4201fe0
BLAKE2b-256 checksum
How to use checksums
edd3bdd70c758d39617fb8d8c5ad4ee5f4ad72325dc5b1d6c8ef4b13a70b15c6
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 1, 2026.

Transparency log

Release files / orvanta-6.2.0-py3-none-any.whl

Download URL orvanta-6.2.0-py3-none-any.whl
Size 24.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
052703392b4451534fa3c14fb83788a81dc5fb4f94bc8fd449aab55e3618a850
BLAKE2b-256 checksum
How to use checksums
6d016b758aa7fc789eb8258dab787ea1dbee0392f96bdb65305dae87f7bb4dd7
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 1, 2026.

Transparency log

Release history Release notifications | RSS feed

6.3.0

2 release files

This release

6.2.0 This release

2 release files

5.0.0

2 release files

4.1.0

2 release files

4.0.0

2 release files

3.2.0

2 release files

3.1.0

2 release files

3.0.0

2 release files

2.5.0

2 release files

2.4.0

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.0.0

2 release files

1.9.0

2 release files

1.8.0

2 release files

1.7.1

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.2

2 release files

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