Skip to main content

This repository includes an example of a Swarmauri Plugin.

Project description

Swarmauri logotype

Swarmauri Example Plugin

PyPI - Downloads Repository views Supported Python versions License Latest release


The Swarmauri Example Plugin is a lightweight reference package that shows how to ship a plugin ready for the Swarmauri ecosystem. It demonstrates how to declare entry points, surface metadata, and structure tests so that new plugin projects start from a fully configured baseline that supports Python 3.10 through 3.12.

Features

  • Entry-point wiring – exposes the swarmauri.plugins group so your agent classes can be discovered automatically once implemented.
  • Ready-to-publish metadata – includes keywords, classifiers, and long descriptions wired directly into pyproject.toml.
  • Version helpers – surfaces __version__ and __long_desc__ constants so documentation and tooling can introspect the package after installation.
  • Testing scaffold – ships with baseline unit tests verifying version resolution to encourage a test-first development workflow.

Installation

Using uv

uv add swm-example-plugin

Using pip

pip install swm-example-plugin

Usage

Inspect published metadata

from swm_example_plugin import __long_desc__, __version__

print(__version__)
print(__long_desc__.splitlines()[0])

Discover the registered entry point

from importlib.metadata import entry_points

for ep in entry_points(group="swarmauri.plugins"):
    if ep.name == "example_agent":
        print(ep.name, "->", ep.value)
        break

This skeleton intentionally leaves the actual agent implementation up to you. Replace the target specified in the entry point with your concrete class to wire custom functionality into the Swarmauri plugin registry.

Project Resources

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

swm_example_plugin-0.6.5.dev16.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

swm_example_plugin-0.6.5.dev16-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file swm_example_plugin-0.6.5.dev16.tar.gz.

File metadata

  • Download URL: swm_example_plugin-0.6.5.dev16.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for swm_example_plugin-0.6.5.dev16.tar.gz
Algorithm Hash digest
SHA256 afb0d2a98869a8162d82f51683cae9bd5b9bd01875b1b3d6aea4e82ec59f55c3
MD5 329aa29bfd2d1b1d79024cf7609369b7
BLAKE2b-256 7e7a52d03a59dd943d57ed6763f8bd8b44856b25e05a8b36a34a0f4620b5cda6

See more details on using hashes here.

File details

Details for the file swm_example_plugin-0.6.5.dev16-py3-none-any.whl.

File metadata

  • Download URL: swm_example_plugin-0.6.5.dev16-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for swm_example_plugin-0.6.5.dev16-py3-none-any.whl
Algorithm Hash digest
SHA256 6b9679e5d260dfb2b8e0cca2bf9d6f7df6513a6ebaae24affe4f583f2627472c
MD5 790a6bed3e7631bdb6ec285c05405c99
BLAKE2b-256 67c0446587ebae49c9d8f930c653e75a4cf058f3e13c5083508d5598b096facf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page