Skip to main content

BCV_EXCHANGE

Python Version License PyPI Version

Unofficial Python package to retrieve official exchange rates from the Central Bank of Venezuela (BCV) website.

Features

  • 📊 Real-time exchange rate data
  • 🌐 Supports multiple currencies: USD, EUR, CNY, TRY, RUB
  • 📅 Includes official update timestamp
  • 🔄 Structured JSON output
  • ⚠️ Automatic structure validation

Installation

pip install bcv_exchange

Usage

from bcv_exchange import get_exchange_rate

try:
    exchange_data = get_exchange_rate()
    print(f"Source: {exchange_data['source']}")
    print(f"Last update: {exchange_data['date_of_change']}")
    print("Exchange Rates:")
    for currency, rate in exchange_data['exchange_rates'].items():
        print(f"{currency}: {rate:.2f} Bs")
except Exception as e:
    print(f"Error: {str(e)}")

Output Example

Fecha de actualización: 2025-03-10 00:00:00-04:00
Tasas de cambio:
EUR: 70.91 Bs
CNY: 9.02 Bs
TRY: 1.79 Bs
RUB: 0.73 Bs
USD: 65.27 Bs

License

This project is licensed under the MIT License - see the LICENSE file for details

Metadata

Release files for bcv-exchange 1.1.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 bcv-exchange 1.1.0
File Size Uploaded Provenance
bcv_exchange-1.1.0.tar.gz 5.1 kB Without provenance Details

Release files / bcv_exchange-1.1.0.tar.gz

Download URL bcv_exchange-1.1.0.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6f19d92beb9063a844f124d741b531123eb8c3e78ed98f6f168a4b5f70078a54
BLAKE2b-256 checksum
How to use checksums
627d790ff105114d76914bce3ffb8194bdd3ca616f0dbeef984851315d1fb633
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Security for bcv-exchange 1.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.1.0 This release

1 release file No provenance

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