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
Close
Hashes for calculadora-do-cidadao-0.5.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7f725a9b012a0727b41a4c71a5b0da4a993e74b903adf4056ac1b50aa50dd86 |
|
MD5 | a84f25a5843c050330039bb6cd04a02b |
|
BLAKE2b-256 | 6248e2349c474d38de55bf38d542a165b7379c8b0e93018d4c857464cc18e151 |
Close
Hashes for calculadora_do_cidadao-0.5.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb523423c9ec81bc770ab3613beea964ec8f53dd32766283b18c6dea609c0f11 |
|
MD5 | 163a86a94430fb8d29abaf615dedd932 |
|
BLAKE2b-256 | d7bd479d66429020b0e8cc156655acabf064adaf98bb6b06ce4fb76dc3647809 |