Pre-fetch info from each resource node for the diverse ALEPH frontends.
Use a cache to not hammer the nodes too much. Implemented as an aleph program
The service exposes a Swagger UI at /docs and a Redoc UI at /redoc.
Use it to explore the available endpoints.
pip install hatch
cd src
hatch run uvicorn nodes_list.main:app --reloadTest the code quality using mypy:
hatch run linting:allReformat the code using ruff:
hatch fmt --formatterRun the tests:
hatch run testing:testExport the coverage in HTML:
hatch run testing:coverage htmlhatch run deployment:aleph program upload src nodes_list:appUpdate an existing deployment:
hatch run deployment:aleph program update $ITEM_HASH src