📑 tenancy
A lightweight, zero-dependency Python utility for lease schedule generation, inflation-based rent adjustments (indexation), deposit tracking, and notice period calculations.
⚡ Installation
pip install tenancy
🚀 Quickstart
from datetime import date
import tenancy
# Setup a 12-month lease agreement
lease = tenancy.LeaseAgreement(
monthly_rent=3200.0,
start_date=date(2026, 9, 1),
duration_months=12,
deposit_months=2,
notice_period_months=1
)
print(f"Total Contract Value: {lease.total_contract_value:,.2f}")
print(f"Security Deposit: {lease.security_deposit:,.2f}")
print(f"End Date: {lease.end_date}")
# Rent adjustment (e.g. 5.2% CPI inflation indexation)
new_rent = lease.index_rent(inflation_rate_pct=5.2)
print(f"Adjusted Rent: {new_rent:,.2f}")
⚠️ Disclaimer
This package is designed for computational and schedule-planning purposes only. It does not constitute formal legal counsel, contract drafting services, or tax advice. Standard statutory notice requirements vary by local jurisdiction; always verify lease clauses against applicable statutory housing laws.
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 tenancy-0.1.0.tar.gz.
File metadata
- Download URL: tenancy-0.1.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1c680880e99b97eb637a5b930798c12732aca3eac5f1010b833998bfb70f747
|
|
| MD5 |
667e8618afd5d303e50604146b347348
|
|
| BLAKE2b-256 |
9ecc318caf421690ae62c5fcab7b7e0b3d38d8e5ef3fdfd95435cca1df58156f
|
File details
Details for the file tenancy-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tenancy-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f610b48a30dbc7ea391d592e47ddffa37eafed7f6d2a5b1e1ec460f2ec7e1b5
|
|
| MD5 |
adc4a6b25158c2295259eeef84e6c56a
|
|
| BLAKE2b-256 |
08e6b519a229dc5f08b00cf43dc0886b2c59c086a4b6b6989c497769c87ab631
|