Tool for Brazilian Reais monetary adjustment/correction
Project description
Calculadora do Cidadão
Pacote em Python para correção de valores. Confira a documentação e o mini-guia de contribuição para mais detalhes!
Exemplo de uso
In [1]: from datetime import date
...: from decimal import Decimal
...: from calculadora_do_cidadao import Ipca
In [2]: ipca = Ipca()
In [3]: ipca.adjust(date(2018, 7, 6))
Out[3]: Decimal('1.051202206630561280035407253')
In [4]: ipca.adjust("2014-07-08", 7)
Out[4]: Decimal('9.407523138792336916983267321')
In [5]: ipca.adjust("12/07/1998", 3, "01/07/2006")
Out[5]: Decimal('5.279855889296777979447848574')
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 calculadora-do-cidadao-1.0.0.tar.gz.
File metadata
- Download URL: calculadora-do-cidadao-1.0.0.tar.gz
- Upload date:
- Size: 39.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.4 Darwin/22.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2de8ef10c5bdf565365165ae07b2d6a191dffd8a5cb8940827929437fcd5fe57
|
|
| MD5 |
a7ce2b8f5f84382caa37302f08961b21
|
|
| BLAKE2b-256 |
c4593dcd6b1aea6b9052f8253dd49e9509842edeed9af09d61e25de9e5a87188
|
File details
Details for the file calculadora_do_cidadao-1.0.0-py3-none-any.whl.
File metadata
- Download URL: calculadora_do_cidadao-1.0.0-py3-none-any.whl
- Upload date:
- Size: 48.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.4 Darwin/22.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1f86be4644c0a9e5440f2eb580eaaa8129f70d0ba0d89cc367ca8e4f58bfca0
|
|
| MD5 |
3acb11474a3a716b9ec3ca96962c3fef
|
|
| BLAKE2b-256 |
cb698e7386397e6307e42a63e85c9fd3ab5be3a5912c7e30a1e9ecb9a7a47cfd
|