Utility-grade electricity billing engine supporting prepaid, LT and HT consumers
Project description
⚡ VoltEngine
The Universal Utility Billing Framework
VoltEngine is an industry-ready Python library designed to automate complex electricity billing cycles. From simple domestic slab rates (LT) to complex industrial demand charges (HT), VoltEngine provides a modular math-heavy core to ensure zero-error invoicing.
🎯 Domain Coverage
- LT Postpaid: Residential/Commercial slab-based billing.
- LT Prepaid: Real-time credit-to-energy conversion logic.
- HT (High Tension): Industrial billing featuring Demand Charges, Power Factor (PF) adjustments, and Time-of-Day (ToD) tariffs.
⚙️ Core Logic Flow
The engine processes data through a structured pipeline to ensure compliance with regulatory standards:
- Input Layer: Consumes KWh (Active), KVAh (Apparent), and MD (Maximum Demand).
- Tariff Resolver: Matches consumer type to specific state/utility rate cards.
- Calculation Engine: Processes fixed charges, energy charges, and penalties.
- Taxation Module: Applies Duty, GST, and Surcharges.
- Output Layer: Generates a structured JSON objects ready for PDF invoicing or API consumption.
🛠️ Tech Stack
- Engine: Python 3.10+ (Logic & Math)
- Validation: Pydantic (Data integrity)
- API Layer: FastAPI (High-speed integration)
- UI/Simulator: Streamlit (For real-time billing simulation)
Project details
Release history Release notifications | RSS feed
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 voltengine-0.1.2.tar.gz.
File metadata
- Download URL: voltengine-0.1.2.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a985f62f49f13d620e592b4ed48a4606fd651478326d3adddda150762359510c
|
|
| MD5 |
d42c6d4ff3d77ef4d44b945057de50a1
|
|
| BLAKE2b-256 |
7789f8ec87f2de8d88f45bd43b7bdcb7a3162e05e242fd6b6f9530b75232246e
|
File details
Details for the file voltengine-0.1.2-py3-none-any.whl.
File metadata
- Download URL: voltengine-0.1.2-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66a6f10355cfbd84bb137b4e661bfe6616b23f26624db0a1a5558e3a2ee3a9da
|
|
| MD5 |
b4b7f46954e47c2d91760c11a396863c
|
|
| BLAKE2b-256 |
27715ca980850e40c9e02be71ef015e8dfdac3826db88000858436052b99406f
|