Skip to main content

Python client for the TasaVE Venezuelan exchange rate API

Project description

tasave

Python client for TasaVE — Venezuelan dollar exchange rate data (BCV official rate + parallel/P2P rates), multi-source with confidence scoring.

Install

uv add tasave-python

Usage

from tasave import TasaVE

client = TasaVE()  # no API key needed for public endpoints
rate = client.rates.current()

print(rate.bcv_usd)       # 104.23
print(rate.confidence)    # 92.0
print(rate.verified)      # True

With an API key (needed for rates.parallel() and history):

client = TasaVE(api_key="tv_live_...")
parallel = client.rates.parallel()
history = client.history.date("2026-06-30")

Async client, same shape:

from tasave import AsyncTasaVE

async with AsyncTasaVE() as client:
    rate = await client.rates.current()

Other endpoints

client.rates.bcv()                                   # BCV official only
client.convert(amount=100, from_currency="USD", to="VES")
client.history.range("2026-06-01", "2026-06-30")
client.status()

Errors

All request failures raise TasaVEError, which carries the HTTP status code:

from tasave import TasaVEError

try:
    client.rates.parallel()
except TasaVEError as e:
    print(e.status_code, e.message)  # e.g. 401, "API key required"

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

tasave_python-0.1.0.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

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

tasave_python-0.1.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file tasave_python-0.1.0.tar.gz.

File metadata

  • Download URL: tasave_python-0.1.0.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for tasave_python-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a87b2fa9a8a02a2f4ae3cd45f90281bfb699088fd7de28701894f32c5f928868
MD5 05eeac454e57a17f7ff7efbc2cb005e5
BLAKE2b-256 cdf41b30f17aff48d7a7e3d43cc324c8e9b0a2db7a73ccf983b0bf2bfccb5d61

See more details on using hashes here.

File details

Details for the file tasave_python-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tasave_python-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for tasave_python-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4aadf99769892d9edfbe25799953341e128a5f3b82c8565df4bd9e44a3908f59
MD5 5a8901374eaa0367206cfa8fccc06add
BLAKE2b-256 d8b100b2dd0b8fe09545242868f61f989b463e241e16721e10a023a8e46c136a

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