heinzel-example
Show how a Heinzelmännchen plugin is built: one module with an operation, settings, a health check and a submodule.
A plugin for Heinzelmännchen, the open-source, AI-driven operating system for product development teams. It lives in heinzel-plugins.
Install
Start Heinzelmännchen with uvx heinzel@latest. In another terminal, add this plugin:
hz system plugin add example --confirm
hz system update updates the app and its plugins; hz system plugin remove heinzel-example removes this one.
Use
hz example info # this plugin, its version and the Heinzelmännchen it runs on
hz example hello --name Ada # a submodule collapsed into a command
hz example info --json # every command speaks JSON, for scripts and agents
hz system info # includes a section contributed by this plugin
Develop
From the repository root: make check-fast NAME=example runs this plugin's edit loop; make check NAME=example
runs its full checks. make build NAME=example and make acceptance NAME=example verify its installed artifact.
The modules live in
src/heinzel_example/; read the root AGENTS.md before changing them.
Footer pane
The example is also the teaching example for a footer icon that opens a pane. Three contributions in
src/heinzel_example/__init__.py do it, with no core change:
@module.status(source="sample", slots={"footer": True, "sidebar": True})returns aStatusItemwith anicon, adetailline (the tooltip, "Example") andeffect=Navigate(path="/?panel=example:inspector"), the click target.module.view(..., name="inspector", title="Example", source="sample")is the pane that target opens; itsviews/index.jsshows the value (42, the samesampleoperation as the Today widget) big. A pane is content, then a divider and a bottom action row only when it has actions; this one has none.tests/contributions_test.pyasserts the slots, icon, tooltip, target and view.
Development and release commands: repository guide.
Screenshots
Demo data: the constant 42 appears in both the Today widget and sidebar status.
Demo data: open the plugin-owned inspector to see the same constant value, 42.
Demo data: greet fictional Mira with structured JSON in the app's native terminal.
Demo data: a seeded Example is ready notice appears in the shared in-app notification panel.
Command line
Demo data: the typed hello operation greets fictional Mira from the CLI.
Demo data: sample returns 42 as JSON, the same constant used by the widget, status and inspector.
Metadata
Release files for heinzel-example 0.5.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| heinzel_example-0.5.3.tar.gz | 451.3 kB | Without provenance | Details for heinzel_example-0.5.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| heinzel_example-0.5.3-py3-none-any.whl | Python 3 | none | any | Details for heinzel_example-0.5.3-py3-none-any.whl |
Total release size: 458.8 kB
Release files / heinzel_example-0.5.3.tar.gz
| Download URL | heinzel_example-0.5.3.tar.gz |
|---|---|
| Size | 451.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
98f8d98f9b50fc10a0430eba8a42333f160890880a02a9e2c9fcb95eaec2e826
|
|
BLAKE2b-256 checksum How to use checksums |
61ff1bfb6bac44106c61109bea1953262fbb00be6d148b86a1c149bae7e6c1e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / heinzel_example-0.5.3-py3-none-any.whl
| Download URL | heinzel_example-0.5.3-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f5c3c4f9d5d6fdf879212fb87e8cc7832184f0ad97699c395058ca38e7c9810a
|
|
BLAKE2b-256 checksum How to use checksums |
3bb1e7d6cdbf905c25f7b107de69abe5dff1368db6e4e42a356a11072b655e39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for heinzel-example 0.5.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.