/physics-calculator

Making our Physics class worthwhile

Primary LanguagePythonMIT LicenseMIT

physics-calculator

Making our Physics class worthwhile

Getting Started

Initialize virtual python environment with venv

python3 -m venv venv

Activate the virtual environment

source venv/bin/activate

Install the required packages

pip install -r requirements.txt

And you are good to go!

Running the script

Running the main file with python3

python3 src/index.py

Testing the code

Running all test cases with unittest

python3 -m unittest discover -s src/test -t src

Adding Packages

Installing a package with pip

pip install <package-name>

Adding the installed package in the requirements.txt

pip freeze > requirements.txt