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.18.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.18-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: prava-0.1.18.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.18.tar.gz
Algorithm Hash digest
SHA256 c5b86107033ac9be515b40bbe9a4a014362d769ac7bfe938428588b83979aced
MD5 89447a7c6157f62fa83b5d831918ad8e
BLAKE2b-256 fd28c0e38cd8d9b13fd19e42a9c034d9e2b19e203fb8929ff810b6c67f63a9e6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: prava-0.1.18-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.18-py3-none-any.whl
Algorithm Hash digest
SHA256 1a1b1f0a7c6a2ba3d08037b28a1ad75d392de33584c0f4b4d2337076e0a435c3
MD5 2aadbe1414380ec579c5f91901f6fc3c
BLAKE2b-256 d4eafa35a7576dd65f671474e95ca00af106860e1b92727a4e27089f56fb4be8

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