Skip to content

Latest commit

ย 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ Formula Calculator System

A dynamic Flask-based Formula Calculator web application that allows users to create custom engineering and mathematical formulas with unit conversion support, calculation history, and Excel export functionality.

โœจ Features โœ… Dynamic Formula Creation โœ… Variable-Based Calculations โœ… Unit Conversion System โœ… Common Unit Dropdown Support โœ… Scientific Formula Support (sqrt, powers, etc.) โœ… Calculation History โœ… Excel Export (.xlsx) โœ… Formula Edit/Delete โœ… Responsive UI using Bootstrap โœ… Cv (Flow Coefficient) Calculator Support ๐Ÿ–ฅ๏ธ Tech Stack Backend: Flask (Python) Frontend: HTML, CSS, Bootstrap, JavaScript Database: SQLite + SQLAlchemy Excel Export: Pandas + OpenPyXL ๐Ÿ“‚ Project Structure calculator/ โ”‚ โ”œโ”€โ”€ app/ โ”‚ โ”œโ”€โ”€ templates/ โ”‚ โ”œโ”€โ”€ static/ โ”‚ โ”œโ”€โ”€ models.py โ”‚ โ”œโ”€โ”€ routes.py โ”‚ โ”œโ”€โ”€ services.py โ”‚ โ”œโ”€โ”€ utils.py โ”‚ โ”œโ”€โ”€ unit_conversions.py โ”‚ โ””โ”€โ”€ init.py โ”‚ โ”œโ”€โ”€ exports/ โ”œโ”€โ”€ instance/ โ”œโ”€โ”€ run.py โ”œโ”€โ”€ requirements.txt โ””โ”€โ”€ README.md โš™๏ธ Installation 1๏ธโƒฃ Clone Repository git clone https://github.com/MetavalT/calculator.git 2๏ธโƒฃ Move Into Project cd calculator 3๏ธโƒฃ Create Virtual Environment python -m venv venv 4๏ธโƒฃ Activate Virtual Environment Windows venv\Scripts\activate Linux/Mac source venv/bin/activate ๐Ÿ“ฆ Install Dependencies pip install -r requirements.txt โ–ถ๏ธ Run Project python run.py

Server will start on:

http://127.0.0.1:5000 ๐Ÿงฎ Example Cv Formula

Formula:

Cv=Q DP โ€‹

SG โ€‹

โ€‹

Variables Variable Meaning Q Flow Rate SG Specific Gravity DP Pressure Drop ๐Ÿ” Supported Unit Conversions Flow Rate GPM LPM m3/hr Pressure PSI Bar kPa Speed km/hr m/s Time hr min sec ๐Ÿ“Š Excel Export

The application automatically exports:

Formula-wise sheets Values used Answers Created date & time

into:

exports/calculations.xlsx ๐Ÿ“ธ Screenshots Home Page Formula listing Recent calculations Navigation system Calculator Page Dynamic input fields Common unit selector Live calculation results ๐Ÿ› ๏ธ Future Improvements Dynamic Result Unit Detection Formula Validation Engine User Authentication PDF Export Advanced Engineering Calculators Graph Plotting Support ๐Ÿ‘จโ€๐Ÿ’ป Author

Developed by:

Torque๐Ÿ”ฅ

GitHub:

MetavalT Calculator Repository

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages