A cookiecutter template for a uData package (containing one or more plugin)
pip install cookiecutter
cookiecutter gh:opendatateam/cookiecutter-udata-plugin
Provide the requested informations and then you can go in the newly created directory
(which will be the project_slug
that you provided).
These are the fields used by this cookiecutter template:
project_name
: The project name that will also serve as Backend display name (ex:My Harvester
)project_slug
: The project slug used as root folder name (ex:udata-my-harvester
)pypackage
: The project root package name (ex:udata_my_harvester
)identifier
: The backend entrypoint identifier (ex:mine
)license
: The license under which the project is published (ex:AGPL
)author
: The project author (ex:OpenDataTeam
)email
: The project contact email (ex:contact@opendata.team
)description
: The project short description (ex:My awesome uData harvester
)version
: The initial version (ex:0.1.0.dev
)website
: The project website (ex:https://github.com/opendatateam/udata-my-harvester
)has_harvester
`: Adds a harvester skeleton (see the udata harvesting documention)has_theme
: Adds a theme skeleton (see the udata theming documention)has_views
: Adds a views skeletonhas_metrics
: Adds a metrics skeletonhas_models
: Adds a models skeletonhas_linkchecker
: Adds a linkchecker skeletonhas_tasks
: Adds a tasks skeletonhas_preview
`: Adds a preview plugin skeletonhas_generic_plugin
: Adds a generic plugin skeleton