This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
- Run application:
python mux.py - Install dependencies: use
uvpackage manager, project requirements live in pyproject.toml
- Follow PEP 8 for Python code style
- Use type hints for all function parameters and return values
- Import organization: standard library, then third-party, then local
- Use dataclasses for structured data
- Use async/await for asynchronous code
- Error handling: use try/except blocks with specific exceptions
- Logging: use the provided logger (log) for all messages
- Variables: use snake_case for variable names
- Classes: use PascalCase for class names
- Functions: use snake_case for function names
- Constants: use UPPER_CASE for constants
- Object-oriented: prefer composition over inheritance
- Add docstrings to all functions and classes
- Use inline comments for complex logic