Follow Python best practices:

- Use type hints for function parameters and return values
- Follow PEP 8 style guide
- Use f-strings for string formatting
- Use context managers (with statements) for resource management
- Write docstrings for classes and functions
- Prefer composition over inheritance
