Metadata-Version: 2.5
Name: design-fee-calculator
Version: 0.1.0
Summary: Fee calculator for design, PMC and turnkey services: 8 fee models (lump sum, per sq ft, % of cost, monthly, per visit, hourly, per deliverable, BOQ), minimums, caps, GST and payment schedules. Indian number formatting.
Author: Hexaspace
License-Expression: MIT
License-File: LICENSE
Keywords: architecture,fee,gst,india,interior design,payment schedule,pmc,pricing
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Office/Business :: Financial :: Accounting
Requires-Python: >=3.10
Provides-Extra: test
Requires-Dist: pytest>=7; extra == 'test'
Description-Content-Type: text/markdown

# design-fee-calculator

Work out professional fees for interior design, architecture, PMC and turnkey services, and split them into a payment schedule.

- **8 fee models** that can be combined: fixed lump sum, rate per sq ft, % of project cost (on the estimate or on actual cost), monthly retainer, per visit, per hour, per deliverable or room, and as per BOQ
- **Minimum fee** and **cap** per component, plus an overall minimum for the plan
- **GST** shown separately (18% by default)
- **Payment schedule** by percentage or fixed amount, either for the whole fee or for one fee component. Instalments are triggered by signing, a stage starting or closing, a client approval, a date, every month, a visit, or a progress %
- A plain-English "how it was worked out" line for every component, ready for a proposal
- **Indian number formatting**: 12,34,567

Includes standard service types (design only, design + visits, PMC, turnkey, execution only, consultation, retainer, AMC) and stage names. **No rates are included**: you set your own. Built from the service-plan engine Hexaspace uses for proposals.

## Example

```python
from design_fee import calculate

plan = {"fee": [{"model": "per_sqft", "rate": 100, "minimum": 150000},
                {"model": "percent_cost", "rate": 5, "label": "Site supervision"}],
        "schedule": [{"label": "On signing", "pct": 20, "trigger": {"kind": "signing"}},
                     {"label": "Design frozen", "pct": 80, "trigger": {"kind": "approval", "on": "design"}}]}

calculate(plan, {"area_sqft": 1200, "est_cost": 2000000})
# fee 2,50,000 + GST 45,000; schedule 50,000 then 2,00,000
```

Rates in the example are made up.

## Licence

MIT. Maintained by [Hexaspace](https://hexaspace.in).
