Development¶
Contributing to and extending PILS.
Sections¶
-
System design and component overview
Class hierarchy • Data flow • Design patterns
-
Test-driven development practices
pytest • Coverage • TDD workflow
-
How to contribute to PILS
Git workflow • Pull requests • Code review
-
Extend PILS with new sensor types
Sensor interface • Registration • Examples
-
Coding standards and conventions
Python style • Type hints • Documentation
-
Versioning rules for PILS
Versioninig rules explained
Quick Links¶
Development Setup¶
# Clone repository
git clone https://github.com/polocalc/pils.git
cd pils
# Create conda environment
conda create -n dm python=3.10
conda activate dm
# Install in development mode
pip install -e ".[dev]"
# Run tests
pytest tests/ -v
# Format code
black pils/ tests/
isort pils/ tests/
See Also¶
- Getting Started - User installation
- API Reference - API documentation