Skip to main content

Pumpkin Plugin API for Python

This package provides everything needed to write a Pumpkin server plugin compiled to WebAssembly using Python.

Quick start

  1. Install pumpkin-api-py:
pip install pumpkin-api-py
  1. Create your plugin (main.py):
from pumpkin_api import Plugin, context, logging, metadata, register_plugin

PluginMetadata = metadata.PluginMetadata

class MyPlugin(Plugin):
    def metadata(self) -> PluginMetadata:
        return PluginMetadata(
            name="my-python-plugin",
            version="0.1.0",
            authors=["you"],
            description="An example python plugin.",
            dependencies=[],
            permissions=[]
        )

    def on_load(self, ctx: context.Context) -> None:
        logging.log(logging.Level.INFO, "Python plugin loaded!")

register_plugin(MyPlugin)
  1. Build your plugin into a WebAssembly component:
pumpkin-plugin-build main -o my_plugin.wasm

Metadata

Release files for pumpkin-api-py 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pumpkin-api-py 0.1.3
File Size Uploaded Provenance Actions
pumpkin_api_py-0.1.3.tar.gz 126.9 kB With provenance Details for pumpkin_api_py-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pumpkin-api-py 0.1.3
File Interpreter ABI Platform Actions
pumpkin_api_py-0.1.3-py3-none-any.whl Python 3 none any Details for pumpkin_api_py-0.1.3-py3-none-any.whl

Total release size: 413.7 kB

Release files / pumpkin_api_py-0.1.3.tar.gz

Download URL pumpkin_api_py-0.1.3.tar.gz
Size 126.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7828c638f269589573b8f1fb0de35ef66b988aa7a09abfa06ca76fca35c47adc
BLAKE2b-256 checksum
How to use checksums
441a9e9a05e0e26439b813580cdc6ff619b6207fedc63f6b2e323670bf7fc779
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 4, 2026.

Transparency log

Release files / pumpkin_api_py-0.1.3-py3-none-any.whl

Download URL pumpkin_api_py-0.1.3-py3-none-any.whl
Size 286.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e65d397b506c512ed51fa90bfe94ce278df1f49e98c2fdd5f5d3c6dfbcc4f171
BLAKE2b-256 checksum
How to use checksums
ca495e3fe915ab93e0575d9725486370fae3180dd6a4f309b217197021d8387c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 4, 2026.

Transparency log

Security for pumpkin-api-py 0.1.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pumpkin_api_py-0.1.3.tar.gz

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 Nov 4, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page