Bulgarian National Bank - get history exchage rates
Project description
bnbxrate
Provides historical exchange rates USD/BGN for a given date. The main source of the data is Bulgarian National Bank - .
Usage
bnbxrate '01.01.2020'
In this case the provided date was a national holiday, so the result is for the last working day:
{'31.12.2019': '1.74099'}
The date format should be in '%d.%m.%Y'.
Installation
Create a virtual environment with python3.6+, before running the code.
git clone https://github.com/hristo-mavrodiev/bnbxrate.git
cd bnbxrate
pip install -r requirements.txt
python setup.py install
License
MIT
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
bnbxrate-0.1.0.tar.gz
(7.6 kB
view details)
File details
Details for the file bnbxrate-0.1.0.tar.gz
.
File metadata
- Download URL: bnbxrate-0.1.0.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 894f1e2ba581867b617e82f4d784e95d2303ca055def308c87de90aa208048a7 |
|
MD5 | f93d4d6c5d67936ffe18fd7badd5ee89 |
|
BLAKE2b-256 | 4f09cbbff36ac82a1ef72a9a524db054549bcab1b81a55de1e6275dad1631962 |