Skip to main content

Prava Python SDK – OpenAI-like API client for LLMs.

Project description

Prava Python SDK

API for Labor - skilled digital work via computer-use agents.

Install

pip install prava

Usage

from prava import Prava
import os

client = Prava(api_key=os.getenv("PRAVA_API_KEY"))

task = client.tasks.create({
    "workflow": "quickbooks_sync",
    "data": {
        "invoices_folder": "s3://acme-invoices/march-2025/",
        "vendor_mapping": "existing_vendors.csv"
    },
    "max_price": 5000,    # Don't pay more than $50
    "deadline": "2025-09-15T17:00:00Z"
})

# Get results
result = client.tasks.get(task["id"])
print(f"Status: {result['status']}")

Configuration

  • api_key: Explicit API key, or set PRAVA_API_KEY env var.
  • timeout: Request timeout seconds (default 60).

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

prava-0.1.19.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

prava-0.1.19-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file prava-0.1.19.tar.gz.

File metadata

  • Download URL: prava-0.1.19.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for prava-0.1.19.tar.gz
Algorithm Hash digest
SHA256 09edf859000a3c60f890af80b12a5bc2375f39788910db8acdb15121d28852ac
MD5 03c92332e09233fde1d891579f71029b
BLAKE2b-256 eee187e4f4cf5f8ce00231d4f9fc37a03772f84d967ebc34ea84315ca01c0b4c

See more details on using hashes here.

File details

Details for the file prava-0.1.19-py3-none-any.whl.

File metadata

  • Download URL: prava-0.1.19-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for prava-0.1.19-py3-none-any.whl
Algorithm Hash digest
SHA256 0e111675c44443aad526fc450c01d6d657b0dabc79cc7db595275b8d47a10f67
MD5 c706db2724ca8ca499cb49ba52d39a8b
BLAKE2b-256 c6d72047c70656428df053e314e9bb923f90a5272c5bef34710e5e23b03056d9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page