ERPDesktop plugin SDK — build, package, and publish plugins for the ERPDesktop marketplace
Project description
ERPDesktop Plugin SDK
Build, package, and publish plugins for the ERPDesktop marketplace.
Install
pip install erpdesktop-sdk
Quick start
# Scaffold a new plugin
erpdesktop init my-plugin
# Validate your plugin.json
erpdesktop validate
# Package into a distributable .zip
erpdesktop package
# Publish to the marketplace
erpdesktop publish --changelog "Initial release"
PluginBase lifecycle
from erpdesktop import PluginBase, log, event
class MyPlugin(PluginBase):
plugin_id = "com.example.my-plugin"
plugin_version = "1.0.0"
def on_start(self, config):
log("info", "Started", branch=config.get("branch"))
self.register_command("ping", lambda p: {"pong": True})
def on_stop(self):
log("info", "Shutting down")
if __name__ == "__main__":
MyPlugin().run()
Commands
| Command | Description |
|---|---|
erpdesktop init <name> |
Scaffold a new plugin |
erpdesktop validate |
Validate plugin.json |
erpdesktop package |
Create .zip distributable |
erpdesktop publish |
Upload to marketplace |
erpdesktop --version |
Show SDK version |
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
erpdesktop-1.0.0.tar.gz
(27.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file erpdesktop-1.0.0.tar.gz.
File metadata
- Download URL: erpdesktop-1.0.0.tar.gz
- Upload date:
- Size: 27.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
633c5a10af34cd852d1c6dd2eeac6cb660a0e43aca09399ba597244fadcb893c
|
|
| MD5 |
978165926ef61b547c633d19bd804572
|
|
| BLAKE2b-256 |
6e5b5fc717a1e391bdddf45a09518f4fdb25b8ccb41db7e7267acd677392c398
|
File details
Details for the file erpdesktop-1.0.0-py3-none-any.whl.
File metadata
- Download URL: erpdesktop-1.0.0-py3-none-any.whl
- Upload date:
- Size: 30.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20ed5f0ea7d0e8ea325f345b26b10b1be1e42e450e30f60d1322eca269fe3783
|
|
| MD5 |
1d30154512d8d733220de22b82d25b07
|
|
| BLAKE2b-256 |
bdceb19b2614a9cd5fe2ffd0b93e55aec7c8c127449405525b0e71af02db8597
|