Contributing
Dev Setup
bash
git clone https://github.com/Ember-Foundation/ember.git
cd ember
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
# Optional: compile Cython extensions for full performance
pip install cython
python setup.py build_ext --inplaceRunning Tests
bash
pytestCode Style
- Python 3.12+, type hints everywhere
- No comments unless the why is non-obvious
- Keep
.pyx/.pxdin sync when addingcdeffields - New features need a test
Cython Hot Paths
After modifying any .pyx file:
bash
python setup.py build_ext --inplacePull Requests
- Fork and create a feature branch
- Write or update tests — all must pass
- Open a PR against
master
Reporting Issues
- Bug report — include Python version, OS, and a minimal reproduction
- Feature request