Use with DP-GUI#
Developers can export an Argument
to DP-GUI for users, by adding a dpgui
entry point to pyproject.toml:
[project.entry-points."dpgui"]
"Test Argument" = "dargs.sphinx:_test_argument"
where _test_argument returns an Argument
or a list of Argument
, and "Test Argument"
is its name that can be any string.
Users can install the dpgui Python package via pip and serve the DP-GUI instance using the dpgui command line:
pip install dpgui
dpgui
The served DP-GUI will automatically load all templates from the dpgui
entry point.