Skip to main content

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

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

venezuela-dollar-price-0.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

venezuela_dollar_price-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file venezuela-dollar-price-0.1.0.tar.gz.

File metadata

File hashes

Hashes for venezuela-dollar-price-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3ebe540acb53b5ab891ef8c95a66b2d7d460771c99160051db4c169d662c1157
MD5 f921b440bc67e07ba62a4302867fb734
BLAKE2b-256 cca8a9fcda6477eed6300af04a0ae48f39a604f0180bc7c295fc0708ebb7a352

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for venezuela_dollar_price-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c31491324ade6b907b1fc9a9580ec2e83f185fa69d38951b8dc36e2332ea1164
MD5 9b50b7391f8cd7263a9393544e1a8f6c
BLAKE2b-256 d2799423a48feb92c20aec4b2fdccb6c54956b86b40c34dc71cfdd54e558583e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page