Skip to main content

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:

  1. Input Layer: Consumes KWh (Active), KVAh (Apparent), and MD (Maximum Demand).
  2. Tariff Resolver: Matches consumer type to specific state/utility rate cards.
  3. Calculation Engine: Processes fixed charges, energy charges, and penalties.
  4. Taxation Module: Applies Duty, GST, and Surcharges.
  5. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

voltengine-0.1.2.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

voltengine-0.1.2-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

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

Hashes for voltengine-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a985f62f49f13d620e592b4ed48a4606fd651478326d3adddda150762359510c
MD5 d42c6d4ff3d77ef4d44b945057de50a1
BLAKE2b-256 7789f8ec87f2de8d88f45bd43b7bdcb7a3162e05e242fd6b6f9530b75232246e

See more details on using hashes here.

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

Hashes for voltengine-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 66a6f10355cfbd84bb137b4e661bfe6616b23f26624db0a1a5558e3a2ee3a9da
MD5 b4b7f46954e47c2d91760c11a396863c
BLAKE2b-256 27715ca980850e40c9e02be71ef015e8dfdac3826db88000858436052b99406f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page