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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4632ce1bb97f4f44d98fa46538f48146083efbfbeb250d942f8004a0671a7a11 |
|
MD5 | fba5111d14f30172617bf19b7d6602ab |
|
BLAKE2b-256 | 0817a77f0a36ea3ebdcc016135f266e55dc8b0521e832e249a97e28d3be568d6 |
Close
Hashes for calculadora_do_cidadao-0.5.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b81b5e87d8a08897b79c102cc0e0dd361fdb87384aaa4090fbb586c6a6e139a |
|
MD5 | afb67ad0b3920ae2c58ac31aa5a082a3 |
|
BLAKE2b-256 | 16037e413be2d55f54a56b12453d438ccb14306d3bf77076c5dd407cfbc2ee5b |