A simple web application for tracking personal expenses with multi-language support and PDF report generation.
- Add and categorize expenses
- View expenses in a table
- Download expenses as a PDF report
- Multi-language support (English, Spanish, Dutch)
- Python 3.8+
- See requirements.txt for Python dependencies
-
Clone the repository:
git clone <repository-url> cd ExpenseTracker
-
Install dependencies:
pip install -r requirements.txt
-
Install wkhtmltopdf (for PDF export):
- Download from wkhtmltopdf.org and add to your PATH.
-
Run the app:
streamlit run app.py
-
Open your browser to the URL provided by Streamlit (usually http://localhost:8501).
app.py
- Main Streamlit applicationdatabase.py
- SQLite database functionspdf_utils.py
- PDF generation utilitytranslator.py
- Translation loader and helpertranslations/
- JSON translation filesrequirements.txt
- Python dependencies
- Create a new JSON file in
translations/
(e.g.,fr.json
). - Add the translated keys and values.
- Add the language option in the sidebar selectbox in
app.py
.