interior-boq
Bill of quantities (BOQ) and quote maths for home-interior projects. It's India-ready (GST-inclusive rates, CGST/SGST or IGST) and has no dependencies.
- Line amounts: rate × qty, with taxable value and GST worked back from GST-inclusive rates
- A/B options: lines can share an option group ("Kitchen top": granite A / quartz B); only the chosen line counts, and open choices are reported
- Totals by room and by work category, with lines awaiting approval kept apart
- Scope: lines you supply vs lines the client buys from their own vendor (shown as a separate estimate)
- Cost and margin (optional), for internal views only
- Fingerprint of an approved BOQ, so you can tell if anything changed after sign-off
- Quote totals: discount taken on the value before GST, then GST recalculated, with an optional cap for % coupons
- Standard categories (civil, carpentry, electrical, plumbing and more), units (sq ft, running ft, nos…) and rooms
- Area units:
sqft_to_sqm()/sqm_to_sqft(), and totals report the area of sq ft and sq m lines in both units (area_sqft,area_sqm)
Built from the BOQ engine Hexaspace uses on real projects. No prices are included: bring your own rates.
Install
pip install interior-boq
Example
from interior_boq import totals, quote_totals
lines = [
{"id": "1", "room": "Kitchen", "category": "carpentry", "unit": "rft", "qty": 10, "rate": 1180, "cost_rate": 700},
{"id": "2a", "room": "Kitchen", "category": "civil", "qty": 1, "rate": 5900, "option_group": "Top", "option_label": "A"},
{"id": "2b", "room": "Kitchen", "category": "civil", "qty": 1, "rate": 11800, "option_group": "Top", "option_label": "B"},
]
totals(lines, with_cost=True, choices={"Top": "2b"})
# {'amount': 23600, 'taxable': 20000.0, 'gst': 3600.0, 'by_room': {'Kitchen': 23600}, 'margin_pct': 30.0, ...}
quote_totals([{"unit_price": 1180, "qty": 10}], discount={"pct": 10}, intra_state=True)
# discount on taxable value, GST recalculated: total 10620, cgst 810, sgst 810
Rates in the examples are made up.
Roadmap
- Area-based quick estimates (carpet area → BOQ starter)
- Export to Excel and PDF
- Change orders (variations after sign-off)
Pull requests are welcome: see issues labelled good first issue.
Licence
MIT. Maintained by Hexaspace.
Metadata
Release files for interior-boq 0.1.0
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 |
|---|---|---|---|---|
| interior_boq-0.1.0.tar.gz | 7.5 kB | With provenance | Details for interior_boq-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| interior_boq-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for interior_boq-0.1.0-py3-none-any.whl |
Total release size: 15.1 kB
Release files / interior_boq-0.1.0.tar.gz
| Download URL | interior_boq-0.1.0.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ad538f2f1b3a7cb452e631896aa7925e0537b3962ab2824fec4d932cc07069fa
|
|
BLAKE2b-256 checksum How to use checksums |
7ef9f09262e6cdedd44541cf7769c4c955c73762a630b9a1884c05501eba161d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logRelease files / interior_boq-0.1.0-py3-none-any.whl
| Download URL | interior_boq-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
909a94ebb6dd69da46b016bb656a9f8f0fde55b5d2458f92ad63605fef2069e7
|
|
BLAKE2b-256 checksum How to use checksums |
bb1e4a885e0d8642549c0dcf477fe72345ae769673426fa75f1836745f4bae18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logSecurity for interior-boq 0.1.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for interior_boq-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logA 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.