This repository contains a collection of Python code examples demonstrating various concepts and techniques. The project uses Python 3.11 and includes unit tests to ensure the correctness of the implemented solutions.
- Python 3.11
- pip (Python package installer)
- Clone the repository:
git clone https://github.com/amscotti/python_code_examples.git
- Change to the project directory:
cd python_code_examples
- Create a virtual environment (optional, but recommended):
python -m venv venv
- Activate the virtual environment:
source venv/bin/activate
- Install the required packages:
pip install -r requirements.txt
This project uses pytest
for running unit tests. To run the tests, execute the following command in the project directory:
pytest