This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A django application to help with exchangerates from bnr.ro

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 settings.py
```
'bnr_exchangerate',
```
## 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
```
./manage.py get_history
```
To update daily exchange rate run the following command
```
./manage.py get_daily
```
Release History

Release History

This version
History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_bnr_exchangerate-0.1.0-py3-none-any.whl (4.1 kB) Copy SHA256 Checksum SHA256 3.5 Wheel Oct 26, 2015
django-bnr-exchangerate-0.1.0.tar.gz (2.2 kB) Copy SHA256 Checksum SHA256 Source Oct 26, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting