Skip to main content

A django application to help with exchangerates from

Project description

# django-bnr-exchangerate
A django application that handles the updating and supplying of an exchange rate.
## Instalation
pip install django-bnr-exchangerate
Add to
## Example usage
Get an exchange rate for a value for a certain day.
If the day is on saturday or on sunday it will automatically get the friday exchange rate
from bnr_exchangerate.models import ExchangeRate
value = ExchangeRate.get_rate('EUR', '2015-10-10')
To import the history from 2005 to current year into the database execute the following command
./ get_history
To update daily exchange rate run the following command
./ get_daily

Project details

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_bnr_exchangerate-0.1.0-py3-none-any.whl (4.1 kB) Copy SHA256 hash SHA256 Wheel 3.5 Oct 26, 2015
django-bnr-exchangerate-0.1.0.tar.gz (2.2 kB) Copy SHA256 hash SHA256 Source None Oct 26, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page