Metadata-Version: 2.1
Name: geld
Version: 0.3.0
Summary: A library to handle money operations
Home-page: https://github.com/affonsobrian/geld
License: MIT
Keywords: money,exchange,currency,conversion
Author: Affonso Brian Pereira Azevedo
Author-email: contato.affonsobrian@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: requests (>=2.28.2,<3.0.0)
Project-URL: Repository, https://github.com/affonsobrian/geld
Description-Content-Type: text/markdown

# 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:
```python
from geld.clients import sync_client as client
result = client.convert_currency("USD", "BRL", 25, "2021-12-05")
print(result)
```

Result:
```
141.0127535205030424592109739
```
