This is a School Project, it's not called MyLibrary because it has anything to do with a library, but because it's a project that we created to learn Python.
I am going to have examples of code inside this one file as functions and should be able to call them from another function in the same file or a different file.
In order to run:
- Clone the repository
- Open the terminal and navigate to the project directory
- Create a virtual environment using the command
python -m venv .venvand activate it usingsource .venv/bin/activate(Linux/Mac) or.venv\Scripts\activate.csh(Windows CMD) or.venv\Scripts\activate.ps1(Windows PowerShell) - Install the required dependencies using the command
pip install -r requirements.txt - Run the command
python main.pyto execute the main file which will call the
Simple block because I am lazy:
Will require the GitHub CLI (as I like it) to run the command, you can install it from https://cli.github.com/
gh repo clone y22hxmbl/Python-MyLibrary && cd Python-MyLibrary && python -m venv .venv && source .venv/bin/activate && pip install -r requirements.txt && python src/main.py