A web-based GUI for user inputs.
Visit the app from https://dpgui.deepmodeling.com.
To have arguments from other installed Python packages, install the DP-GUI Python package:
pip install dpgui
dpgui
Install the app using yarn:
yarn install
Preview the app:
yarn serve
Build the app:
yarn build
Add entry points dpgui
in pyproject.toml
:
[project.entry-points."dpgui"]
"DPDispatcher Machine" = "dpdispatcher.arginfo:machine_dargs"
"DPDispatcher Resources" = "dpdispatcher.arginfo:resources_dargs"
"DPDispatcher Task" = "dpdispatcher.arginfo:task_dargs"
where the entry points value (such as machine_dargs
) should be a function that returns dargs.Argument
or list[dargs.Argument]
.