There was an error while loading. Please reload this page.
This wiki describes developing aiochris itself. For client-side documentation of aiochris, see https://fnndsc.github.io/aiochris
aiochris
Install rye.
git clone git@github.com:FNNDSC/aiochris.git cd aiochris rye sync
Start up miniCHRIS
rye run pytest
rye fmt
pdoc can run its own HTTP server with hot-reloading:
pdoc
rye run pdoc -p 7777 --no-browser --docformat numpy aiochris
However it can be buggy, so alternatively build the documentation and use http.server:
http.server
rye run pdoc -o /tmp/pdoc --docformat numpy aiochris && rye run python -m http.server -d /tmp/pdoc 7777
Documentation style is Numpy: https://numpydoc.readthedocs.io/en/latest/format.html
Testing using Pytest: https://docs.pytest.org/en/8.2.x/
We love frozen dataclasses.