A library to handle money operations
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
geld-0.3.0.tar.gz
(7.8 kB
view details)
Built Distribution
geld-0.3.0-py3-none-any.whl
(9.7 kB
view details)
File details
Details for the file geld-0.3.0.tar.gz
.
File metadata
- Download URL: geld-0.3.0.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.11.0 Linux/6.0.14-300.fc37.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f4ff6927834bba94e4c1aa8441865e53b9ca92889be031c1b37d766bab0c829 |
|
MD5 | b19edf68f3d5b8e16432ab71c323e38f |
|
BLAKE2b-256 | 1a79e99b1dffab19ac6bd042a6b767d6d2418a00c758215b4f76fc7f977d61c3 |
File details
Details for the file geld-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: geld-0.3.0-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.11.0 Linux/6.0.14-300.fc37.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e002455b61ef92e3dd6a1e5bd4c526b6edd22bb308e9d398b1d9a74664e53896 |
|
MD5 | 53a2eca1945027384dcdaa35198e79c5 |
|
BLAKE2b-256 | 27af5af9f0ff5523cfbd7dfb26aabe6705cbcc331fe4d6e017711f88c83abe38 |