WenFire 🔥 Financial Independence Calculator 💸
Welcome to the WenFire Financial Independence Calculator GitHub repository! This web application helps users visualize their journey to financial independence and early retirement by calculating and plotting various financial metrics. The app is built using FastAPI and Bootstrap, and it's currently hosted on at https://wenfire.nijho.lt/.
There are many such calculators available, however, I couldn't find one with the salary growth assumptions that I wanted. I also just wanted to play FastAPI, htmx, and Vega-Lite. So I built this calculator to scratch my own itch, and I hope you find it useful too! 😄
Features 🌟
- Responsive and mobile-friendly design using Bootstrap 📱
- Visualizations using Vega-Lite 📊
- Customizable assumptions for investment growth, inflation, and more ⚙️
- Calculates key metrics like retirement age, net worth, and safe withdrawal amounts 💰
Assumptions and Limitations 🔍
This calculator is a useful tool for estimating your journey to financial independence, but it's important to remember the following assumptions and limitations:
- 💹 Investment Growth: Assumes a fixed annual growth rate for your investments. Actual returns may vary due to market conditions.
- 💰 Inflation: Assumes a constant inflation rate throughout your journey. In reality, inflation rates can vary over time.
- 📈 Salary Increases: Assumes a constant annual salary increase. Changes in your career or job market can impact your income growth.
- 🛍️ Spending: Assumes constant monthly spending, adjusted for inflation. In real life, your expenses might change due to lifestyle changes or unexpected events.
- 💵 Safe Withdrawal Rate: Uses the popular 4% rule, which assumes that you can withdraw 4% of your portfolio annually without running out of money in retirement. This rule is based on historical data, and future market conditions might require adjustments to your withdrawal rate.
Always be prepared to review and adjust your financial plans based on your personal situation and the ever-changing world around us. Stay curious, keep learning, and always be prepared to adapt! 😃
How to Run Locally 🚀
- Clone this repository:
git clone https://github.com/basnijholt/wenfire.git - Navigate to the project folder:
cd wenfire - Install the required dependencies:
uv sync - Run the FastAPI server:
uv run uvicorn wenfire.app:app --reload - Open your browser and visit
http://localhost:8000/
Contributing 🤝
We welcome contributions to improve the WenFire Financial Independence Calculator! Feel free to submit an issue or pull request with your suggestions, bug reports, or feature requests. Happy coding! 🎉
Metadata
Release files for wenfire 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wenfire-0.2.0.tar.gz | 113.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wenfire-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 143.8 kB
Release files / wenfire-0.2.0.tar.gz
| Download URL | wenfire-0.2.0.tar.gz |
|---|---|
| Size | 113.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8d4b82ea2b800fef9fa2acbd25652d2b8c5f33f9e02d028f14b1456f56adffdd
|
|
BLAKE2b-256 checksum How to use checksums |
cc0f6e02744c933c93759abf0664bbfc51e0b1c69e4ceb15d77247565571fbf3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 22, 2026.
Transparency logRelease files / wenfire-0.2.0-py3-none-any.whl
| Download URL | wenfire-0.2.0-py3-none-any.whl |
|---|---|
| Size | 30.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d59274bd3857d6bced8c3c50757c3cd38d7022ee1d7b2aaf8ccea0b3fd0cdb15
|
|
BLAKE2b-256 checksum How to use checksums |
5a76ad039a8966aa071e5e11b96af7d7f2d8030596bb1918636c0ede6ab3188f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 22, 2026.
Transparency log