Skip to main content

Django XChange

Pypi coverage Test Docs Django Supported Python versions

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

Metadata

Release files for django-xchange 0.2.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-xchange 0.2.0
File Size Uploaded
django_xchange-0.2.0.tar.gz 8.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-xchange 0.2.0
File Interpreter ABI Platform
django_xchange-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 21.0 kB

Release files / django_xchange-0.2.0.tar.gz

Download URL django_xchange-0.2.0.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a328bbd7793b694d98eaa8542198ab00eab75a8f19795a04e347c79849af0914
BLAKE2b-256 checksum
How to use checksums
b92e2f020d423204e76e0f532ebe78e9a4e76d82309f309d740cc22344e50c1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2025.

Transparency log

Release files / django_xchange-0.2.0-py3-none-any.whl

Download URL django_xchange-0.2.0-py3-none-any.whl
Size 12.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7bedd32936314e3e2eccd3af4f395151aff40175ca882cc2933d1ea8261d63f4
BLAKE2b-256 checksum
How to use checksums
a19024b29a06902a1bab2cb53d7f66821be087384b2c1910059767d27aa2c101
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

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