Geld
A library to easily handle currency conversions.
Official documentation
- We do not have an official documentation yet, we are working on this.
Data origin
Currently the API used to get the values is https://theforexapi.com/api. (If the forex API the default client will not work) We are working to make the lib extensable so you can pick info from different sources in the future.
How to install
pip install geld
How to use the Sync Client
Code:
from geld.clients import sync_client as client
result = client.convert_currency("USD", "BRL", 25, "2021-12-05")
print(result)
Result:
141.0127535205030424592109739
Metadata
Release files for geld 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| geld-0.3.0.tar.gz | 7.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| geld-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.5 kB
Release files / geld-0.3.0.tar.gz
| Download URL | geld-0.3.0.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f4ff6927834bba94e4c1aa8441865e53b9ca92889be031c1b37d766bab0c829
|
|
BLAKE2b-256 checksum How to use checksums |
1a79e99b1dffab19ac6bd042a6b767d6d2418a00c758215b4f76fc7f977d61c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.11.0 Linux/6.0.14-300.fc37.x86_64
|
Release files / geld-0.3.0-py3-none-any.whl
| Download URL | geld-0.3.0-py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e002455b61ef92e3dd6a1e5bd4c526b6edd22bb308e9d398b1d9a74664e53896
|
|
BLAKE2b-256 checksum How to use checksums |
27af5af9f0ff5523cfbd7dfb26aabe6705cbcc331fe4d6e017711f88c83abe38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.11.0 Linux/6.0.14-300.fc37.x86_64
|