A package to get the dollar price in Venezuela
Project description
Venezuela Dollar Price
venezuela_dollar_price is a Python library created to retrieve the current dollar price in Venezuela. It is simple to use and requires minimal setup.
Features
- Get the latest dollar price in Venezuelan Bolivars.
- Retrieve historical dollar prices.
- User-friendly and intuitive to use.
Installation
Use the package manager pip to install venezuela-dollar-price.
pip install venezuela-dollar-price
Usage
import venezuela_dollar_price as vdp
# get the latest dollar price (BCV)
latest_price = vdp.get_latest_price("bcv")
print(latest_price.rate)
# get the latest dollar price ("binance")
latest_price = vdp.get_latest_price("binance")
print(latest_price.rate)
# get the latest dollar price ("parallel")
latest_price = vdp.get_latest_price("prom_epv")
print(latest_price.rate)
# get historical prices of the dollar (BCV)
# Note: only works for the BCV and EPV
# minimum date: 2020-12-14
historical_prices = vdp.get_historical_prices(start_date="2020-01-01", end_date="2023-01-31")
for price in historical_prices:
print(price.date, price.rate)
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.
License
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 venezuela-dollar-price-0.1.0.tar.gz.
File metadata
- Download URL: venezuela-dollar-price-0.1.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ebe540acb53b5ab891ef8c95a66b2d7d460771c99160051db4c169d662c1157
|
|
| MD5 |
f921b440bc67e07ba62a4302867fb734
|
|
| BLAKE2b-256 |
cca8a9fcda6477eed6300af04a0ae48f39a604f0180bc7c295fc0708ebb7a352
|
File details
Details for the file venezuela_dollar_price-0.1.0-py3-none-any.whl.
File metadata
- Download URL: venezuela_dollar_price-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c31491324ade6b907b1fc9a9580ec2e83f185fa69d38951b8dc36e2332ea1164
|
|
| MD5 |
9b50b7391f8cd7263a9393544e1a8f6c
|
|
| BLAKE2b-256 |
d2799423a48feb92c20aec4b2fdccb6c54956b86b40c34dc71cfdd54e558583e
|