Skip to main content

Librería para obtener la tasa oficial del Euro y Dólar publicada por el Banco Central de Venezuela (BCV).

Project description

currency_rate_bcv

Librería en Python para obtener la tasa oficial del Euro y Dólar publicada por el Banco Central de Venezuela (BCV).

Descripción

currency_rate_bcv permite consultar de forma sencilla y programática el valor actual del Euro y el Dólar según la tasa oficial publicada en la página del BCV. Ideal para proyectos financieros, aplicaciones de conversión de divisas o cualquier sistema que requiera la tasa oficial venezolana.

Instalación

Puedes instalar la librería usando pip:

pip install currency_rate_bcv

O bien, clona el repositorio y usa:

pip install .

Requisitos

  • Python >= 3.6
  • requests
  • beautifulsoup4

Uso

import asyncio
from currency_rate_bcv.currency import Currency

async def main():
    currency = Currency()
    euro = await currency.getEuro
    print(f"Tasa oficial del Euro: {euro}")
    dollar = await currency.getDollar
    print(f"Tasa oficial del Dólar: {dollar}")

if __name__ == "__main__":
    asyncio.run(main())

Métodos

  • getEuro: Devuelve la tasa oficial del Euro.
  • getDollar: Devuelve la tasa oficial del Dólar.

Ambos métodos son propiedades asíncronas.

Licencia

MIT

Autor

Jarvis Gabriel Huice Padron
jarvis.realg@gmail.com

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

currency_rate_bcv-0.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

currency_rate_bcv-0.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: currency_rate_bcv-0.1.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for currency_rate_bcv-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ba76704f5ba875a7f8f524590863e6db0be70e5b016dfe301271c5e7777a61aa
MD5 2d66b3b439414bb8b3659e225e50901a
BLAKE2b-256 54048fffec2f1790d84dfeaf631ca064d0b2341c6a1093c415bc565663204ecc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for currency_rate_bcv-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca99c0380cff5e15f1ac0576a78d719d14eb1b01b7befc1723f3852db4bb3a51
MD5 b8c70652ccbd902006d83ac0c8fd213d
BLAKE2b-256 86e430ce7edf07af0d5b81df8882120fe28d6ab33adb56c49bd059f96f1a5f2e

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