Django currency exchange library
Project description
Django XChange
Django XChange is a library providing a Rate model containing currency exchange rates for a day.
It relies on third-party libraries to fetch historical exchange rates.
How to use
Default configuration is defined at src/django_xchange/config.py::DEFAULT_SETTINGS
A Django settings DJANGO_XCHANGE dictionary must be configured to override the default settings.
It is mandatory to configure the DJANGO_XCHANGE['BROKERS'] item with a list of brokers you intend to use.
For example:
DJANGO_XCHANGE = {
'BROKERS': ['django_xchange.brokers.pyoxr.PyoxrBroker']
}
See specific notes for the third-party exchange providers configuration
Third-party libraries
Open Exchange Rates
Requirements:
- extra: pyoxr (eg.
pip install django-xchange[pyoxr]) - settings: OPEN_EXCHANGE_RATES_APP_ID the app id provided by Open Exchange Rates
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_xchange-0.2.0.tar.gz.
File metadata
- Download URL: django_xchange-0.2.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a328bbd7793b694d98eaa8542198ab00eab75a8f19795a04e347c79849af0914
|
|
| MD5 |
073b2ef5d7246fe7d280e0daac8099fc
|
|
| BLAKE2b-256 |
b92e2f020d423204e76e0f532ebe78e9a4e76d82309f309d740cc22344e50c1d
|
Provenance
The following attestation bundles were made for django_xchange-0.2.0.tar.gz:
Publisher:
release.yml on k-tech-italy/django-xchange
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_xchange-0.2.0.tar.gz -
Subject digest:
a328bbd7793b694d98eaa8542198ab00eab75a8f19795a04e347c79849af0914 - Sigstore transparency entry: 704906660
- Sigstore integration time:
-
Permalink:
k-tech-italy/django-xchange@63a9b43c0847908c10953ee4e2e1919b188450a2 -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/k-tech-italy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@63a9b43c0847908c10953ee4e2e1919b188450a2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file django_xchange-0.2.0-py3-none-any.whl.
File metadata
- Download URL: django_xchange-0.2.0-py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bedd32936314e3e2eccd3af4f395151aff40175ca882cc2933d1ea8261d63f4
|
|
| MD5 |
3424811cd028af017ffabd62db6d26f1
|
|
| BLAKE2b-256 |
a19024b29a06902a1bab2cb53d7f66821be087384b2c1910059767d27aa2c101
|
Provenance
The following attestation bundles were made for django_xchange-0.2.0-py3-none-any.whl:
Publisher:
release.yml on k-tech-italy/django-xchange
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_xchange-0.2.0-py3-none-any.whl -
Subject digest:
7bedd32936314e3e2eccd3af4f395151aff40175ca882cc2933d1ea8261d63f4 - Sigstore transparency entry: 704906669
- Sigstore integration time:
-
Permalink:
k-tech-italy/django-xchange@63a9b43c0847908c10953ee4e2e1919b188450a2 -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/k-tech-italy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@63a9b43c0847908c10953ee4e2e1919b188450a2 -
Trigger Event:
push
-
Statement type: