swm-example-plugin 0.6.5.dev19__tar.gz → 0.11.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ swm_example_plugin
2
+
3
+ Distribution: swm_example_plugin
4
+ Repository: https://github.com/swarmauri/swarmauri-sdk
5
+
6
+ Author attribution: Jacob Stewart.
7
+ Licensed under Apache-2.0; see LICENSE.
@@ -0,0 +1,378 @@
1
+ Metadata-Version: 2.4
2
+ Name: swm_example_plugin
3
+ Version: 0.11.0
4
+ Summary: This repository includes an example of a Swarmauri Plugin.
5
+ License-Expression: Apache-2.0
6
+ License-File: LICENSE
7
+ License-File: NOTICE
8
+ Keywords: swarmauri,plugin,example,agents,entry-points,sdk,scaffolding,template,tutorial,packaging,asyncio,extension-points,media-workflows
9
+ Author: Jacob Stewart
10
+ Author-email: jacob@swarmauri.com
11
+ Requires-Python: >=3.10,<3.15
12
+ Classifier: Development Status :: 1 - Planning
13
+ Classifier: Natural Language :: English
14
+ Classifier: Framework :: AsyncIO
15
+ Classifier: Operating System :: OS Independent
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: Topic :: Software Development :: Libraries
18
+ Classifier: Topic :: Education
19
+ Classifier: Programming Language :: Python
20
+ Classifier: Programming Language :: Python :: 3
21
+ Classifier: Programming Language :: Python :: 3 :: Only
22
+ Classifier: Programming Language :: Python :: 3.10
23
+ Classifier: Programming Language :: Python :: 3.11
24
+ Classifier: Programming Language :: Python :: 3.12
25
+ Classifier: Programming Language :: Python :: 3.13
26
+ Classifier: Programming Language :: Python :: 3.14
27
+ Requires-Dist: tomli (>=2) ; python_version < "3.11"
28
+ Project-URL: Changelog, https://github.com/swarmauri/swarmauri-sdk/releases
29
+ Project-URL: Documentation, https://github.com/swarmauri/swarmauri-sdk/tree/main/pkgs/60-plugins/example_plugin#readme
30
+ Project-URL: Discussions, https://github.com/orgs/swarmauri/discussions
31
+ Project-URL: Homepage, https://github.com/swarmauri/swarmauri-sdk
32
+ Project-URL: Issues, https://github.com/swarmauri/swarmauri-sdk/issues
33
+ Project-URL: Source, https://github.com/swarmauri/swarmauri-sdk/tree/main/pkgs/60-plugins/example_plugin
34
+ Description-Content-Type: text/markdown
35
+
36
+ # swm_example_plugin
37
+
38
+ <!-- readme-standards:begin branding -->
39
+ <p align="center"><a href="https://github.com/swarmauri/swarmauri-sdk"><img src="https://raw.githubusercontent.com/swarmauri/swarmauri-sdk/master/assets/swarmauri.brand.theme.svg" alt="Swarmauri SDK" width="300"></a></p>
40
+ <p align="center"><strong>swm_example_plugin</strong></p>
41
+ <p align="center">This repository includes an example of a Swarmauri Plugin.</p>
42
+ <p align="center">
43
+ <a href="https://pypi.org/project/swm_example_plugin/"><img alt="pypi: swm_example_plugin" src="https://img.shields.io/pypi/v/swm_example_plugin?labelColor=1E293B&amp;color=1D4ED8"></a>
44
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/pyproject.toml"><img alt="Source version: 0.11.0" src="https://img.shields.io/static/v1?label=Source%20version&amp;message=0.11.0&amp;labelColor=1E293B&amp;color=4338CA"></a>
45
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/pyproject.toml"><img alt="Python: &gt;=3.10,&lt;3.15" src="https://img.shields.io/static/v1?label=Python&amp;message=%3E%3D3.10%2C%3C3.15&amp;labelColor=1E293B&amp;color=0F766E"></a>
46
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/pyproject.toml"><img alt="Layer: plugins" src="https://img.shields.io/static/v1?label=Layer&amp;message=plugins&amp;labelColor=1E293B&amp;color=6D28D9"></a>
47
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/README.md#lifecycle-and-migration"><img alt="Lifecycle: active" src="https://img.shields.io/static/v1?label=Lifecycle&amp;message=active&amp;labelColor=1E293B&amp;color=166534"></a>
48
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/LICENSE"><img alt="License: Apache-2.0" src="https://img.shields.io/static/v1?label=License&amp;message=Apache-2.0&amp;labelColor=1E293B&amp;color=86198F"></a>
49
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/NOTICE"><img alt="Notice: attribution" src="https://img.shields.io/static/v1?label=Notice&amp;message=attribution&amp;labelColor=1E293B&amp;color=86198F"></a>
50
+ </p>
51
+ <p align="center">
52
+ <a href="https://pypi.org/project/swm_example_plugin/"><img alt="Monthly PyPI downloads: swm_example_plugin" src="https://img.shields.io/pypi/dm/swm_example_plugin?labelColor=1E293B&amp;color=0E7490"></a>
53
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/README.md"><img alt="README hits: swm_example_plugin" src="https://hits.sh/github.com/swarmauri/swarmauri-sdk/pkgs/60-plugins/example_plugin/README.md.svg?label=README%20hits&amp;labelColor=1E293B&amp;color=0E7490"></a>
54
+ </p>
55
+ <p align="center">
56
+ <a href="https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml"><img alt="README standards: CI gate" src="https://img.shields.io/static/v1?label=README%20standards&amp;message=CI%20gate&amp;labelColor=1E293B&amp;color=1D4ED8"></a>
57
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/tests/unit/test_readme_sources.py"><img alt="Tests: example source" src="https://img.shields.io/static/v1?label=Tests&amp;message=example%20source&amp;labelColor=1E293B&amp;color=0F766E"></a>
58
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/README.md#certification-status"><img alt="Certification: not certified" src="https://img.shields.io/static/v1?label=Certification&amp;message=not%20certified&amp;labelColor=1E293B&amp;color=92400E"></a>
59
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/tools/readme/POLICY.md"><img alt="Governance: repository policy" src="https://img.shields.io/static/v1?label=Governance&amp;message=repository%20policy&amp;labelColor=1E293B&amp;color=4338CA"></a>
60
+ <a href="https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml"><img alt="Evidence: source and CI" src="https://img.shields.io/static/v1?label=Evidence&amp;message=source%20and%20CI&amp;labelColor=1E293B&amp;color=6D28D9"></a>
61
+ </p>
62
+ <p align="center"><a href="#overview">Overview</a> · <a href="#installation">Installation</a> · <a href="#quick-start">Quick Start</a> · <a href="#usage">Usage</a> · <a href="#public-api-and-import-surfaces">API</a> · <a href="#contributing">Contributing</a> · <a href="#governance">Governance</a> · <a href="#license">License</a></p>
63
+ <!-- readme-standards:end branding -->
64
+
65
+ ---
66
+
67
+ ## Overview
68
+
69
+ ### Summary
70
+
71
+ The Swarmauri Example Plugin is a lightweight reference package that shows how to
72
+ ship a plugin ready for the Swarmauri ecosystem. It demonstrates how to declare
73
+ entry points, surface metadata, and structure tests so that new plugin projects
74
+ start from a fully configured baseline that supports Python 3.10 through 3.12.
75
+
76
+ ### Why This Package
77
+
78
+ `swm_example_plugin` isolates this responsibility: This repository includes an example of a Swarmauri Plugin. Its [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/swm_example_plugin/__init__.py) exposes `Path`, allowing consumers to select this package without treating adjacent packages as part of its public contract.
79
+
80
+ ### When to Use
81
+
82
+ Choose `swm_example_plugin` when your integration needs this repository includes an example of a Swarmauri Plugin. Match the imports below to your application boundary and install its declared dependencies before using the example.
83
+
84
+ ### Features
85
+
86
+ - **Entry-point wiring** - exposes the `swarmauri.plugins` group so your agent
87
+ classes can be discovered automatically once implemented.
88
+ - **Ready-to-publish metadata** - includes keywords, classifiers, and long
89
+ descriptions wired directly into `pyproject.toml`.
90
+ - **Version helpers** - surfaces `__version__` and `__long_desc__` constants so
91
+ documentation and tooling can introspect the package after installation.
92
+ - **Testing scaffold** - ships with baseline unit tests verifying version
93
+ resolution to encourage a test-first development workflow.
94
+
95
+ ### Non-Goals
96
+
97
+ `swm_example_plugin` owns this repository includes an example of a Swarmauri Plugin. Its imports do not by themselves configure credentials, deploy a service, or certify the behavior of its consumers. Dependencies and neighboring packages retain their own documented responsibilities.
98
+
99
+ ---
100
+
101
+ ## Getting Started
102
+
103
+ ### Prerequisites
104
+
105
+ Python `>=3.10,<3.15` is required. The [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/pyproject.toml) declares no direct runtime dependencies. Read the example’s inputs and service requirements before execution.
106
+
107
+ ### Installation
108
+
109
+ **Using uv**
110
+
111
+ ```bash
112
+ uv add swm-example-plugin
113
+ ```
114
+
115
+ **Using pip**
116
+
117
+ ```bash
118
+ pip install swm-example-plugin
119
+ ```
120
+
121
+ #### uv
122
+
123
+ <!-- readme-standards:begin installation.uv -->
124
+ ```bash
125
+ uv add swm_example_plugin
126
+ ```
127
+ <!-- readme-standards:end installation.uv -->
128
+
129
+ #### pip
130
+
131
+ <!-- readme-standards:begin installation.pip -->
132
+ ```bash
133
+ python -m pip install swm_example_plugin
134
+ ```
135
+ <!-- readme-standards:end installation.pip -->
136
+
137
+ #### Poetry
138
+
139
+ <!-- readme-standards:begin installation.poetry -->
140
+ ```bash
141
+ poetry add swm_example_plugin
142
+ ```
143
+ <!-- readme-standards:end installation.poetry -->
144
+
145
+ ### Quick Start
146
+
147
+ #### Example
148
+
149
+ <!-- readme-standards:begin example.quick-start -->
150
+ Source: [docs/readme/quick_start.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/docs/readme/quick_start.py).
151
+
152
+ ```python
153
+ from swm_example_plugin import __long_desc__, __version__
154
+
155
+ print(__version__)
156
+ print(__long_desc__.splitlines()[0])
157
+ ```
158
+ <!-- readme-standards:end example.quick-start -->
159
+
160
+ #### Expected Result
161
+
162
+ The example demonstrates the documented `swm_example_plugin` source boundary or workflow. Complete its required configuration first. README CI checks the maintained source’s syntax and declarations; it does not claim that external services or the application workflow were exercised.
163
+
164
+ ---
165
+
166
+ ## Usage
167
+
168
+ ### Common Workflows
169
+
170
+ <!-- readme-standards:begin example.usage -->
171
+ Source: [docs/readme/usage.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/docs/readme/usage.py).
172
+
173
+ ```python
174
+ from swm_example_plugin import __long_desc__, __version__
175
+
176
+ print(__version__)
177
+ print(__long_desc__.splitlines()[0])
178
+ ```
179
+ <!-- readme-standards:end example.usage -->
180
+
181
+ **Inspect published metadata**
182
+
183
+
184
+ **Discover the registered entry point**
185
+
186
+ ```python
187
+ from importlib.metadata import entry_points
188
+
189
+ for ep in entry_points(group="swarmauri.plugins"):
190
+ if ep.name == "example_agent":
191
+ print(ep.name, "->", ep.value)
192
+ break
193
+ ```
194
+
195
+ This skeleton intentionally leaves the actual agent implementation up to you.
196
+ Replace the target specified in the entry point with your concrete class to wire
197
+ custom functionality into the Swarmauri plugin registry.
198
+
199
+ ### Configuration
200
+
201
+ Configure `swm_example_plugin` through the APIs in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/swm_example_plugin/__init__.py); its [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/pyproject.toml) describes installation requirements, not an implicit service configuration. No additional package-global configuration contract is inferred from dependencies.
202
+
203
+ ### Error Handling
204
+
205
+ The inspected `swm_example_plugin` source does not establish a package-wide exception hierarchy. Preserve errors from its declared dependencies and validate inputs using the specific public contract in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/swm_example_plugin/__init__.py).
206
+
207
+ ### Best Practices
208
+
209
+ Use the explicit `swm_example_plugin` imports documented below and keep collaborator configuration with the caller. Run the package’s relevant tests after changing `Path`; an import or successful installation alone does not establish its runtime guarantees.
210
+
211
+ ---
212
+
213
+ ## Package Boundary
214
+
215
+ ### What It Owns
216
+
217
+ `swm_example_plugin` is located in `plugins` and owns this repository includes an example of a Swarmauri Plugin. Source-declared APIs include `Path`. The [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/pyproject.toml) records its direct dependency boundary.
218
+
219
+ ### Public API and Import Surfaces
220
+
221
+ Import namespace: `swm_example_plugin`.
222
+
223
+ Source-declared exports or types: `Path`.
224
+
225
+ Inspect [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/swm_example_plugin/__init__.py) for exact signatures; this inventory does not designate every internal module as stable.
226
+
227
+ ### Entry Points
228
+
229
+ <!-- readme-standards:begin entry-points -->
230
+ - `swarmauri.plugins` → `example_agent` → `swm_example_plugin.agents:ExampleAgent`
231
+ <!-- readme-standards:end entry-points -->
232
+
233
+ ### Injected Dependencies
234
+
235
+ The direct installation dependencies of `swm_example_plugin` are empty in the manifest. These declarations do not imply automatic provider selection. Pass collaborators through the explicit constructors or call signatures in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/swm_example_plugin/__init__.py).
236
+
237
+ ### Protocol Consumers
238
+
239
+ No direct package-manifest dependency on `swm_example_plugin` was found in the audited three-repository inventory. External consumers may still use its documented imports or commands.
240
+
241
+ ### Extensions
242
+
243
+ For `swm_example_plugin`, use the source-declared public interfaces (`Path`) when composing or extending behavior. Its entry-point section below is authoritative for registered plugins; no additional extension loader is inferred from the package name.
244
+
245
+ ---
246
+
247
+ ## Operations and Readiness
248
+
249
+ ### Operational Requirements
250
+
251
+ Operate `swm_example_plugin` according to its actual entry points and collaborators. The dependency and Python requirements in the [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/pyproject.toml) are prerequisites; deployment topology, credentials, and readiness remain the responsibility of the consuming application unless explicitly documented above.
252
+
253
+ ### Health and Observability
254
+
255
+ This README does not establish a standalone health endpoint for `swm_example_plugin`. Observe the concrete caller’s results, exceptions, and existing test reports. An application that embeds this package must define its own health and telemetry contract.
256
+
257
+ ### Security and Resource Limits
258
+
259
+ Apply the input, credential, and resource constraints implemented in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/swm_example_plugin/__init__.py). The `swm_example_plugin` README gate is a documentation check, not a security review or a substitute for the implementation’s limits and caller authorization.
260
+
261
+ ### Compatibility
262
+
263
+ This source version of `swm_example_plugin` declares Python `>=3.10,<3.15`. Consult its dependency constraints before upgrading. Source-version and registry-version badges have separate meanings; this migration makes no additional platform or interoperability certification claim.
264
+
265
+ ---
266
+
267
+ ## Verification
268
+
269
+ ### Tests
270
+
271
+ Run `python -m pytest tests/unit/test_readme_sources.py` from the `swm_example_plugin` package directory for the maintained example source checks (Python compilation and non-Python file presence). Existing package tests include:
272
+
273
+ - [tests/unit/test_version.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/tests/unit/test_version.py)
274
+
275
+ The repository README gate also checks the required heading tree, metadata, managed fragments, and referenced files.
276
+
277
+ ### Certification Status
278
+
279
+ No external certification is asserted for `swm_example_plugin` by this documentation migration. README conformance, example syntax, runtime tests, and protocol or security certification are distinct evidence scopes.
280
+
281
+ ### Evidence
282
+
283
+ The [README standards CI](https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml) records mechanical documentation results for its tested commit. The [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/swm_example_plugin/__init__.py) and example sources support the package-boundary description; external runtime behavior requires its own test evidence.
284
+
285
+ ---
286
+
287
+ ## FAQ
288
+
289
+ ### Why
290
+
291
+ **Why select this package?** `swm_example_plugin` provides this repository includes an example of a Swarmauri Plugin; use its own API boundary rather than assuming neighboring packages are bundled or configured automatically.
292
+
293
+ ### How
294
+
295
+ **How do I start?** Install or synchronize the environment under Getting Started, follow the maintained example for `swm_example_plugin`, and consult [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/swm_example_plugin/__init__.py) for the exact types and signatures involved.
296
+
297
+ ### When
298
+
299
+ **When should I validate an upgrade?** Recheck `swm_example_plugin` whenever its source version, declared collaborators, configuration, or caller changes. Run relevant behavioral tests in addition to the README gate before promotion.
300
+
301
+ ---
302
+
303
+ ## Documentation and Related Packages
304
+
305
+ ### More Documentation
306
+
307
+ The [repository contribution guide](https://github.com/swarmauri/swarmauri-sdk/blob/master/CONTRIBUTING.md), [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/swm_example_plugin/__init__.py), and [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/pyproject.toml) provide the supporting context for `swm_example_plugin`. The [README policy](https://github.com/groupsum/readme-standards/blob/master/docs/outline.md) defines the common document structure.
308
+
309
+ ### Related Packages
310
+
311
+ No direct local dependency was identified for `swm_example_plugin` in this checkout. External dependency names are listed under Prerequisites; packages in the same directory layer are not automatically dependencies.
312
+
313
+ ### Project Links
314
+
315
+ <!-- readme-standards:begin project-links -->
316
+ - [Changelog](https://github.com/swarmauri/swarmauri-sdk/releases)
317
+ - [Discussions](https://github.com/orgs/swarmauri/discussions)
318
+ - [Documentation](https://github.com/swarmauri/swarmauri-sdk/tree/main/pkgs/60-plugins/example_plugin#readme)
319
+ - [Homepage](https://github.com/swarmauri/swarmauri-sdk)
320
+ - [Issues](https://github.com/swarmauri/swarmauri-sdk/issues)
321
+ - [Source](https://github.com/swarmauri/swarmauri-sdk/tree/main/pkgs/60-plugins/example_plugin)
322
+ - [pypi: swm_example_plugin](https://pypi.org/project/swm_example_plugin/)
323
+ <!-- readme-standards:end project-links -->
324
+
325
+ - Source: <https://github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/60-plugins/example_plugin>
326
+ - Documentation: <https://github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/60-plugins/example_plugin#readme>
327
+ - Issues: <https://github.com/swarmauri/swarmauri-sdk/issues>
328
+ - Releases: <https://github.com/swarmauri/swarmauri-sdk/releases>
329
+ - Discussions: <https://github.com/orgs/swarmauri/discussions>
330
+
331
+ ---
332
+
333
+ ## Contributing
334
+
335
+ ### How to Contribute
336
+
337
+ Follow the [contribution guide](https://github.com/swarmauri/swarmauri-sdk/blob/master/CONTRIBUTING.md) and include a focused example or regression for changes to `swm_example_plugin`. Keep package behavior, its documented boundary, and its tests aligned.
338
+
339
+ ### Development Setup
340
+
341
+ Work from the `pkgs/60-plugins/example_plugin` checkout. Synchronize its declared development environment with uv, then run the relevant package tests and `python -m pytest tests/unit/test_readme_sources.py`. The repository’s dedicated README job installs `readme-standards==0.1.3` without resolving unrelated runtime packages.
342
+
343
+ ### Notes for Maintainers
344
+
345
+ Edit authored prose directly in this `swm_example_plugin` README. Update source examples in `docs/readme/`, then run `readme-standards render --root . --write` from the package directory and review the diff. Required headings and generated blocks come from package-guide-v1.
346
+
347
+ ---
348
+
349
+ ## Governance
350
+
351
+ ### Ownership and Decision Making
352
+
353
+ Changes to `swm_example_plugin` follow the maintainer review process of [swarmauri/swarmauri-sdk](https://github.com/swarmauri/swarmauri-sdk) and its contribution guide. Author attribution remains in the [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/pyproject.toml); this README does not assign new publishing or administrative authority.
354
+
355
+ ### Standards and Policies
356
+
357
+ `swm_example_plugin` follows the versioned [package-guide-v1 outline](https://github.com/groupsum/readme-standards/blob/master/docs/outline.md). All fixed headings, hierarchy, order, separators, and package-specific branding are checked by CI; reviewers assess the accuracy and usefulness of authored claims.
358
+
359
+ ### Lifecycle and Migration
360
+
361
+ The `swm_example_plugin` source version is `0.11.0`.
362
+
363
+ ---
364
+
365
+ ## License and Attribution
366
+
367
+ ### License
368
+
369
+ <!-- readme-standards:begin license -->
370
+ Licensed under `Apache-2.0`. See [LICENSE](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/LICENSE).
371
+ <!-- readme-standards:end license -->
372
+
373
+ ### Notices
374
+
375
+ <!-- readme-standards:begin notices -->
376
+ See [NOTICE](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/NOTICE) for attribution.
377
+ <!-- readme-standards:end notices -->
378
+
@@ -0,0 +1,342 @@
1
+ # swm_example_plugin
2
+
3
+ <!-- readme-standards:begin branding -->
4
+ <p align="center"><a href="https://github.com/swarmauri/swarmauri-sdk"><img src="https://raw.githubusercontent.com/swarmauri/swarmauri-sdk/master/assets/swarmauri.brand.theme.svg" alt="Swarmauri SDK" width="300"></a></p>
5
+ <p align="center"><strong>swm_example_plugin</strong></p>
6
+ <p align="center">This repository includes an example of a Swarmauri Plugin.</p>
7
+ <p align="center">
8
+ <a href="https://pypi.org/project/swm_example_plugin/"><img alt="pypi: swm_example_plugin" src="https://img.shields.io/pypi/v/swm_example_plugin?labelColor=1E293B&amp;color=1D4ED8"></a>
9
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/pyproject.toml"><img alt="Source version: 0.11.0" src="https://img.shields.io/static/v1?label=Source%20version&amp;message=0.11.0&amp;labelColor=1E293B&amp;color=4338CA"></a>
10
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/pyproject.toml"><img alt="Python: &gt;=3.10,&lt;3.15" src="https://img.shields.io/static/v1?label=Python&amp;message=%3E%3D3.10%2C%3C3.15&amp;labelColor=1E293B&amp;color=0F766E"></a>
11
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/pyproject.toml"><img alt="Layer: plugins" src="https://img.shields.io/static/v1?label=Layer&amp;message=plugins&amp;labelColor=1E293B&amp;color=6D28D9"></a>
12
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/README.md#lifecycle-and-migration"><img alt="Lifecycle: active" src="https://img.shields.io/static/v1?label=Lifecycle&amp;message=active&amp;labelColor=1E293B&amp;color=166534"></a>
13
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/LICENSE"><img alt="License: Apache-2.0" src="https://img.shields.io/static/v1?label=License&amp;message=Apache-2.0&amp;labelColor=1E293B&amp;color=86198F"></a>
14
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/NOTICE"><img alt="Notice: attribution" src="https://img.shields.io/static/v1?label=Notice&amp;message=attribution&amp;labelColor=1E293B&amp;color=86198F"></a>
15
+ </p>
16
+ <p align="center">
17
+ <a href="https://pypi.org/project/swm_example_plugin/"><img alt="Monthly PyPI downloads: swm_example_plugin" src="https://img.shields.io/pypi/dm/swm_example_plugin?labelColor=1E293B&amp;color=0E7490"></a>
18
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/README.md"><img alt="README hits: swm_example_plugin" src="https://hits.sh/github.com/swarmauri/swarmauri-sdk/pkgs/60-plugins/example_plugin/README.md.svg?label=README%20hits&amp;labelColor=1E293B&amp;color=0E7490"></a>
19
+ </p>
20
+ <p align="center">
21
+ <a href="https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml"><img alt="README standards: CI gate" src="https://img.shields.io/static/v1?label=README%20standards&amp;message=CI%20gate&amp;labelColor=1E293B&amp;color=1D4ED8"></a>
22
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/tests/unit/test_readme_sources.py"><img alt="Tests: example source" src="https://img.shields.io/static/v1?label=Tests&amp;message=example%20source&amp;labelColor=1E293B&amp;color=0F766E"></a>
23
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/README.md#certification-status"><img alt="Certification: not certified" src="https://img.shields.io/static/v1?label=Certification&amp;message=not%20certified&amp;labelColor=1E293B&amp;color=92400E"></a>
24
+ <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/tools/readme/POLICY.md"><img alt="Governance: repository policy" src="https://img.shields.io/static/v1?label=Governance&amp;message=repository%20policy&amp;labelColor=1E293B&amp;color=4338CA"></a>
25
+ <a href="https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml"><img alt="Evidence: source and CI" src="https://img.shields.io/static/v1?label=Evidence&amp;message=source%20and%20CI&amp;labelColor=1E293B&amp;color=6D28D9"></a>
26
+ </p>
27
+ <p align="center"><a href="#overview">Overview</a> · <a href="#installation">Installation</a> · <a href="#quick-start">Quick Start</a> · <a href="#usage">Usage</a> · <a href="#public-api-and-import-surfaces">API</a> · <a href="#contributing">Contributing</a> · <a href="#governance">Governance</a> · <a href="#license">License</a></p>
28
+ <!-- readme-standards:end branding -->
29
+
30
+ ---
31
+
32
+ ## Overview
33
+
34
+ ### Summary
35
+
36
+ The Swarmauri Example Plugin is a lightweight reference package that shows how to
37
+ ship a plugin ready for the Swarmauri ecosystem. It demonstrates how to declare
38
+ entry points, surface metadata, and structure tests so that new plugin projects
39
+ start from a fully configured baseline that supports Python 3.10 through 3.12.
40
+
41
+ ### Why This Package
42
+
43
+ `swm_example_plugin` isolates this responsibility: This repository includes an example of a Swarmauri Plugin. Its [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/swm_example_plugin/__init__.py) exposes `Path`, allowing consumers to select this package without treating adjacent packages as part of its public contract.
44
+
45
+ ### When to Use
46
+
47
+ Choose `swm_example_plugin` when your integration needs this repository includes an example of a Swarmauri Plugin. Match the imports below to your application boundary and install its declared dependencies before using the example.
48
+
49
+ ### Features
50
+
51
+ - **Entry-point wiring** - exposes the `swarmauri.plugins` group so your agent
52
+ classes can be discovered automatically once implemented.
53
+ - **Ready-to-publish metadata** - includes keywords, classifiers, and long
54
+ descriptions wired directly into `pyproject.toml`.
55
+ - **Version helpers** - surfaces `__version__` and `__long_desc__` constants so
56
+ documentation and tooling can introspect the package after installation.
57
+ - **Testing scaffold** - ships with baseline unit tests verifying version
58
+ resolution to encourage a test-first development workflow.
59
+
60
+ ### Non-Goals
61
+
62
+ `swm_example_plugin` owns this repository includes an example of a Swarmauri Plugin. Its imports do not by themselves configure credentials, deploy a service, or certify the behavior of its consumers. Dependencies and neighboring packages retain their own documented responsibilities.
63
+
64
+ ---
65
+
66
+ ## Getting Started
67
+
68
+ ### Prerequisites
69
+
70
+ Python `>=3.10,<3.15` is required. The [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/pyproject.toml) declares no direct runtime dependencies. Read the example’s inputs and service requirements before execution.
71
+
72
+ ### Installation
73
+
74
+ **Using uv**
75
+
76
+ ```bash
77
+ uv add swm-example-plugin
78
+ ```
79
+
80
+ **Using pip**
81
+
82
+ ```bash
83
+ pip install swm-example-plugin
84
+ ```
85
+
86
+ #### uv
87
+
88
+ <!-- readme-standards:begin installation.uv -->
89
+ ```bash
90
+ uv add swm_example_plugin
91
+ ```
92
+ <!-- readme-standards:end installation.uv -->
93
+
94
+ #### pip
95
+
96
+ <!-- readme-standards:begin installation.pip -->
97
+ ```bash
98
+ python -m pip install swm_example_plugin
99
+ ```
100
+ <!-- readme-standards:end installation.pip -->
101
+
102
+ #### Poetry
103
+
104
+ <!-- readme-standards:begin installation.poetry -->
105
+ ```bash
106
+ poetry add swm_example_plugin
107
+ ```
108
+ <!-- readme-standards:end installation.poetry -->
109
+
110
+ ### Quick Start
111
+
112
+ #### Example
113
+
114
+ <!-- readme-standards:begin example.quick-start -->
115
+ Source: [docs/readme/quick_start.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/docs/readme/quick_start.py).
116
+
117
+ ```python
118
+ from swm_example_plugin import __long_desc__, __version__
119
+
120
+ print(__version__)
121
+ print(__long_desc__.splitlines()[0])
122
+ ```
123
+ <!-- readme-standards:end example.quick-start -->
124
+
125
+ #### Expected Result
126
+
127
+ The example demonstrates the documented `swm_example_plugin` source boundary or workflow. Complete its required configuration first. README CI checks the maintained source’s syntax and declarations; it does not claim that external services or the application workflow were exercised.
128
+
129
+ ---
130
+
131
+ ## Usage
132
+
133
+ ### Common Workflows
134
+
135
+ <!-- readme-standards:begin example.usage -->
136
+ Source: [docs/readme/usage.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/docs/readme/usage.py).
137
+
138
+ ```python
139
+ from swm_example_plugin import __long_desc__, __version__
140
+
141
+ print(__version__)
142
+ print(__long_desc__.splitlines()[0])
143
+ ```
144
+ <!-- readme-standards:end example.usage -->
145
+
146
+ **Inspect published metadata**
147
+
148
+
149
+ **Discover the registered entry point**
150
+
151
+ ```python
152
+ from importlib.metadata import entry_points
153
+
154
+ for ep in entry_points(group="swarmauri.plugins"):
155
+ if ep.name == "example_agent":
156
+ print(ep.name, "->", ep.value)
157
+ break
158
+ ```
159
+
160
+ This skeleton intentionally leaves the actual agent implementation up to you.
161
+ Replace the target specified in the entry point with your concrete class to wire
162
+ custom functionality into the Swarmauri plugin registry.
163
+
164
+ ### Configuration
165
+
166
+ Configure `swm_example_plugin` through the APIs in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/swm_example_plugin/__init__.py); its [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/pyproject.toml) describes installation requirements, not an implicit service configuration. No additional package-global configuration contract is inferred from dependencies.
167
+
168
+ ### Error Handling
169
+
170
+ The inspected `swm_example_plugin` source does not establish a package-wide exception hierarchy. Preserve errors from its declared dependencies and validate inputs using the specific public contract in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/swm_example_plugin/__init__.py).
171
+
172
+ ### Best Practices
173
+
174
+ Use the explicit `swm_example_plugin` imports documented below and keep collaborator configuration with the caller. Run the package’s relevant tests after changing `Path`; an import or successful installation alone does not establish its runtime guarantees.
175
+
176
+ ---
177
+
178
+ ## Package Boundary
179
+
180
+ ### What It Owns
181
+
182
+ `swm_example_plugin` is located in `plugins` and owns this repository includes an example of a Swarmauri Plugin. Source-declared APIs include `Path`. The [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/pyproject.toml) records its direct dependency boundary.
183
+
184
+ ### Public API and Import Surfaces
185
+
186
+ Import namespace: `swm_example_plugin`.
187
+
188
+ Source-declared exports or types: `Path`.
189
+
190
+ Inspect [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/swm_example_plugin/__init__.py) for exact signatures; this inventory does not designate every internal module as stable.
191
+
192
+ ### Entry Points
193
+
194
+ <!-- readme-standards:begin entry-points -->
195
+ - `swarmauri.plugins` → `example_agent` → `swm_example_plugin.agents:ExampleAgent`
196
+ <!-- readme-standards:end entry-points -->
197
+
198
+ ### Injected Dependencies
199
+
200
+ The direct installation dependencies of `swm_example_plugin` are empty in the manifest. These declarations do not imply automatic provider selection. Pass collaborators through the explicit constructors or call signatures in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/swm_example_plugin/__init__.py).
201
+
202
+ ### Protocol Consumers
203
+
204
+ No direct package-manifest dependency on `swm_example_plugin` was found in the audited three-repository inventory. External consumers may still use its documented imports or commands.
205
+
206
+ ### Extensions
207
+
208
+ For `swm_example_plugin`, use the source-declared public interfaces (`Path`) when composing or extending behavior. Its entry-point section below is authoritative for registered plugins; no additional extension loader is inferred from the package name.
209
+
210
+ ---
211
+
212
+ ## Operations and Readiness
213
+
214
+ ### Operational Requirements
215
+
216
+ Operate `swm_example_plugin` according to its actual entry points and collaborators. The dependency and Python requirements in the [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/pyproject.toml) are prerequisites; deployment topology, credentials, and readiness remain the responsibility of the consuming application unless explicitly documented above.
217
+
218
+ ### Health and Observability
219
+
220
+ This README does not establish a standalone health endpoint for `swm_example_plugin`. Observe the concrete caller’s results, exceptions, and existing test reports. An application that embeds this package must define its own health and telemetry contract.
221
+
222
+ ### Security and Resource Limits
223
+
224
+ Apply the input, credential, and resource constraints implemented in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/swm_example_plugin/__init__.py). The `swm_example_plugin` README gate is a documentation check, not a security review or a substitute for the implementation’s limits and caller authorization.
225
+
226
+ ### Compatibility
227
+
228
+ This source version of `swm_example_plugin` declares Python `>=3.10,<3.15`. Consult its dependency constraints before upgrading. Source-version and registry-version badges have separate meanings; this migration makes no additional platform or interoperability certification claim.
229
+
230
+ ---
231
+
232
+ ## Verification
233
+
234
+ ### Tests
235
+
236
+ Run `python -m pytest tests/unit/test_readme_sources.py` from the `swm_example_plugin` package directory for the maintained example source checks (Python compilation and non-Python file presence). Existing package tests include:
237
+
238
+ - [tests/unit/test_version.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/tests/unit/test_version.py)
239
+
240
+ The repository README gate also checks the required heading tree, metadata, managed fragments, and referenced files.
241
+
242
+ ### Certification Status
243
+
244
+ No external certification is asserted for `swm_example_plugin` by this documentation migration. README conformance, example syntax, runtime tests, and protocol or security certification are distinct evidence scopes.
245
+
246
+ ### Evidence
247
+
248
+ The [README standards CI](https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml) records mechanical documentation results for its tested commit. The [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/swm_example_plugin/__init__.py) and example sources support the package-boundary description; external runtime behavior requires its own test evidence.
249
+
250
+ ---
251
+
252
+ ## FAQ
253
+
254
+ ### Why
255
+
256
+ **Why select this package?** `swm_example_plugin` provides this repository includes an example of a Swarmauri Plugin; use its own API boundary rather than assuming neighboring packages are bundled or configured automatically.
257
+
258
+ ### How
259
+
260
+ **How do I start?** Install or synchronize the environment under Getting Started, follow the maintained example for `swm_example_plugin`, and consult [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/swm_example_plugin/__init__.py) for the exact types and signatures involved.
261
+
262
+ ### When
263
+
264
+ **When should I validate an upgrade?** Recheck `swm_example_plugin` whenever its source version, declared collaborators, configuration, or caller changes. Run relevant behavioral tests in addition to the README gate before promotion.
265
+
266
+ ---
267
+
268
+ ## Documentation and Related Packages
269
+
270
+ ### More Documentation
271
+
272
+ The [repository contribution guide](https://github.com/swarmauri/swarmauri-sdk/blob/master/CONTRIBUTING.md), [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/swm_example_plugin/__init__.py), and [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/pyproject.toml) provide the supporting context for `swm_example_plugin`. The [README policy](https://github.com/groupsum/readme-standards/blob/master/docs/outline.md) defines the common document structure.
273
+
274
+ ### Related Packages
275
+
276
+ No direct local dependency was identified for `swm_example_plugin` in this checkout. External dependency names are listed under Prerequisites; packages in the same directory layer are not automatically dependencies.
277
+
278
+ ### Project Links
279
+
280
+ <!-- readme-standards:begin project-links -->
281
+ - [Changelog](https://github.com/swarmauri/swarmauri-sdk/releases)
282
+ - [Discussions](https://github.com/orgs/swarmauri/discussions)
283
+ - [Documentation](https://github.com/swarmauri/swarmauri-sdk/tree/main/pkgs/60-plugins/example_plugin#readme)
284
+ - [Homepage](https://github.com/swarmauri/swarmauri-sdk)
285
+ - [Issues](https://github.com/swarmauri/swarmauri-sdk/issues)
286
+ - [Source](https://github.com/swarmauri/swarmauri-sdk/tree/main/pkgs/60-plugins/example_plugin)
287
+ - [pypi: swm_example_plugin](https://pypi.org/project/swm_example_plugin/)
288
+ <!-- readme-standards:end project-links -->
289
+
290
+ - Source: <https://github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/60-plugins/example_plugin>
291
+ - Documentation: <https://github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/60-plugins/example_plugin#readme>
292
+ - Issues: <https://github.com/swarmauri/swarmauri-sdk/issues>
293
+ - Releases: <https://github.com/swarmauri/swarmauri-sdk/releases>
294
+ - Discussions: <https://github.com/orgs/swarmauri/discussions>
295
+
296
+ ---
297
+
298
+ ## Contributing
299
+
300
+ ### How to Contribute
301
+
302
+ Follow the [contribution guide](https://github.com/swarmauri/swarmauri-sdk/blob/master/CONTRIBUTING.md) and include a focused example or regression for changes to `swm_example_plugin`. Keep package behavior, its documented boundary, and its tests aligned.
303
+
304
+ ### Development Setup
305
+
306
+ Work from the `pkgs/60-plugins/example_plugin` checkout. Synchronize its declared development environment with uv, then run the relevant package tests and `python -m pytest tests/unit/test_readme_sources.py`. The repository’s dedicated README job installs `readme-standards==0.1.3` without resolving unrelated runtime packages.
307
+
308
+ ### Notes for Maintainers
309
+
310
+ Edit authored prose directly in this `swm_example_plugin` README. Update source examples in `docs/readme/`, then run `readme-standards render --root . --write` from the package directory and review the diff. Required headings and generated blocks come from package-guide-v1.
311
+
312
+ ---
313
+
314
+ ## Governance
315
+
316
+ ### Ownership and Decision Making
317
+
318
+ Changes to `swm_example_plugin` follow the maintainer review process of [swarmauri/swarmauri-sdk](https://github.com/swarmauri/swarmauri-sdk) and its contribution guide. Author attribution remains in the [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/pyproject.toml); this README does not assign new publishing or administrative authority.
319
+
320
+ ### Standards and Policies
321
+
322
+ `swm_example_plugin` follows the versioned [package-guide-v1 outline](https://github.com/groupsum/readme-standards/blob/master/docs/outline.md). All fixed headings, hierarchy, order, separators, and package-specific branding are checked by CI; reviewers assess the accuracy and usefulness of authored claims.
323
+
324
+ ### Lifecycle and Migration
325
+
326
+ The `swm_example_plugin` source version is `0.11.0`.
327
+
328
+ ---
329
+
330
+ ## License and Attribution
331
+
332
+ ### License
333
+
334
+ <!-- readme-standards:begin license -->
335
+ Licensed under `Apache-2.0`. See [LICENSE](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/LICENSE).
336
+ <!-- readme-standards:end license -->
337
+
338
+ ### Notices
339
+
340
+ <!-- readme-standards:begin notices -->
341
+ See [NOTICE](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/NOTICE) for attribution.
342
+ <!-- readme-standards:end notices -->
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "swm_example_plugin"
3
- version = "0.6.5.dev19"
3
+ version = "0.11.0"
4
4
  description = "This repository includes an example of a Swarmauri Plugin."
5
5
  authors = [{ name = "Jacob Stewart", email = "jacob@swarmauri.com" }]
6
6
  license = "Apache-2.0"
@@ -8,22 +8,24 @@ readme = { file = "README.md", content-type = "text/markdown" }
8
8
  repository = "http://github.com/swarmauri/swarmauri-sdk"
9
9
  classifiers = [
10
10
  "Development Status :: 1 - Planning",
11
- "License :: OSI Approved :: Apache Software License",
12
11
  "Natural Language :: English",
12
+ "Framework :: AsyncIO",
13
+ "Operating System :: OS Independent",
14
+ "Intended Audience :: Developers",
15
+ "Topic :: Software Development :: Libraries",
16
+ "Topic :: Education",
13
17
  "Programming Language :: Python",
14
18
  "Programming Language :: Python :: 3",
15
19
  "Programming Language :: Python :: 3 :: Only",
16
20
  "Programming Language :: Python :: 3.10",
17
21
  "Programming Language :: Python :: 3.11",
18
22
  "Programming Language :: Python :: 3.12",
19
- "Framework :: AsyncIO",
20
- "Operating System :: OS Independent",
21
- "Intended Audience :: Developers",
22
- "Topic :: Software Development :: Libraries",
23
- "Topic :: Education",
23
+ "Programming Language :: Python :: 3.13",
24
+ "Programming Language :: Python :: 3.14",
24
25
  ]
25
- requires-python = ">=3.10,<3.13"
26
- dependencies = []
26
+ requires-python = ">=3.10,<3.15"
27
+ dependencies = [
28
+ "tomli>=2; python_version < '3.11'",]
27
29
 
28
30
  keywords = [
29
31
  "swarmauri",
@@ -40,11 +42,12 @@ keywords = [
40
42
  "extension-points",
41
43
  "media-workflows",
42
44
  ]
45
+ license-files = ["LICENSE", "NOTICE"]
43
46
 
44
47
  [project.urls]
45
48
  Homepage = "https://github.com/swarmauri/swarmauri-sdk"
46
- Source = "https://github.com/swarmauri/swarmauri-sdk/tree/main/pkgs/plugins/example_plugin"
47
- Documentation = "https://github.com/swarmauri/swarmauri-sdk/tree/main/pkgs/plugins/example_plugin#readme"
49
+ Source = "https://github.com/swarmauri/swarmauri-sdk/tree/main/pkgs/60-plugins/example_plugin"
50
+ Documentation = "https://github.com/swarmauri/swarmauri-sdk/tree/main/pkgs/60-plugins/example_plugin#readme"
48
51
  Issues = "https://github.com/swarmauri/swarmauri-sdk/issues"
49
52
  Changelog = "https://github.com/swarmauri/swarmauri-sdk/releases"
50
53
  Discussions = "https://github.com/orgs/swarmauri/discussions"
@@ -52,6 +55,54 @@ Discussions = "https://github.com/orgs/swarmauri/discussions"
52
55
  [tool.uv.sources]
53
56
  swarmauri_tests_pylicense = { workspace = true }
54
57
 
58
+ [tool.readme_standards]
59
+ policy = "package-guide-v1"
60
+ readme = "README.md"
61
+ brand = "swarmauri"
62
+ brand_catalog = "../../../tools/readme/brands.toml"
63
+ repository = "https://github.com/swarmauri/swarmauri-sdk"
64
+ ref = "master"
65
+ package_path = "pkgs/60-plugins/example_plugin"
66
+ layer = "plugins"
67
+ lifecycle = "active"
68
+ license_file = "LICENSE"
69
+ notice_file = "NOTICE"
70
+
71
+ [tool.readme_standards.distributions.pypi]
72
+ name = "swm_example_plugin"
73
+ published = true
74
+
75
+ [tool.readme_standards.examples.quick_start]
76
+ source = "docs/readme/quick_start.py"
77
+ test = "tests/unit/test_readme_sources.py"
78
+ language = "python"
79
+ expected_exit_code = 0
80
+
81
+ [tool.readme_standards.examples.usage]
82
+ source = "docs/readme/usage.py"
83
+ test = "tests/unit/test_readme_sources.py"
84
+ language = "python"
85
+ expected_exit_code = 0
86
+
87
+ [tool.readme_standards.statuses.readme]
88
+ label = "CI gate"
89
+ url = "https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml"
90
+
91
+ [tool.readme_standards.statuses.tests]
92
+ label = "example source"
93
+ url = "https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/tests/unit/test_readme_sources.py"
94
+
95
+ [tool.readme_standards.statuses.certification]
96
+ label = "not certified"
97
+ url = "https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/60-plugins/example_plugin/README.md#certification-status"
98
+
99
+ [tool.readme_standards.statuses.governance]
100
+ label = "repository policy"
101
+ url = "https://github.com/swarmauri/swarmauri-sdk/blob/master/tools/readme/POLICY.md"
102
+
103
+ [tool.readme_standards.statuses.evidence]
104
+ label = "source and CI"
105
+ url = "https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml"
55
106
  [project.entry-points."swarmauri.plugins"]
56
107
  example_agent = "swm_example_plugin.agents:ExampleAgent"
57
108
 
@@ -62,9 +113,10 @@ dev = [
62
113
  "pytest-xdist>=3.6.1",
63
114
  "pytest-json-report>=1.5.0",
64
115
  "python-dotenv>=1.0.0",
65
- "requests>=2.32.3",
116
+ "httpx>=0.27",
66
117
  "ruff>=0.9.9",
67
118
  "swarmauri_tests_pylicense",
119
+ "readme-standards==0.1.3; python_version >= \"3.11\"",
68
120
  ]
69
121
 
70
122
  [tool.pytest.ini_options]
@@ -86,4 +138,3 @@ addopts = "--pylicense-package=swm-example-plugin --pylicense-mode=parameterized
86
138
  [build-system]
87
139
  requires = ["poetry-core>=1.0.0"]
88
140
  build-backend = "poetry.core.masonry.api"
89
-
@@ -3,7 +3,11 @@ try:
3
3
  except ImportError: # pragma: no cover
4
4
  from importlib_metadata import PackageNotFoundError, version
5
5
  from pathlib import Path
6
- import tomllib
6
+
7
+ try:
8
+ import tomllib
9
+ except ImportError: # Python 3.10
10
+ import tomli as tomllib
7
11
 
8
12
  try:
9
13
  __version__ = version("swm-example-plugin")
@@ -1,112 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: swm_example_plugin
3
- Version: 0.6.5.dev19
4
- Summary: This repository includes an example of a Swarmauri Plugin.
5
- License-Expression: Apache-2.0
6
- License-File: LICENSE
7
- Keywords: swarmauri,plugin,example,agents,entry-points,sdk,scaffolding,template,tutorial,packaging,asyncio,extension-points,media-workflows
8
- Author: Jacob Stewart
9
- Author-email: jacob@swarmauri.com
10
- Requires-Python: >=3.10,<3.13
11
- Classifier: Development Status :: 1 - Planning
12
- Classifier: License :: OSI Approved :: Apache Software License
13
- Classifier: Natural Language :: English
14
- Classifier: Programming Language :: Python
15
- Classifier: Programming Language :: Python :: 3
16
- Classifier: Programming Language :: Python :: 3 :: Only
17
- Classifier: Programming Language :: Python :: 3.10
18
- Classifier: Programming Language :: Python :: 3.11
19
- Classifier: Programming Language :: Python :: 3.12
20
- Classifier: Framework :: AsyncIO
21
- Classifier: Operating System :: OS Independent
22
- Classifier: Intended Audience :: Developers
23
- Classifier: Topic :: Software Development :: Libraries
24
- Classifier: Topic :: Education
25
- Project-URL: Changelog, https://github.com/swarmauri/swarmauri-sdk/releases
26
- Project-URL: Documentation, https://github.com/swarmauri/swarmauri-sdk/tree/main/pkgs/plugins/example_plugin#readme
27
- Project-URL: Discussions, https://github.com/orgs/swarmauri/discussions
28
- Project-URL: Homepage, https://github.com/swarmauri/swarmauri-sdk
29
- Project-URL: Issues, https://github.com/swarmauri/swarmauri-sdk/issues
30
- Project-URL: Source, https://github.com/swarmauri/swarmauri-sdk/tree/main/pkgs/plugins/example_plugin
31
- Description-Content-Type: text/markdown
32
-
33
- <p align="center">
34
- <img src="https://github.com/swarmauri/swarmauri-sdk/blob/3d4d1cfa949399d7019ae9d8f296afba773dfb7f/assets/swarmauri.brand.theme.svg" alt="Swarmauri logotype" width="420" />
35
- </p>
36
-
37
- <h1 align="center">Swarmauri Example Plugin</h1>
38
-
39
- <p align="center">
40
- <a href="https://pypi.org/project/swm-example-plugin/"><img src="https://img.shields.io/pypi/dm/swm-example-plugin?style=for-the-badge" alt="PyPI - Downloads" /></a>
41
- <a href="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/main/pkgs/plugins/example_plugin/"><img src="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/main/pkgs/plugins/example_plugin.svg?style=for-the-badge" alt="Repository views" /></a>
42
- <a href="https://pypi.org/project/swm-example-plugin/"><img src="https://img.shields.io/pypi/pyversions/swm-example-plugin?style=for-the-badge" alt="Supported Python versions" /></a>
43
- <a href="https://pypi.org/project/swm-example-plugin/"><img src="https://img.shields.io/pypi/l/swm-example-plugin?style=for-the-badge" alt="License" /></a>
44
- <a href="https://pypi.org/project/swm-example-plugin/"><img src="https://img.shields.io/pypi/v/swm-example-plugin?style=for-the-badge&label=swm-example-plugin" alt="Latest release" /></a>
45
- </p>
46
-
47
- ---
48
-
49
- The Swarmauri Example Plugin is a lightweight reference package that shows how to
50
- ship a plugin ready for the Swarmauri ecosystem. It demonstrates how to declare
51
- entry points, surface metadata, and structure tests so that new plugin projects
52
- start from a fully configured baseline that supports Python 3.10 through 3.12.
53
-
54
- ## Features
55
-
56
- - **Entry-point wiring** – exposes the `swarmauri.plugins` group so your agent
57
- classes can be discovered automatically once implemented.
58
- - **Ready-to-publish metadata** – includes keywords, classifiers, and long
59
- descriptions wired directly into `pyproject.toml`.
60
- - **Version helpers** – surfaces `__version__` and `__long_desc__` constants so
61
- documentation and tooling can introspect the package after installation.
62
- - **Testing scaffold** – ships with baseline unit tests verifying version
63
- resolution to encourage a test-first development workflow.
64
-
65
- ## Installation
66
-
67
- ### Using `uv`
68
-
69
- ```bash
70
- uv add swm-example-plugin
71
- ```
72
-
73
- ### Using `pip`
74
-
75
- ```bash
76
- pip install swm-example-plugin
77
- ```
78
-
79
- ## Usage
80
-
81
- ### Inspect published metadata
82
-
83
- ```python
84
- from swm_example_plugin import __long_desc__, __version__
85
-
86
- print(__version__)
87
- print(__long_desc__.splitlines()[0])
88
- ```
89
-
90
- ### Discover the registered entry point
91
-
92
- ```python
93
- from importlib.metadata import entry_points
94
-
95
- for ep in entry_points(group="swarmauri.plugins"):
96
- if ep.name == "example_agent":
97
- print(ep.name, "->", ep.value)
98
- break
99
- ```
100
-
101
- This skeleton intentionally leaves the actual agent implementation up to you.
102
- Replace the target specified in the entry point with your concrete class to wire
103
- custom functionality into the Swarmauri plugin registry.
104
-
105
- ## Project Resources
106
-
107
- - Source: <https://github.com/swarmauri/swarmauri-sdk/tree/main/pkgs/plugins/example_plugin>
108
- - Documentation: <https://github.com/swarmauri/swarmauri-sdk/tree/main/pkgs/plugins/example_plugin#readme>
109
- - Issues: <https://github.com/swarmauri/swarmauri-sdk/issues>
110
- - Releases: <https://github.com/swarmauri/swarmauri-sdk/releases>
111
- - Discussions: <https://github.com/orgs/swarmauri/discussions>
112
-
@@ -1,79 +0,0 @@
1
- <p align="center">
2
- <img src="https://github.com/swarmauri/swarmauri-sdk/blob/3d4d1cfa949399d7019ae9d8f296afba773dfb7f/assets/swarmauri.brand.theme.svg" alt="Swarmauri logotype" width="420" />
3
- </p>
4
-
5
- <h1 align="center">Swarmauri Example Plugin</h1>
6
-
7
- <p align="center">
8
- <a href="https://pypi.org/project/swm-example-plugin/"><img src="https://img.shields.io/pypi/dm/swm-example-plugin?style=for-the-badge" alt="PyPI - Downloads" /></a>
9
- <a href="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/main/pkgs/plugins/example_plugin/"><img src="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/main/pkgs/plugins/example_plugin.svg?style=for-the-badge" alt="Repository views" /></a>
10
- <a href="https://pypi.org/project/swm-example-plugin/"><img src="https://img.shields.io/pypi/pyversions/swm-example-plugin?style=for-the-badge" alt="Supported Python versions" /></a>
11
- <a href="https://pypi.org/project/swm-example-plugin/"><img src="https://img.shields.io/pypi/l/swm-example-plugin?style=for-the-badge" alt="License" /></a>
12
- <a href="https://pypi.org/project/swm-example-plugin/"><img src="https://img.shields.io/pypi/v/swm-example-plugin?style=for-the-badge&label=swm-example-plugin" alt="Latest release" /></a>
13
- </p>
14
-
15
- ---
16
-
17
- The Swarmauri Example Plugin is a lightweight reference package that shows how to
18
- ship a plugin ready for the Swarmauri ecosystem. It demonstrates how to declare
19
- entry points, surface metadata, and structure tests so that new plugin projects
20
- start from a fully configured baseline that supports Python 3.10 through 3.12.
21
-
22
- ## Features
23
-
24
- - **Entry-point wiring** – exposes the `swarmauri.plugins` group so your agent
25
- classes can be discovered automatically once implemented.
26
- - **Ready-to-publish metadata** – includes keywords, classifiers, and long
27
- descriptions wired directly into `pyproject.toml`.
28
- - **Version helpers** – surfaces `__version__` and `__long_desc__` constants so
29
- documentation and tooling can introspect the package after installation.
30
- - **Testing scaffold** – ships with baseline unit tests verifying version
31
- resolution to encourage a test-first development workflow.
32
-
33
- ## Installation
34
-
35
- ### Using `uv`
36
-
37
- ```bash
38
- uv add swm-example-plugin
39
- ```
40
-
41
- ### Using `pip`
42
-
43
- ```bash
44
- pip install swm-example-plugin
45
- ```
46
-
47
- ## Usage
48
-
49
- ### Inspect published metadata
50
-
51
- ```python
52
- from swm_example_plugin import __long_desc__, __version__
53
-
54
- print(__version__)
55
- print(__long_desc__.splitlines()[0])
56
- ```
57
-
58
- ### Discover the registered entry point
59
-
60
- ```python
61
- from importlib.metadata import entry_points
62
-
63
- for ep in entry_points(group="swarmauri.plugins"):
64
- if ep.name == "example_agent":
65
- print(ep.name, "->", ep.value)
66
- break
67
- ```
68
-
69
- This skeleton intentionally leaves the actual agent implementation up to you.
70
- Replace the target specified in the entry point with your concrete class to wire
71
- custom functionality into the Swarmauri plugin registry.
72
-
73
- ## Project Resources
74
-
75
- - Source: <https://github.com/swarmauri/swarmauri-sdk/tree/main/pkgs/plugins/example_plugin>
76
- - Documentation: <https://github.com/swarmauri/swarmauri-sdk/tree/main/pkgs/plugins/example_plugin#readme>
77
- - Issues: <https://github.com/swarmauri/swarmauri-sdk/issues>
78
- - Releases: <https://github.com/swarmauri/swarmauri-sdk/releases>
79
- - Discussions: <https://github.com/orgs/swarmauri/discussions>