Desktop app to manage TNEB/TANGEDCO electricity meter readings (R/Y/B), calculate bi‑monthly bills with tariff slabs, and export reports to Excel.
- Clean Tkinter GUI for reading input and validation
- Bill calculation with slab breakdown and threshold warnings
- Results panel and rotation recommendations
- Exports: TANGEDCO format, summary, and detailed history (Excel/CSV)
- Storage: SQLite (default) or CSV, with backup/restore
Requirements: Python 3.8+ and Tk support.
Install dependencies:
python -m pip install -r requirements.txtRun the app:
python main.pyA helper script builds a single-file exe:
./build_exe.ps1Output: dist\tneb_manager.exe
Notes:
- If
tkinteris missing on Linux, install it via your package manager (e.g.,sudo apt-get install python3-tk). - If you add new resource folders, update
build_exe.ps1to include them via--add-data.
models/ # billing logic and models
gui/ # Tkinter UI components
data/ # persistence, exports, and config helpers
main.py # entrypoint
See Help → About in the app. Credits are defined in credits.py.
MIT — see LICENSE.
This repo excludes build and runtime artifacts via .gitignore:
dist/,build/,*.spec,.venv/,__pycache__/- Runtime data under
data/(DB, backups, CSVs, config)