Skip to main content

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)

Source distribution for immo-tools-lib 0.1.3
File Size Uploaded
immo-tools-lib-0.1.3.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for immo-tools-lib 0.1.3
File Interpreter ABI Platform
immo_tools_lib-0.1.3-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page