[](https://opensource.org/licenses/MIT)
[](https://pypi.org/project/inventree-plugin-creator/)
# InvenTree Plugin Creator
Command line tool for scaffolding a new InvenTree plugin.
## Description
This is a command line tool which allows for rapid scaffolding of a new InvenTree plugin.
It uses the [cookiecutter project](https://cookiecutter.readthedocs.io/en/stable/) to generate a new project, based on a custom project template.
## InvenTree Version
The plugin creator tool is designed to target InvenTree version `1.0.0` (or newer). The code generated by this tool is not guaranteed to work for older versions of the InvenTree software.
## Installation
To install the plugin creator, run:
```bash
pip install -U inventree-plugin-creator
```
## Usage
To create a new plugin, run:
```bash
create-inventree-plugin
```
This will prompt you for required information about the plugin you wish to create.
To view the available options, run:
```bash
create-inventree-plugin --help
```
## Frontend Features
If you are developing a plugin which provides frontend (UI) features, after creating the initial plugin, run the following commands to install and build the initial version of the frontend code:
```bash
cd <myplugin>/frontend
npm install
npm run build
```
This will compile frontend code into the `<myplugin>/static` directory - ready to be packaged and distributed with the python plugin code.
*Note: You must run `npm run build` each time before building and distributing the plugin.*
Raw data
{
"_id": null,
"home_page": "https://github.com/inventree/plugin-creator",
"name": "inventree-plugin-creator",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "inventree plugin scaffold",
"author": "Oliver Walters",
"author_email": "oliver.henry.walters@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/56/c0/2af9a5be94f705a10129644722ed135e0fe5af1100dfae75422004cbe189/inventree_plugin_creator-1.10.0.tar.gz",
"platform": null,
"description": "[](https://opensource.org/licenses/MIT)\n[](https://pypi.org/project/inventree-plugin-creator/)\n\n# InvenTree Plugin Creator\n\nCommand line tool for scaffolding a new InvenTree plugin.\n\n## Description\n\nThis is a command line tool which allows for rapid scaffolding of a new InvenTree plugin.\n\nIt uses the [cookiecutter project](https://cookiecutter.readthedocs.io/en/stable/) to generate a new project, based on a custom project template.\n\n## InvenTree Version\n\nThe plugin creator tool is designed to target InvenTree version `1.0.0` (or newer). The code generated by this tool is not guaranteed to work for older versions of the InvenTree software. \n\n## Installation\n\nTo install the plugin creator, run:\n\n```bash\npip install -U inventree-plugin-creator\n```\n\n## Usage\n\nTo create a new plugin, run:\n\n```bash\ncreate-inventree-plugin\n```\n\nThis will prompt you for required information about the plugin you wish to create.\n\nTo view the available options, run:\n\n```bash\ncreate-inventree-plugin --help\n```\n\n## Frontend Features\n\nIf you are developing a plugin which provides frontend (UI) features, after creating the initial plugin, run the following commands to install and build the initial version of the frontend code:\n\n```bash\ncd <myplugin>/frontend\nnpm install\nnpm run build\n```\n\nThis will compile frontend code into the `<myplugin>/static` directory - ready to be packaged and distributed with the python plugin code.\n\n*Note: You must run `npm run build` each time before building and distributing the plugin.*\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "InvenTree plugin creator",
"version": "1.10.0",
"project_urls": {
"Homepage": "https://github.com/inventree/plugin-creator"
},
"split_keywords": [
"inventree",
"plugin",
"scaffold"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "cde5fd1cdf36df4dacbb34a418ff4235376c80c3fa6f409dc142b2aae3d05677",
"md5": "05fa361428674e82b8a0d0b43e52d0b1",
"sha256": "ed1e5d844d0be651c87cb70349475cbde680df594e31f9264c0cd838f606b0ed"
},
"downloads": -1,
"filename": "inventree_plugin_creator-1.10.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "05fa361428674e82b8a0d0b43e52d0b1",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 48810,
"upload_time": "2025-08-13T11:22:03",
"upload_time_iso_8601": "2025-08-13T11:22:03.024706Z",
"url": "https://files.pythonhosted.org/packages/cd/e5/fd1cdf36df4dacbb34a418ff4235376c80c3fa6f409dc142b2aae3d05677/inventree_plugin_creator-1.10.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "56c02af9a5be94f705a10129644722ed135e0fe5af1100dfae75422004cbe189",
"md5": "b4e7c9e66a3205767acf0b525458915d",
"sha256": "790d6ea359b21a006ca5768dce9b08bb49326da30ed2fb89a998bca4ecc74726"
},
"downloads": -1,
"filename": "inventree_plugin_creator-1.10.0.tar.gz",
"has_sig": false,
"md5_digest": "b4e7c9e66a3205767acf0b525458915d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 26763,
"upload_time": "2025-08-13T11:22:04",
"upload_time_iso_8601": "2025-08-13T11:22:04.294771Z",
"url": "https://files.pythonhosted.org/packages/56/c0/2af9a5be94f705a10129644722ed135e0fe5af1100dfae75422004cbe189/inventree_plugin_creator-1.10.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-13 11:22:04",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "inventree",
"github_project": "plugin-creator",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "inventree-plugin-creator"
}