This is a Cookiecutter template that generates Girder plugin boilerplate.
Install the Cookiecutter package:
pip install cookiecutter
Generate your project:
cookiecutter gh:girder/cookiecutter-girder-plugin
-
full_nameThe name to use in the author fields of the python and javascript packages.
-
emailAn email address for the python and javascript package metadata.
-
plugin_nameA name or brief description of the plugin. This is the name that will be displayed to users on Girder's plugin page.
-
package_nameThe python package and directory name containing your plugin. This is the directory that will be created by this template. By python convention, this name should be in kebab-case. Many Girder plugins use the prefix
girder-to indicate they are Girder plugins. In addition, if you intend to distribute this package, you should ensure the name is available on PyPI. -
package_slugThe python module name containing your plugin. By python convention, this should be the same as the
package_namebut in snake_case. This must be a valid python variable name containing only letters, numbers, and underscores. -
entrypoint_nameThis is the name used internally by Girder to reference your plugin. By Girder's convention, this should the same as
package_slugwithout thegirder_prefix. For example, the plugingirder-jobsuses the entrypoint namejobs. -
short_descriptionA short description of your plugin. This text will be added to the python package metadata and displayed to users on Girder's plugin page.
-
versionThe initial version number for your plugin's python and javascript packages.
-
homepageA URL that will be added to the package metadata. This is often the git repository or a link to documentation.
-
include_web_client_pluginInclude boilerplate for extending Girder's web client.