immo tools lib
installation
avec pip :
pip install immo-tools-lib
avec poetry :
poetry add immo-tools-lib
usage
from immo_tools import calculator
duration = 300
amount = 250000
year_rate = 1.5
insurance_rate = .26
loan = calculator.build_loan(
duration,
amount,
year_rate,
insurance_rate,
build_summary=True,
duration_unit='month')
# Tableau d'amoritssement :
loan.summary
# montant total des intérêts payés :
loan.get_interests()
# mensualités sans assurance :
loan.get_monthly()
# Coût de l'emprunt au bout de 10 ans :
loan.get_cost(10)
développement
tests
lancer les tests :
pytest
avec le coverage :
pytest --cov
lancer les tests avec nox : (attention, c'est super long !):
nox -r
Permet de lancer les tests sur plusieurs versions de python et de manière isollée.
Nox crée son propre environnement virtuel et y install les dépendances.
L'option -r permet déviter de recréer tout l'environnement virtuel à chaque fois.
build & publish
build :
poetry build
publish sur pypi :
poetry publish --build
Metadata
Release files for immo-tools-lib 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| immo-tools-lib-0.1.3.tar.gz | 4.2 kB | Without provenance | Details for immo-tools-lib-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| immo_tools_lib-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for immo_tools_lib-0.1.3-py3-none-any.whl |
Total release size: 8.4 kB
Release files / immo-tools-lib-0.1.3.tar.gz
| Download URL | immo-tools-lib-0.1.3.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b09ba78994ce6ad1c753db8ce730dae89efa6a62ac485d68efb8311497db55f5
|
|
BLAKE2b-256 checksum How to use checksums |
e4b28039ebcc1cc3905339cbfb79e783c66946681970016fade1f780ce596d25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.2 CPython/3.7.6 Windows/10
|
Release files / immo_tools_lib-0.1.3-py3-none-any.whl
| Download URL | immo_tools_lib-0.1.3-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
33fed29fd7f709cceeb1fdb16538af3db231ce7c2378764b47a91d6a97121c0d
|
|
BLAKE2b-256 checksum How to use checksums |
ae950f702e2b443091efdc09785ee92719f65baabceb1312d8d7a37f1c6f4f9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.2 CPython/3.7.6 Windows/10
|
Security for immo-tools-lib 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.