This application calculates the estimated Gross Pre-Tax Annual Income required to achieve a user-specified Desired Annual Post-Tax Income, considering various US taxes and deductions. It is built using the Flet framework (Python).
- Python 3.7 or newer
- pip (Python package installer)
- Clone the repository (if applicable) or ensure you have the
tax_calculator.py
file. - Navigate to the project directory in your terminal:
cd /path/to/your/TaxCalc # Replace with the actual path
- Create and activate a virtual environment (recommended):
- On macOS/Linux:
python3 -m venv venv source venv/bin/activate
- On Windows:
python -m venv venv .\venv\Scripts\activate
- On macOS/Linux:
- Install the required dependencies:
pip install -r requirements.txt
You can run this application either as a native desktop app or as a web app in your browser.
Execute the following command in your terminal (ensure your virtual environment is activated):
flet run tax_calculator.py
This will launch the calculator as a standard desktop window.
Execute the following command in your terminal (ensure your virtual environment is activated):
flet run -w tax_calculator.py
This will start a local web server and typically open the application automatically in your default web browser. If it doesn't open automatically, the terminal output will provide a URL (usually http://localhost:8550
or similar) that you can navigate to.