Skip to main content

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! 😄

WenFire Screenshot

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:

  1. 💹 Investment Growth: Assumes a fixed annual growth rate for your investments. Actual returns may vary due to market conditions.
  2. 💰 Inflation: Assumes a constant inflation rate throughout your journey. In reality, inflation rates can vary over time.
  3. 📈 Salary Increases: Assumes a constant annual salary increase. Changes in your career or job market can impact your income growth.
  4. 🛍️ Spending: Assumes constant monthly spending, adjusted for inflation. In real life, your expenses might change due to lifestyle changes or unexpected events.
  5. 💵 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 🚀

  1. Clone this repository: git clone https://github.com/basnijholt/wenfire.git
  2. Navigate to the project folder: cd wenfire
  3. Install the required dependencies: uv sync
  4. Run the FastAPI server: uv run uvicorn wenfire.app:app --reload
  5. 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)

Source distribution for wenfire 0.2.0
File Size Uploaded
wenfire-0.2.0.tar.gz 113.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wenfire 0.2.0
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page