Metadata-Version: 2.4
Name: tenancy
Version: 0.1.0
Summary: Lightweight Python utility for lease agreement calculations, rent indexation, payment schedules, and notice periods.
Author-email: Rylse Solutions <hello@rylse.com>
License-Expression: MIT
Keywords: tenancy,lease,rent-calculator,indexation,real-estate,proptech,landlord
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# 📑 tenancy

A lightweight, zero-dependency Python utility for lease schedule generation, inflation-based rent adjustments (indexation), deposit tracking, and notice period calculations.

## ⚡ Installation

```bash
pip install tenancy
```

## 🚀 Quickstart

```bash
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.
