apx-example
Template for an Action Platform plugin — an apx, Action Platform extension; every package is named apx-<slug>. Every extension point once, small enough to read in one sitting:
| File | Extension point |
|---|---|
plugin.py |
the Plugin: slug, needs, register, after_release, after_deploy |
tools.py |
an MCP tool, published as example_hello with input and output schemas |
cli.py |
action-platform example hello |
rules.py |
a replaced core slot (gitflow_rules) — stricter branch kinds while the plugin is enabled |
release.py |
named providers: [release] strategy = "calver", [release] changelog = "plain" |
overlays/ |
a cloud overlay example — plain files, copied as they are by action-platform cloud set example; add a cookiecutter.json only when the files need rendering |
Use this template
- Create a repository from it, named
apx-<slug>. - Rename
apx_example→apx_<slug>,example→<slug>inpyproject.toml(package name, entry points),plugin.py(slug),cli.py,overlays/index.json. - Delete what you do not need; a plugin with only
plugin.pyand one tool is fine. pip install -e ".[dev]",pytest,action-platform plugin list(showsexampleonce installed).- Publish to PyPI; open a pull request to plugins-index with
<slug>.json.
Rules
registeronly declares; no I/O, threads or connections at import or inregister.- No monkey-patching of
action_platform.*— replace a slot (surface.core.replace) or ask for a hook. needslists every host you talk to and every environment variable you read.
Reference: writing a plugin · plugins.
Metadata
Release files for apx-example 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| apx_example-0.1.0.tar.gz | 10.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| apx_example-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.7 kB
Release files / apx_example-0.1.0.tar.gz
| Download URL | apx_example-0.1.0.tar.gz |
|---|---|
| Size | 10.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d1a42b7863fee80851058ffbfe5d523ed8d5e1965dc59b1f5ff1726dee722d2a
|
|
BLAKE2b-256 checksum How to use checksums |
9f8a502cb645ef7a96e267bc83b78652d9425f98cbf71e2426522c39cb617af3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 15, 2026.
Transparency logRelease files / apx_example-0.1.0-py3-none-any.whl
| Download URL | apx_example-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f3203353bd98d3d6a92fe4885246a4d7546457e7044f5e6d99373af6b59b780f
|
|
BLAKE2b-256 checksum How to use checksums |
f0964af7255c653c3d71b3eab66dca689ec5dec292eb2f5d6743dba88b9eb19d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 15, 2026.
Transparency log