An open API service indexing awesome lists of open source software.

https://github.com/git-ced/physics-calculator

Making our Physics class worthwhile
https://github.com/git-ced/physics-calculator

Last synced: 3 days ago
JSON representation

Making our Physics class worthwhile

Awesome Lists containing this project

README

          

# physics-calculator
Making our Physics class worthwhile

# Getting Started

Initialize virtual python environment with `venv`

```bash
python3 -m venv venv
```

Activate the virtual environment

```bash
source venv/bin/activate
```

Install the required packages

```bash
pip install -r requirements.txt
```

And you are good to go!

# Running the script

Running the main file with `python3`

```bash
python3 src/index.py
```

# Testing the code

Running all test cases with `unittest`

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

# Adding Packages

Installing a package with `pip`

```bash
pip install
```

Adding the installed package in the `requirements.txt`

```bash
pip freeze > requirements.txt
```