Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.
/ python-plugin Public archive

A proto WASM plugin for Python.

License

Notifications You must be signed in to change notification settings

moonrepo/python-plugin

Repository files navigation

Migrated to a new repository: https://github.com/moonrepo/tools

Python plugin (experimental)

Python WASM plugin for proto.

Installation

proto install python

This plugin is built-in to proto, but if you want to override it with an explicit version, add the following to .prototools.

[plugins]
python = "source:https://github.com/moonrepo/python-plugin/releases/download/vX.Y.Z/python_plugin.wasm"

Configuration

Python plugin does not support configuration.

Hooks

Python plugin does not support hooks.

Caveats

This will install a pre-built version from indygreg/python-build-standalone, which doesn't support all versions, only Python 3.

Building from source directly (with python-build), and supporting Python 2, will be fully supported in the future.

Contributing

Build the plugin:

cargo build --target wasm32-wasi

Test the plugin by running proto commands.

proto install python-test
proto list-remote python-test