A collection of demos, utilities, and implementation tests built during Tech Week @SL.
techWeekSL/
├── common/ # Common modules (e.g., string_reverser)
├── demos/ # Demo projects
├── shared/ # Shared utilities and helper modules
├── specs/ # Test specifications
├── requirements.txt # Project dependencies
└── conftest.py # PyCharm sample script
- Python 3.12+
- pip
# Clone the repository
cd techWeekSL
# Create a virtual environment
python -m venv venv
source venv/bin/activate # Linux/macOS
# Install dependencies
pip install -r requirements.txtRun all tests:
python -m pytest specs/test_all.py -vFormat code with black:
black . --exclude=venvCheck formatting without making changes:
black . --check --exclude=venvRun individual demo modules:
python -m demos.simple
python -m common.string_reverserstring_reverser.py- String reversal utility
utils.py- Common utilities (e.g., flatten nested lists)
simple.py- Simple greeting demo
test_all.py- Comprehensive test suite
- Language: Python 3.12+
- Testing: pytest
- Code Formatting: black
- Package Management: pip / venv