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.1.tar.gz (4.2 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.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file voltengine-0.1.1.tar.gz.

File metadata

  • Download URL: voltengine-0.1.1.tar.gz
  • Upload date:
  • Size: 4.2 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.1.tar.gz
Algorithm Hash digest
SHA256 68210b42c103864f0aad38a95557c9cff96b90935ca7aa91518c82d4c746b5be
MD5 9acdedeebfbaaf186d23734cf8eef5e6
BLAKE2b-256 a4d7108cca4188c0653610b2b7d389f32665c2232af9ee4d3a4229a519d8c487

See more details on using hashes here.

File details

Details for the file voltengine-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: voltengine-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6477aa8cfb213549d7d1c9e2331f7161d28cd70b1919dbdb58febcf64ba27add
MD5 c86a9d5288c58ecd66e744223bf4a5a8
BLAKE2b-256 169abe1ad9bad46d7aa573e09f0266d7d48b9db30ecb34b6995b4c75e262e07f

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