Skip to main content
# 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
```

Metadata

Release files for django-bnr-exchangerate 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-bnr-exchangerate 0.1.0
File Size Uploaded Provenance
django-bnr-exchangerate-0.1.0.tar.gz 2.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for django-bnr-exchangerate 0.1.0
File Interpreter ABI Platform
django_bnr_exchangerate-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.3 kB

Release files / django-bnr-exchangerate-0.1.0.tar.gz

Download URL django-bnr-exchangerate-0.1.0.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a91db3a5b7c4e3d0e33eee1838bb0306d6daa1a61c95d975e24289dd42819bb7
BLAKE2b-256 checksum
How to use checksums
3f1e3c547aa24ae960de2920ad0dee5d0fe1d8839b2f6a42cf03c98635ec72a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_bnr_exchangerate-0.1.0-py3-none-any.whl

Download URL django_bnr_exchangerate-0.1.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
051377219c1746c3418776271ad67a9a807fa75274e6fbb3d2a030ecb5c00f16
BLAKE2b-256 checksum
How to use checksums
60e15ba53b6711d8bf812e3cc3b83fd547be855f90333970f955b7af20f3089e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-bnr-exchangerate 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page