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 2.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 2.2.0
File Size Uploaded
orvanta-2.2.0.tar.gz 25.6 kB Details

Built distribution (wheel)

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

Total release size: 51.8 kB

Release files / orvanta-2.2.0.tar.gz

Download URL orvanta-2.2.0.tar.gz
Size 25.6 kB
Tags Source
SHA-256 checksum
How to use checksums
962578ec73feeb20ece89a8ea32dd02ae6c8bf90c560c84b6bf5f1ddd505c6b6
BLAKE2b-256 checksum
How to use checksums
8df5547546a1b010a12d7b7f24efcfb2e58bc71445fc7e45bdee87eeda9fcc18
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 Jul 31, 2026.

Transparency log

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

Download URL orvanta-2.2.0-py3-none-any.whl
Size 26.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a5c48406b26884c49c29af6ab6cb4232f127a1b7e8e3be3fd0183484953b3435
BLAKE2b-256 checksum
How to use checksums
9ba36d1d313f2d28bbcbe792deea9269049aee31e481bcfc1659186b44f660bf
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 Jul 31, 2026.

Transparency log

Release history Release notifications | RSS feed

6.3.0

2 release files

6.2.0

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

This release

2.2.0 This release

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