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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba76704f5ba875a7f8f524590863e6db0be70e5b016dfe301271c5e7777a61aa
|
|
| MD5 |
2d66b3b439414bb8b3659e225e50901a
|
|
| BLAKE2b-256 |
54048fffec2f1790d84dfeaf631ca064d0b2341c6a1093c415bc565663204ecc
|
File details
Details for the file currency_rate_bcv-0.1.0-py3-none-any.whl.
File metadata
- Download URL: currency_rate_bcv-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca99c0380cff5e15f1ac0576a78d719d14eb1b01b7befc1723f3852db4bb3a51
|
|
| MD5 |
b8c70652ccbd902006d83ac0c8fd213d
|
|
| BLAKE2b-256 |
86e430ce7edf07af0d5b81df8882120fe28d6ab33adb56c49bd059f96f1a5f2e
|