swm-example-community-package 0.6.4.dev1__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.
- swm_example_community_package-0.11.0/NOTICE +7 -0
- swm_example_community_package-0.11.0/PKG-INFO +320 -0
- swm_example_community_package-0.11.0/README.md +291 -0
- swm_example_community_package-0.11.0/pyproject.toml +105 -0
- swm_example_community_package-0.11.0/swm_example_community_package/__init__.py +33 -0
- swm_example_community_package-0.6.4.dev1/PKG-INFO +0 -44
- swm_example_community_package-0.6.4.dev1/README.md +0 -16
- swm_example_community_package-0.6.4.dev1/pyproject.toml +0 -56
- swm_example_community_package-0.6.4.dev1/swm_example_community_package/__init__.py +0 -13
- {swm_example_community_package-0.6.4.dev1 → swm_example_community_package-0.11.0}/LICENSE +0 -0
- {swm_example_community_package-0.6.4.dev1 → swm_example_community_package-0.11.0}/swm_example_community_package/ExampleCommunityAgent.py +0 -0
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: swm_example_community_package
|
|
3
|
+
Version: 0.11.0
|
|
4
|
+
Summary: example community package
|
|
5
|
+
License-Expression: Apache-2.0
|
|
6
|
+
License-File: LICENSE
|
|
7
|
+
License-File: NOTICE
|
|
8
|
+
Keywords: swarmauri,swm,example,community,package
|
|
9
|
+
Author: Jacob Stewart
|
|
10
|
+
Author-email: jacob@swarmauri.com
|
|
11
|
+
Requires-Python: >=3.10,<3.15
|
|
12
|
+
Classifier: Natural Language :: English
|
|
13
|
+
Classifier: Development Status :: 3 - Alpha
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
|
|
16
|
+
Classifier: Programming Language :: Python
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
24
|
+
Requires-Dist: swarmauri_base
|
|
25
|
+
Requires-Dist: swarmauri_core
|
|
26
|
+
Requires-Dist: tomli (>=2) ; python_version < "3.11"
|
|
27
|
+
Description-Content-Type: text/markdown
|
|
28
|
+
|
|
29
|
+
# swm_example_community_package
|
|
30
|
+
|
|
31
|
+
<!-- readme-standards:begin branding -->
|
|
32
|
+
<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>
|
|
33
|
+
<p align="center"><strong>swm_example_community_package</strong></p>
|
|
34
|
+
<p align="center">example community package</p>
|
|
35
|
+
<p align="center">
|
|
36
|
+
<a href="https://pypi.org/project/swm_example_community_package/"><img alt="pypi: swm_example_community_package" src="https://img.shields.io/pypi/v/swm_example_community_package?labelColor=1E293B&color=1D4ED8"></a>
|
|
37
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/pyproject.toml"><img alt="Source version: 0.11.0" src="https://img.shields.io/static/v1?label=Source%20version&message=0.11.0&labelColor=1E293B&color=4338CA"></a>
|
|
38
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/pyproject.toml"><img alt="Python: >=3.10,<3.15" src="https://img.shields.io/static/v1?label=Python&message=%3E%3D3.10%2C%3C3.15&labelColor=1E293B&color=0F766E"></a>
|
|
39
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/pyproject.toml"><img alt="Layer: community" src="https://img.shields.io/static/v1?label=Layer&message=community&labelColor=1E293B&color=6D28D9"></a>
|
|
40
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/README.md#lifecycle-and-migration"><img alt="Lifecycle: active" src="https://img.shields.io/static/v1?label=Lifecycle&message=active&labelColor=1E293B&color=166534"></a>
|
|
41
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/LICENSE"><img alt="License: Apache-2.0" src="https://img.shields.io/static/v1?label=License&message=Apache-2.0&labelColor=1E293B&color=86198F"></a>
|
|
42
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/NOTICE"><img alt="Notice: attribution" src="https://img.shields.io/static/v1?label=Notice&message=attribution&labelColor=1E293B&color=86198F"></a>
|
|
43
|
+
</p>
|
|
44
|
+
<p align="center">
|
|
45
|
+
<a href="https://pypi.org/project/swm_example_community_package/"><img alt="Monthly PyPI downloads: swm_example_community_package" src="https://img.shields.io/pypi/dm/swm_example_community_package?labelColor=1E293B&color=0E7490"></a>
|
|
46
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/README.md"><img alt="README hits: swm_example_community_package" src="https://hits.sh/github.com/swarmauri/swarmauri-sdk/pkgs/50-community/swm_example_community_package/README.md.svg?label=README%20hits&labelColor=1E293B&color=0E7490"></a>
|
|
47
|
+
</p>
|
|
48
|
+
<p align="center">
|
|
49
|
+
<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&message=CI%20gate&labelColor=1E293B&color=1D4ED8"></a>
|
|
50
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/tests/unit/test_readme_sources.py"><img alt="Tests: example source" src="https://img.shields.io/static/v1?label=Tests&message=example%20source&labelColor=1E293B&color=0F766E"></a>
|
|
51
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/README.md#certification-status"><img alt="Certification: not certified" src="https://img.shields.io/static/v1?label=Certification&message=not%20certified&labelColor=1E293B&color=92400E"></a>
|
|
52
|
+
<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&message=repository%20policy&labelColor=1E293B&color=4338CA"></a>
|
|
53
|
+
<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&message=source%20and%20CI&labelColor=1E293B&color=6D28D9"></a>
|
|
54
|
+
</p>
|
|
55
|
+
<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>
|
|
56
|
+
<!-- readme-standards:end branding -->
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## Overview
|
|
61
|
+
|
|
62
|
+
### Summary
|
|
63
|
+
|
|
64
|
+
`swm_example_community_package`: example community package
|
|
65
|
+
|
|
66
|
+
### Why This Package
|
|
67
|
+
|
|
68
|
+
`swm_example_community_package` isolates this responsibility: example community package. Its [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/swm_example_community_package/__init__.py) exposes `PackageNotFoundError`, `Path`, `annotations`, `version`, allowing consumers to select this package without treating adjacent packages as part of its public contract.
|
|
69
|
+
|
|
70
|
+
### When to Use
|
|
71
|
+
|
|
72
|
+
Choose `swm_example_community_package` when your integration needs example community package. Match the imports below to your application boundary and install its declared dependencies before using the example.
|
|
73
|
+
|
|
74
|
+
### Features
|
|
75
|
+
|
|
76
|
+
- `ExampleCommunityAgent`: declared in swm_example_community_package/ExampleCommunityAgent.py
|
|
77
|
+
|
|
78
|
+
### Non-Goals
|
|
79
|
+
|
|
80
|
+
`swm_example_community_package` owns example community package. 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.
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## Getting Started
|
|
85
|
+
|
|
86
|
+
### Prerequisites
|
|
87
|
+
|
|
88
|
+
Python `>=3.10,<3.15` is required. The [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/pyproject.toml) declares runtime dependencies including `swarmauri-core`, `swarmauri-base`. Read the example’s inputs and service requirements before execution.
|
|
89
|
+
|
|
90
|
+
### Installation
|
|
91
|
+
|
|
92
|
+
#### uv
|
|
93
|
+
|
|
94
|
+
<!-- readme-standards:begin installation.uv -->
|
|
95
|
+
```bash
|
|
96
|
+
uv add swm_example_community_package
|
|
97
|
+
```
|
|
98
|
+
<!-- readme-standards:end installation.uv -->
|
|
99
|
+
|
|
100
|
+
#### pip
|
|
101
|
+
|
|
102
|
+
<!-- readme-standards:begin installation.pip -->
|
|
103
|
+
```bash
|
|
104
|
+
python -m pip install swm_example_community_package
|
|
105
|
+
```
|
|
106
|
+
<!-- readme-standards:end installation.pip -->
|
|
107
|
+
|
|
108
|
+
#### Poetry
|
|
109
|
+
|
|
110
|
+
<!-- readme-standards:begin installation.poetry -->
|
|
111
|
+
```bash
|
|
112
|
+
poetry add swm_example_community_package
|
|
113
|
+
```
|
|
114
|
+
<!-- readme-standards:end installation.poetry -->
|
|
115
|
+
|
|
116
|
+
### Quick Start
|
|
117
|
+
|
|
118
|
+
#### Example
|
|
119
|
+
|
|
120
|
+
<!-- readme-standards:begin example.quick-start -->
|
|
121
|
+
Source: [docs/readme/quick_start.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/docs/readme/quick_start.py).
|
|
122
|
+
|
|
123
|
+
```python
|
|
124
|
+
import importlib
|
|
125
|
+
|
|
126
|
+
package = importlib.import_module("swm_example_community_package")
|
|
127
|
+
assert package.__name__ == "swm_example_community_package"
|
|
128
|
+
```
|
|
129
|
+
<!-- readme-standards:end example.quick-start -->
|
|
130
|
+
|
|
131
|
+
#### Expected Result
|
|
132
|
+
|
|
133
|
+
This quick start is explicitly an import smoke check for `swm_example_community_package`. It confirms that the documented namespace loads; it does not demonstrate or certify a complete application workflow. The detailed source and retained usage guidance below describe the integration boundary.
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
## Usage
|
|
138
|
+
|
|
139
|
+
### Common Workflows
|
|
140
|
+
|
|
141
|
+
<!-- readme-standards:begin example.usage -->
|
|
142
|
+
Source: [docs/readme/usage.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/docs/readme/usage.py).
|
|
143
|
+
|
|
144
|
+
```python
|
|
145
|
+
import importlib
|
|
146
|
+
|
|
147
|
+
package = importlib.import_module("swm_example_community_package")
|
|
148
|
+
assert package.__name__ == "swm_example_community_package"
|
|
149
|
+
```
|
|
150
|
+
<!-- readme-standards:end example.usage -->
|
|
151
|
+
|
|
152
|
+
### Configuration
|
|
153
|
+
|
|
154
|
+
Configure `swm_example_community_package` through the APIs in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/swm_example_community_package/__init__.py); its [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/pyproject.toml) describes installation requirements, not an implicit service configuration. No additional package-global configuration contract is inferred from dependencies.
|
|
155
|
+
|
|
156
|
+
### Error Handling
|
|
157
|
+
|
|
158
|
+
The inspected `swm_example_community_package` 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/50-community/swm_example_community_package/swm_example_community_package/__init__.py).
|
|
159
|
+
|
|
160
|
+
### Best Practices
|
|
161
|
+
|
|
162
|
+
Use the explicit `swm_example_community_package` imports documented below and keep collaborator configuration with the caller. Run the package’s relevant tests after changing `PackageNotFoundError`, `Path`, `annotations`, `version`; an import or successful installation alone does not establish its runtime guarantees.
|
|
163
|
+
|
|
164
|
+
---
|
|
165
|
+
|
|
166
|
+
## Package Boundary
|
|
167
|
+
|
|
168
|
+
### What It Owns
|
|
169
|
+
|
|
170
|
+
`swm_example_community_package` is located in `community` and owns example community package. Source-declared APIs include `PackageNotFoundError`, `Path`, `annotations`, `version`. The [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/pyproject.toml) records its direct dependency boundary.
|
|
171
|
+
|
|
172
|
+
### Public API and Import Surfaces
|
|
173
|
+
|
|
174
|
+
Import namespace: `swm_example_community_package`.
|
|
175
|
+
|
|
176
|
+
Source-declared exports or types: `PackageNotFoundError`, `Path`, `annotations`, `version`.
|
|
177
|
+
|
|
178
|
+
Inspect [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/swm_example_community_package/__init__.py) for exact signatures; this inventory does not designate every internal module as stable.
|
|
179
|
+
|
|
180
|
+
### Entry Points
|
|
181
|
+
|
|
182
|
+
<!-- readme-standards:begin entry-points -->
|
|
183
|
+
- `swarmauri.agents` → `ExampleCommunityAgent` → `swm_example_community_package.ExampleCommunityAgent:ExampleCommunityAgent`
|
|
184
|
+
<!-- readme-standards:end entry-points -->
|
|
185
|
+
|
|
186
|
+
### Injected Dependencies
|
|
187
|
+
|
|
188
|
+
The direct installation dependencies of `swm_example_community_package` are `swarmauri-core`, `swarmauri-base`. 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/50-community/swm_example_community_package/swm_example_community_package/__init__.py).
|
|
189
|
+
|
|
190
|
+
### Protocol Consumers
|
|
191
|
+
|
|
192
|
+
No direct package-manifest dependency on `swm_example_community_package` was found in the audited three-repository inventory. External consumers may still use its documented imports or commands.
|
|
193
|
+
|
|
194
|
+
### Extensions
|
|
195
|
+
|
|
196
|
+
For `swm_example_community_package`, use the source-declared public interfaces (`PackageNotFoundError`, `Path`, `annotations`, `version`) 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.
|
|
197
|
+
|
|
198
|
+
---
|
|
199
|
+
|
|
200
|
+
## Operations and Readiness
|
|
201
|
+
|
|
202
|
+
### Operational Requirements
|
|
203
|
+
|
|
204
|
+
Operate `swm_example_community_package` 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/50-community/swm_example_community_package/pyproject.toml) are prerequisites; deployment topology, credentials, and readiness remain the responsibility of the consuming application unless explicitly documented above.
|
|
205
|
+
|
|
206
|
+
### Health and Observability
|
|
207
|
+
|
|
208
|
+
This README does not establish a standalone health endpoint for `swm_example_community_package`. 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.
|
|
209
|
+
|
|
210
|
+
### Security and Resource Limits
|
|
211
|
+
|
|
212
|
+
Apply the input, credential, and resource constraints implemented in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/swm_example_community_package/__init__.py). The `swm_example_community_package` README gate is a documentation check, not a security review or a substitute for the implementation’s limits and caller authorization.
|
|
213
|
+
|
|
214
|
+
### Compatibility
|
|
215
|
+
|
|
216
|
+
This source version of `swm_example_community_package` 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.
|
|
217
|
+
|
|
218
|
+
---
|
|
219
|
+
|
|
220
|
+
## Verification
|
|
221
|
+
|
|
222
|
+
### Tests
|
|
223
|
+
|
|
224
|
+
Run `python -m pytest tests/unit/test_readme_sources.py` from the `swm_example_community_package` package directory for the maintained example source checks (Python compilation and non-Python file presence). Existing package tests include:
|
|
225
|
+
|
|
226
|
+
- [tests/unit/test_version.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/tests/unit/test_version.py)
|
|
227
|
+
|
|
228
|
+
The repository README gate also checks the required heading tree, metadata, managed fragments, and referenced files.
|
|
229
|
+
|
|
230
|
+
### Certification Status
|
|
231
|
+
|
|
232
|
+
No external certification is asserted for `swm_example_community_package` by this documentation migration. README conformance, example syntax, runtime tests, and protocol or security certification are distinct evidence scopes.
|
|
233
|
+
|
|
234
|
+
### Evidence
|
|
235
|
+
|
|
236
|
+
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/50-community/swm_example_community_package/swm_example_community_package/__init__.py) and example sources support the package-boundary description; external runtime behavior requires its own test evidence.
|
|
237
|
+
|
|
238
|
+
---
|
|
239
|
+
|
|
240
|
+
## FAQ
|
|
241
|
+
|
|
242
|
+
### Why
|
|
243
|
+
|
|
244
|
+
**Why select this package?** `swm_example_community_package` provides example community package; use its own API boundary rather than assuming neighboring packages are bundled or configured automatically.
|
|
245
|
+
|
|
246
|
+
### How
|
|
247
|
+
|
|
248
|
+
**How do I start?** Install or synchronize the environment under Getting Started, follow the maintained example for `swm_example_community_package`, and consult [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/swm_example_community_package/__init__.py) for the exact types and signatures involved.
|
|
249
|
+
|
|
250
|
+
### When
|
|
251
|
+
|
|
252
|
+
**When should I validate an upgrade?** Recheck `swm_example_community_package` whenever its source version, declared collaborators, configuration, or caller changes. Run relevant behavioral tests in addition to the README gate before promotion.
|
|
253
|
+
|
|
254
|
+
---
|
|
255
|
+
|
|
256
|
+
## Documentation and Related Packages
|
|
257
|
+
|
|
258
|
+
### More Documentation
|
|
259
|
+
|
|
260
|
+
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/50-community/swm_example_community_package/swm_example_community_package/__init__.py), and [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/pyproject.toml) provide the supporting context for `swm_example_community_package`. The [README policy](https://github.com/groupsum/readme-standards/blob/master/docs/outline.md) defines the common document structure.
|
|
261
|
+
|
|
262
|
+
### Related Packages
|
|
263
|
+
|
|
264
|
+
- [swarmauri_base](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/20-bases/swarmauri_base/README.md): Reusable Swarmauri base classes, mixins, and dynamic Pydantic component models for composable intelligence infrastructure.
|
|
265
|
+
- [swarmauri_core](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/10-interfaces/swarmauri_core/README.md): Core interface contracts and shared types for Swarmauri composable intelligence infrastructure components.
|
|
266
|
+
|
|
267
|
+
### Project Links
|
|
268
|
+
|
|
269
|
+
<!-- readme-standards:begin project-links -->
|
|
270
|
+
- [pypi: swm_example_community_package](https://pypi.org/project/swm_example_community_package/)
|
|
271
|
+
<!-- readme-standards:end project-links -->
|
|
272
|
+
|
|
273
|
+
---
|
|
274
|
+
|
|
275
|
+
## Contributing
|
|
276
|
+
|
|
277
|
+
### How to Contribute
|
|
278
|
+
|
|
279
|
+
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_community_package`. Keep package behavior, its documented boundary, and its tests aligned.
|
|
280
|
+
|
|
281
|
+
### Development Setup
|
|
282
|
+
|
|
283
|
+
Work from the `pkgs/50-community/swm_example_community_package` 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.
|
|
284
|
+
|
|
285
|
+
### Notes for Maintainers
|
|
286
|
+
|
|
287
|
+
Edit authored prose directly in this `swm_example_community_package` 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.
|
|
288
|
+
|
|
289
|
+
---
|
|
290
|
+
|
|
291
|
+
## Governance
|
|
292
|
+
|
|
293
|
+
### Ownership and Decision Making
|
|
294
|
+
|
|
295
|
+
Changes to `swm_example_community_package` 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/50-community/swm_example_community_package/pyproject.toml); this README does not assign new publishing or administrative authority.
|
|
296
|
+
|
|
297
|
+
### Standards and Policies
|
|
298
|
+
|
|
299
|
+
`swm_example_community_package` 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.
|
|
300
|
+
|
|
301
|
+
### Lifecycle and Migration
|
|
302
|
+
|
|
303
|
+
The `swm_example_community_package` source version is `0.11.0`.
|
|
304
|
+
|
|
305
|
+
---
|
|
306
|
+
|
|
307
|
+
## License and Attribution
|
|
308
|
+
|
|
309
|
+
### License
|
|
310
|
+
|
|
311
|
+
<!-- readme-standards:begin license -->
|
|
312
|
+
Licensed under `Apache-2.0`. See [LICENSE](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/LICENSE).
|
|
313
|
+
<!-- readme-standards:end license -->
|
|
314
|
+
|
|
315
|
+
### Notices
|
|
316
|
+
|
|
317
|
+
<!-- readme-standards:begin notices -->
|
|
318
|
+
See [NOTICE](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/NOTICE) for attribution.
|
|
319
|
+
<!-- readme-standards:end notices -->
|
|
320
|
+
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
# swm_example_community_package
|
|
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_community_package</strong></p>
|
|
6
|
+
<p align="center">example community package</p>
|
|
7
|
+
<p align="center">
|
|
8
|
+
<a href="https://pypi.org/project/swm_example_community_package/"><img alt="pypi: swm_example_community_package" src="https://img.shields.io/pypi/v/swm_example_community_package?labelColor=1E293B&color=1D4ED8"></a>
|
|
9
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/pyproject.toml"><img alt="Source version: 0.11.0" src="https://img.shields.io/static/v1?label=Source%20version&message=0.11.0&labelColor=1E293B&color=4338CA"></a>
|
|
10
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/pyproject.toml"><img alt="Python: >=3.10,<3.15" src="https://img.shields.io/static/v1?label=Python&message=%3E%3D3.10%2C%3C3.15&labelColor=1E293B&color=0F766E"></a>
|
|
11
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/pyproject.toml"><img alt="Layer: community" src="https://img.shields.io/static/v1?label=Layer&message=community&labelColor=1E293B&color=6D28D9"></a>
|
|
12
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/README.md#lifecycle-and-migration"><img alt="Lifecycle: active" src="https://img.shields.io/static/v1?label=Lifecycle&message=active&labelColor=1E293B&color=166534"></a>
|
|
13
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/LICENSE"><img alt="License: Apache-2.0" src="https://img.shields.io/static/v1?label=License&message=Apache-2.0&labelColor=1E293B&color=86198F"></a>
|
|
14
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/NOTICE"><img alt="Notice: attribution" src="https://img.shields.io/static/v1?label=Notice&message=attribution&labelColor=1E293B&color=86198F"></a>
|
|
15
|
+
</p>
|
|
16
|
+
<p align="center">
|
|
17
|
+
<a href="https://pypi.org/project/swm_example_community_package/"><img alt="Monthly PyPI downloads: swm_example_community_package" src="https://img.shields.io/pypi/dm/swm_example_community_package?labelColor=1E293B&color=0E7490"></a>
|
|
18
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/README.md"><img alt="README hits: swm_example_community_package" src="https://hits.sh/github.com/swarmauri/swarmauri-sdk/pkgs/50-community/swm_example_community_package/README.md.svg?label=README%20hits&labelColor=1E293B&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&message=CI%20gate&labelColor=1E293B&color=1D4ED8"></a>
|
|
22
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/tests/unit/test_readme_sources.py"><img alt="Tests: example source" src="https://img.shields.io/static/v1?label=Tests&message=example%20source&labelColor=1E293B&color=0F766E"></a>
|
|
23
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/README.md#certification-status"><img alt="Certification: not certified" src="https://img.shields.io/static/v1?label=Certification&message=not%20certified&labelColor=1E293B&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&message=repository%20policy&labelColor=1E293B&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&message=source%20and%20CI&labelColor=1E293B&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
|
+
`swm_example_community_package`: example community package
|
|
37
|
+
|
|
38
|
+
### Why This Package
|
|
39
|
+
|
|
40
|
+
`swm_example_community_package` isolates this responsibility: example community package. Its [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/swm_example_community_package/__init__.py) exposes `PackageNotFoundError`, `Path`, `annotations`, `version`, allowing consumers to select this package without treating adjacent packages as part of its public contract.
|
|
41
|
+
|
|
42
|
+
### When to Use
|
|
43
|
+
|
|
44
|
+
Choose `swm_example_community_package` when your integration needs example community package. Match the imports below to your application boundary and install its declared dependencies before using the example.
|
|
45
|
+
|
|
46
|
+
### Features
|
|
47
|
+
|
|
48
|
+
- `ExampleCommunityAgent`: declared in swm_example_community_package/ExampleCommunityAgent.py
|
|
49
|
+
|
|
50
|
+
### Non-Goals
|
|
51
|
+
|
|
52
|
+
`swm_example_community_package` owns example community package. 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.
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## Getting Started
|
|
57
|
+
|
|
58
|
+
### Prerequisites
|
|
59
|
+
|
|
60
|
+
Python `>=3.10,<3.15` is required. The [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/pyproject.toml) declares runtime dependencies including `swarmauri-core`, `swarmauri-base`. Read the example’s inputs and service requirements before execution.
|
|
61
|
+
|
|
62
|
+
### Installation
|
|
63
|
+
|
|
64
|
+
#### uv
|
|
65
|
+
|
|
66
|
+
<!-- readme-standards:begin installation.uv -->
|
|
67
|
+
```bash
|
|
68
|
+
uv add swm_example_community_package
|
|
69
|
+
```
|
|
70
|
+
<!-- readme-standards:end installation.uv -->
|
|
71
|
+
|
|
72
|
+
#### pip
|
|
73
|
+
|
|
74
|
+
<!-- readme-standards:begin installation.pip -->
|
|
75
|
+
```bash
|
|
76
|
+
python -m pip install swm_example_community_package
|
|
77
|
+
```
|
|
78
|
+
<!-- readme-standards:end installation.pip -->
|
|
79
|
+
|
|
80
|
+
#### Poetry
|
|
81
|
+
|
|
82
|
+
<!-- readme-standards:begin installation.poetry -->
|
|
83
|
+
```bash
|
|
84
|
+
poetry add swm_example_community_package
|
|
85
|
+
```
|
|
86
|
+
<!-- readme-standards:end installation.poetry -->
|
|
87
|
+
|
|
88
|
+
### Quick Start
|
|
89
|
+
|
|
90
|
+
#### Example
|
|
91
|
+
|
|
92
|
+
<!-- readme-standards:begin example.quick-start -->
|
|
93
|
+
Source: [docs/readme/quick_start.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/docs/readme/quick_start.py).
|
|
94
|
+
|
|
95
|
+
```python
|
|
96
|
+
import importlib
|
|
97
|
+
|
|
98
|
+
package = importlib.import_module("swm_example_community_package")
|
|
99
|
+
assert package.__name__ == "swm_example_community_package"
|
|
100
|
+
```
|
|
101
|
+
<!-- readme-standards:end example.quick-start -->
|
|
102
|
+
|
|
103
|
+
#### Expected Result
|
|
104
|
+
|
|
105
|
+
This quick start is explicitly an import smoke check for `swm_example_community_package`. It confirms that the documented namespace loads; it does not demonstrate or certify a complete application workflow. The detailed source and retained usage guidance below describe the integration boundary.
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
## Usage
|
|
110
|
+
|
|
111
|
+
### Common Workflows
|
|
112
|
+
|
|
113
|
+
<!-- readme-standards:begin example.usage -->
|
|
114
|
+
Source: [docs/readme/usage.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/docs/readme/usage.py).
|
|
115
|
+
|
|
116
|
+
```python
|
|
117
|
+
import importlib
|
|
118
|
+
|
|
119
|
+
package = importlib.import_module("swm_example_community_package")
|
|
120
|
+
assert package.__name__ == "swm_example_community_package"
|
|
121
|
+
```
|
|
122
|
+
<!-- readme-standards:end example.usage -->
|
|
123
|
+
|
|
124
|
+
### Configuration
|
|
125
|
+
|
|
126
|
+
Configure `swm_example_community_package` through the APIs in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/swm_example_community_package/__init__.py); its [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/pyproject.toml) describes installation requirements, not an implicit service configuration. No additional package-global configuration contract is inferred from dependencies.
|
|
127
|
+
|
|
128
|
+
### Error Handling
|
|
129
|
+
|
|
130
|
+
The inspected `swm_example_community_package` 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/50-community/swm_example_community_package/swm_example_community_package/__init__.py).
|
|
131
|
+
|
|
132
|
+
### Best Practices
|
|
133
|
+
|
|
134
|
+
Use the explicit `swm_example_community_package` imports documented below and keep collaborator configuration with the caller. Run the package’s relevant tests after changing `PackageNotFoundError`, `Path`, `annotations`, `version`; an import or successful installation alone does not establish its runtime guarantees.
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## Package Boundary
|
|
139
|
+
|
|
140
|
+
### What It Owns
|
|
141
|
+
|
|
142
|
+
`swm_example_community_package` is located in `community` and owns example community package. Source-declared APIs include `PackageNotFoundError`, `Path`, `annotations`, `version`. The [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/pyproject.toml) records its direct dependency boundary.
|
|
143
|
+
|
|
144
|
+
### Public API and Import Surfaces
|
|
145
|
+
|
|
146
|
+
Import namespace: `swm_example_community_package`.
|
|
147
|
+
|
|
148
|
+
Source-declared exports or types: `PackageNotFoundError`, `Path`, `annotations`, `version`.
|
|
149
|
+
|
|
150
|
+
Inspect [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/swm_example_community_package/__init__.py) for exact signatures; this inventory does not designate every internal module as stable.
|
|
151
|
+
|
|
152
|
+
### Entry Points
|
|
153
|
+
|
|
154
|
+
<!-- readme-standards:begin entry-points -->
|
|
155
|
+
- `swarmauri.agents` → `ExampleCommunityAgent` → `swm_example_community_package.ExampleCommunityAgent:ExampleCommunityAgent`
|
|
156
|
+
<!-- readme-standards:end entry-points -->
|
|
157
|
+
|
|
158
|
+
### Injected Dependencies
|
|
159
|
+
|
|
160
|
+
The direct installation dependencies of `swm_example_community_package` are `swarmauri-core`, `swarmauri-base`. 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/50-community/swm_example_community_package/swm_example_community_package/__init__.py).
|
|
161
|
+
|
|
162
|
+
### Protocol Consumers
|
|
163
|
+
|
|
164
|
+
No direct package-manifest dependency on `swm_example_community_package` was found in the audited three-repository inventory. External consumers may still use its documented imports or commands.
|
|
165
|
+
|
|
166
|
+
### Extensions
|
|
167
|
+
|
|
168
|
+
For `swm_example_community_package`, use the source-declared public interfaces (`PackageNotFoundError`, `Path`, `annotations`, `version`) 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.
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
## Operations and Readiness
|
|
173
|
+
|
|
174
|
+
### Operational Requirements
|
|
175
|
+
|
|
176
|
+
Operate `swm_example_community_package` 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/50-community/swm_example_community_package/pyproject.toml) are prerequisites; deployment topology, credentials, and readiness remain the responsibility of the consuming application unless explicitly documented above.
|
|
177
|
+
|
|
178
|
+
### Health and Observability
|
|
179
|
+
|
|
180
|
+
This README does not establish a standalone health endpoint for `swm_example_community_package`. 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.
|
|
181
|
+
|
|
182
|
+
### Security and Resource Limits
|
|
183
|
+
|
|
184
|
+
Apply the input, credential, and resource constraints implemented in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/swm_example_community_package/__init__.py). The `swm_example_community_package` README gate is a documentation check, not a security review or a substitute for the implementation’s limits and caller authorization.
|
|
185
|
+
|
|
186
|
+
### Compatibility
|
|
187
|
+
|
|
188
|
+
This source version of `swm_example_community_package` 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.
|
|
189
|
+
|
|
190
|
+
---
|
|
191
|
+
|
|
192
|
+
## Verification
|
|
193
|
+
|
|
194
|
+
### Tests
|
|
195
|
+
|
|
196
|
+
Run `python -m pytest tests/unit/test_readme_sources.py` from the `swm_example_community_package` package directory for the maintained example source checks (Python compilation and non-Python file presence). Existing package tests include:
|
|
197
|
+
|
|
198
|
+
- [tests/unit/test_version.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/tests/unit/test_version.py)
|
|
199
|
+
|
|
200
|
+
The repository README gate also checks the required heading tree, metadata, managed fragments, and referenced files.
|
|
201
|
+
|
|
202
|
+
### Certification Status
|
|
203
|
+
|
|
204
|
+
No external certification is asserted for `swm_example_community_package` by this documentation migration. README conformance, example syntax, runtime tests, and protocol or security certification are distinct evidence scopes.
|
|
205
|
+
|
|
206
|
+
### Evidence
|
|
207
|
+
|
|
208
|
+
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/50-community/swm_example_community_package/swm_example_community_package/__init__.py) and example sources support the package-boundary description; external runtime behavior requires its own test evidence.
|
|
209
|
+
|
|
210
|
+
---
|
|
211
|
+
|
|
212
|
+
## FAQ
|
|
213
|
+
|
|
214
|
+
### Why
|
|
215
|
+
|
|
216
|
+
**Why select this package?** `swm_example_community_package` provides example community package; use its own API boundary rather than assuming neighboring packages are bundled or configured automatically.
|
|
217
|
+
|
|
218
|
+
### How
|
|
219
|
+
|
|
220
|
+
**How do I start?** Install or synchronize the environment under Getting Started, follow the maintained example for `swm_example_community_package`, and consult [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/swm_example_community_package/__init__.py) for the exact types and signatures involved.
|
|
221
|
+
|
|
222
|
+
### When
|
|
223
|
+
|
|
224
|
+
**When should I validate an upgrade?** Recheck `swm_example_community_package` whenever its source version, declared collaborators, configuration, or caller changes. Run relevant behavioral tests in addition to the README gate before promotion.
|
|
225
|
+
|
|
226
|
+
---
|
|
227
|
+
|
|
228
|
+
## Documentation and Related Packages
|
|
229
|
+
|
|
230
|
+
### More Documentation
|
|
231
|
+
|
|
232
|
+
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/50-community/swm_example_community_package/swm_example_community_package/__init__.py), and [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/pyproject.toml) provide the supporting context for `swm_example_community_package`. The [README policy](https://github.com/groupsum/readme-standards/blob/master/docs/outline.md) defines the common document structure.
|
|
233
|
+
|
|
234
|
+
### Related Packages
|
|
235
|
+
|
|
236
|
+
- [swarmauri_base](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/20-bases/swarmauri_base/README.md): Reusable Swarmauri base classes, mixins, and dynamic Pydantic component models for composable intelligence infrastructure.
|
|
237
|
+
- [swarmauri_core](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/10-interfaces/swarmauri_core/README.md): Core interface contracts and shared types for Swarmauri composable intelligence infrastructure components.
|
|
238
|
+
|
|
239
|
+
### Project Links
|
|
240
|
+
|
|
241
|
+
<!-- readme-standards:begin project-links -->
|
|
242
|
+
- [pypi: swm_example_community_package](https://pypi.org/project/swm_example_community_package/)
|
|
243
|
+
<!-- readme-standards:end project-links -->
|
|
244
|
+
|
|
245
|
+
---
|
|
246
|
+
|
|
247
|
+
## Contributing
|
|
248
|
+
|
|
249
|
+
### How to Contribute
|
|
250
|
+
|
|
251
|
+
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_community_package`. Keep package behavior, its documented boundary, and its tests aligned.
|
|
252
|
+
|
|
253
|
+
### Development Setup
|
|
254
|
+
|
|
255
|
+
Work from the `pkgs/50-community/swm_example_community_package` 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.
|
|
256
|
+
|
|
257
|
+
### Notes for Maintainers
|
|
258
|
+
|
|
259
|
+
Edit authored prose directly in this `swm_example_community_package` 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.
|
|
260
|
+
|
|
261
|
+
---
|
|
262
|
+
|
|
263
|
+
## Governance
|
|
264
|
+
|
|
265
|
+
### Ownership and Decision Making
|
|
266
|
+
|
|
267
|
+
Changes to `swm_example_community_package` 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/50-community/swm_example_community_package/pyproject.toml); this README does not assign new publishing or administrative authority.
|
|
268
|
+
|
|
269
|
+
### Standards and Policies
|
|
270
|
+
|
|
271
|
+
`swm_example_community_package` 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.
|
|
272
|
+
|
|
273
|
+
### Lifecycle and Migration
|
|
274
|
+
|
|
275
|
+
The `swm_example_community_package` source version is `0.11.0`.
|
|
276
|
+
|
|
277
|
+
---
|
|
278
|
+
|
|
279
|
+
## License and Attribution
|
|
280
|
+
|
|
281
|
+
### License
|
|
282
|
+
|
|
283
|
+
<!-- readme-standards:begin license -->
|
|
284
|
+
Licensed under `Apache-2.0`. See [LICENSE](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/LICENSE).
|
|
285
|
+
<!-- readme-standards:end license -->
|
|
286
|
+
|
|
287
|
+
### Notices
|
|
288
|
+
|
|
289
|
+
<!-- readme-standards:begin notices -->
|
|
290
|
+
See [NOTICE](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/NOTICE) for attribution.
|
|
291
|
+
<!-- readme-standards:end notices -->
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "swm_example_community_package"
|
|
3
|
+
version = "0.11.0"
|
|
4
|
+
description = "example community package"
|
|
5
|
+
license = "Apache-2.0"
|
|
6
|
+
readme = "README.md"
|
|
7
|
+
repository = "http://github.com/swarmauri/swarmauri-sdk"
|
|
8
|
+
requires-python = ">=3.10,<3.15"
|
|
9
|
+
classifiers = [
|
|
10
|
+
"Natural Language :: English",
|
|
11
|
+
"Development Status :: 3 - Alpha",
|
|
12
|
+
"Intended Audience :: Developers",
|
|
13
|
+
"Topic :: Software Development :: Libraries :: Application Frameworks",
|
|
14
|
+
"Programming Language :: Python",
|
|
15
|
+
"Programming Language :: Python :: 3",
|
|
16
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
17
|
+
"Programming Language :: Python :: 3.10",
|
|
18
|
+
"Programming Language :: Python :: 3.11",
|
|
19
|
+
"Programming Language :: Python :: 3.12",
|
|
20
|
+
"Programming Language :: Python :: 3.13",
|
|
21
|
+
"Programming Language :: Python :: 3.14",
|
|
22
|
+
]
|
|
23
|
+
authors = [{ name = "Jacob Stewart", email = "jacob@swarmauri.com" }]
|
|
24
|
+
dependencies = [
|
|
25
|
+
"tomli>=2; python_version < '3.11'","swarmauri_core", "swarmauri_base"]
|
|
26
|
+
keywords = [
|
|
27
|
+
"swarmauri",
|
|
28
|
+
"swm",
|
|
29
|
+
"example",
|
|
30
|
+
"community",
|
|
31
|
+
"package",
|
|
32
|
+
]
|
|
33
|
+
license-files = ["LICENSE", "NOTICE"]
|
|
34
|
+
|
|
35
|
+
[tool.uv.sources]
|
|
36
|
+
swarmauri_core = { workspace = true }
|
|
37
|
+
swarmauri_base = { workspace = true }
|
|
38
|
+
|
|
39
|
+
[tool.pytest.ini_options]
|
|
40
|
+
norecursedirs = ["combined", "scripts"]
|
|
41
|
+
markers = ["test: standard test", "unit: Unit tests", "i9n: Integration tests", "r8n: Regression tests", "timeout: mark test to timeout after X seconds", "xpass: Expected passes", "xfail: Expected failures", "acceptance: Acceptance tests", "perf: Performance tests that measure execution time and resource usage"]
|
|
42
|
+
timeout = 300
|
|
43
|
+
log_cli = true
|
|
44
|
+
log_cli_level = "INFO"
|
|
45
|
+
log_cli_format = "%(asctime)s [%(levelname)s] %(message)s"
|
|
46
|
+
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
|
|
47
|
+
asyncio_default_fixture_loop_scope = "function"
|
|
48
|
+
|
|
49
|
+
[tool.readme_standards]
|
|
50
|
+
policy = "package-guide-v1"
|
|
51
|
+
readme = "README.md"
|
|
52
|
+
brand = "swarmauri"
|
|
53
|
+
brand_catalog = "../../../tools/readme/brands.toml"
|
|
54
|
+
repository = "https://github.com/swarmauri/swarmauri-sdk"
|
|
55
|
+
ref = "master"
|
|
56
|
+
package_path = "pkgs/50-community/swm_example_community_package"
|
|
57
|
+
layer = "community"
|
|
58
|
+
lifecycle = "active"
|
|
59
|
+
license_file = "LICENSE"
|
|
60
|
+
notice_file = "NOTICE"
|
|
61
|
+
|
|
62
|
+
[tool.readme_standards.distributions.pypi]
|
|
63
|
+
name = "swm_example_community_package"
|
|
64
|
+
published = true
|
|
65
|
+
|
|
66
|
+
[tool.readme_standards.examples.quick_start]
|
|
67
|
+
source = "docs/readme/quick_start.py"
|
|
68
|
+
test = "tests/unit/test_readme_sources.py"
|
|
69
|
+
language = "python"
|
|
70
|
+
expected_exit_code = 0
|
|
71
|
+
|
|
72
|
+
[tool.readme_standards.examples.usage]
|
|
73
|
+
source = "docs/readme/usage.py"
|
|
74
|
+
test = "tests/unit/test_readme_sources.py"
|
|
75
|
+
language = "python"
|
|
76
|
+
expected_exit_code = 0
|
|
77
|
+
|
|
78
|
+
[tool.readme_standards.statuses.readme]
|
|
79
|
+
label = "CI gate"
|
|
80
|
+
url = "https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml"
|
|
81
|
+
|
|
82
|
+
[tool.readme_standards.statuses.tests]
|
|
83
|
+
label = "example source"
|
|
84
|
+
url = "https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/tests/unit/test_readme_sources.py"
|
|
85
|
+
|
|
86
|
+
[tool.readme_standards.statuses.certification]
|
|
87
|
+
label = "not certified"
|
|
88
|
+
url = "https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/50-community/swm_example_community_package/README.md#certification-status"
|
|
89
|
+
|
|
90
|
+
[tool.readme_standards.statuses.governance]
|
|
91
|
+
label = "repository policy"
|
|
92
|
+
url = "https://github.com/swarmauri/swarmauri-sdk/blob/master/tools/readme/POLICY.md"
|
|
93
|
+
|
|
94
|
+
[tool.readme_standards.statuses.evidence]
|
|
95
|
+
label = "source and CI"
|
|
96
|
+
url = "https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml"
|
|
97
|
+
[project.entry-points.'swarmauri.agents']
|
|
98
|
+
ExampleCommunityAgent = "swm_example_community_package.ExampleCommunityAgent:ExampleCommunityAgent"
|
|
99
|
+
|
|
100
|
+
[build-system]
|
|
101
|
+
requires = ["poetry-core>=1.0.0"]
|
|
102
|
+
build-backend = "poetry.core.masonry.api"
|
|
103
|
+
|
|
104
|
+
[dependency-groups]
|
|
105
|
+
dev = ["pytest>=8.0", "pytest-asyncio>=0.24.0", "pytest-xdist>=3.6.1", "pytest-json-report>=1.5.0", "python-dotenv", "httpx>=0.27", "flake8>=7.0", "pytest-timeout>=2.3.1", "ruff>=0.9.9", "pytest-benchmark>=4.0.0", "readme-standards==0.1.3; python_version >= \"3.11\""]
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from importlib.metadata import PackageNotFoundError, version
|
|
4
|
+
from pathlib import Path
|
|
5
|
+
|
|
6
|
+
try:
|
|
7
|
+
import tomllib
|
|
8
|
+
except ImportError: # Python 3.10
|
|
9
|
+
import tomli as tomllib
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def _runtime_version() -> str:
|
|
13
|
+
try:
|
|
14
|
+
return version("swm_example_community_package")
|
|
15
|
+
except PackageNotFoundError:
|
|
16
|
+
pyproject = Path(__file__).resolve().parents[1] / "pyproject.toml"
|
|
17
|
+
return tomllib.loads(pyproject.read_text(encoding="utf-8"))["project"][
|
|
18
|
+
"version"
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
__version__ = _runtime_version()
|
|
23
|
+
__long_desc__ = """
|
|
24
|
+
|
|
25
|
+
# Swarmauri Example Plugin
|
|
26
|
+
|
|
27
|
+
This repository includes an example of a Swarmauri Plugin.
|
|
28
|
+
|
|
29
|
+
Visit us at: https://swarmauri.com
|
|
30
|
+
Follow us at: https://github.com/swarmauri
|
|
31
|
+
Star us at: https://github.com/swarmauri/swarmauri-sdk
|
|
32
|
+
|
|
33
|
+
"""
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: swm_example_community_package
|
|
3
|
-
Version: 0.6.4.dev1
|
|
4
|
-
Summary: example community package
|
|
5
|
-
License-Expression: Apache-2.0
|
|
6
|
-
License-File: LICENSE
|
|
7
|
-
Keywords: swarmauri,swm,example,community,package
|
|
8
|
-
Author: Jacob Stewart
|
|
9
|
-
Author-email: jacob@swarmauri.com
|
|
10
|
-
Requires-Python: >=3.10,<3.15
|
|
11
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
12
|
-
Classifier: Natural Language :: English
|
|
13
|
-
Classifier: Development Status :: 3 - Alpha
|
|
14
|
-
Classifier: Intended Audience :: Developers
|
|
15
|
-
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
|
|
16
|
-
Classifier: Programming Language :: Python
|
|
17
|
-
Classifier: Programming Language :: Python :: 3
|
|
18
|
-
Classifier: Programming Language :: Python :: 3 :: Only
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
23
|
-
Classifier: Programming Language :: Python :: 3.14
|
|
24
|
-
Requires-Dist: swarmauri_base
|
|
25
|
-
Requires-Dist: swarmauri_core
|
|
26
|
-
Description-Content-Type: text/markdown
|
|
27
|
-
|
|
28
|
-

|
|
29
|
-
|
|
30
|
-
<p align="center">
|
|
31
|
-
<a href="https://pepy.tech/project/swm_example_community_package/">
|
|
32
|
-
<img src="https://static.pepy.tech/badge/swm_example_community_package/month" alt="PyPI - Downloads"/></a>
|
|
33
|
-
<a href="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/community/swm_example_community_package/">
|
|
34
|
-
<img alt="Hits" src="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/community/swm_example_community_package.svg"/></a>
|
|
35
|
-
<a href="https://pypi.org/project/swm_example_community_package/">
|
|
36
|
-
<img src="https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13%20%7C%203.14-blue" alt="PyPI - Python Version"/></a>
|
|
37
|
-
<a href="https://pypi.org/project/swm_example_community_package/">
|
|
38
|
-
<img src="https://img.shields.io/pypi/l/swm_example_community_package" alt="PyPI - License"/></a>
|
|
39
|
-
<a href="https://pypi.org/project/swm_example_community_package/">
|
|
40
|
-
<img src="https://img.shields.io/pypi/v/swm_example_community_package?label=swm_example_community_package&color=green" alt="PyPI - swm_example_community_package"/></a>
|
|
41
|
-
</p>
|
|
42
|
-
|
|
43
|
-
# Swm Example Community Package
|
|
44
|
-
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-

|
|
2
|
-
|
|
3
|
-
<p align="center">
|
|
4
|
-
<a href="https://pepy.tech/project/swm_example_community_package/">
|
|
5
|
-
<img src="https://static.pepy.tech/badge/swm_example_community_package/month" alt="PyPI - Downloads"/></a>
|
|
6
|
-
<a href="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/community/swm_example_community_package/">
|
|
7
|
-
<img alt="Hits" src="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/community/swm_example_community_package.svg"/></a>
|
|
8
|
-
<a href="https://pypi.org/project/swm_example_community_package/">
|
|
9
|
-
<img src="https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13%20%7C%203.14-blue" alt="PyPI - Python Version"/></a>
|
|
10
|
-
<a href="https://pypi.org/project/swm_example_community_package/">
|
|
11
|
-
<img src="https://img.shields.io/pypi/l/swm_example_community_package" alt="PyPI - License"/></a>
|
|
12
|
-
<a href="https://pypi.org/project/swm_example_community_package/">
|
|
13
|
-
<img src="https://img.shields.io/pypi/v/swm_example_community_package?label=swm_example_community_package&color=green" alt="PyPI - swm_example_community_package"/></a>
|
|
14
|
-
</p>
|
|
15
|
-
|
|
16
|
-
# Swm Example Community Package
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
[project]
|
|
2
|
-
name = "swm_example_community_package"
|
|
3
|
-
version = "0.6.4.dev1"
|
|
4
|
-
description = "example community package"
|
|
5
|
-
license = "Apache-2.0"
|
|
6
|
-
readme = "README.md"
|
|
7
|
-
repository = "http://github.com/swarmauri/swarmauri-sdk"
|
|
8
|
-
requires-python = ">=3.10,<3.15"
|
|
9
|
-
classifiers = [
|
|
10
|
-
"License :: OSI Approved :: Apache Software License",
|
|
11
|
-
"Natural Language :: English",
|
|
12
|
-
"Development Status :: 3 - Alpha",
|
|
13
|
-
"Intended Audience :: Developers",
|
|
14
|
-
"Topic :: Software Development :: Libraries :: Application Frameworks",
|
|
15
|
-
"Programming Language :: Python",
|
|
16
|
-
"Programming Language :: Python :: 3",
|
|
17
|
-
"Programming Language :: Python :: 3 :: Only",
|
|
18
|
-
"Programming Language :: Python :: 3.10",
|
|
19
|
-
"Programming Language :: Python :: 3.11",
|
|
20
|
-
"Programming Language :: Python :: 3.12",
|
|
21
|
-
"Programming Language :: Python :: 3.13",
|
|
22
|
-
"Programming Language :: Python :: 3.14",
|
|
23
|
-
]
|
|
24
|
-
authors = [{ name = "Jacob Stewart", email = "jacob@swarmauri.com" }]
|
|
25
|
-
dependencies = ["swarmauri_core", "swarmauri_base"]
|
|
26
|
-
keywords = [
|
|
27
|
-
"swarmauri",
|
|
28
|
-
"swm",
|
|
29
|
-
"example",
|
|
30
|
-
"community",
|
|
31
|
-
"package",
|
|
32
|
-
]
|
|
33
|
-
|
|
34
|
-
[tool.uv.sources]
|
|
35
|
-
swarmauri_core = { workspace = true }
|
|
36
|
-
swarmauri_base = { workspace = true }
|
|
37
|
-
|
|
38
|
-
[tool.pytest.ini_options]
|
|
39
|
-
norecursedirs = ["combined", "scripts"]
|
|
40
|
-
markers = ["test: standard test", "unit: Unit tests", "i9n: Integration tests", "r8n: Regression tests", "timeout: mark test to timeout after X seconds", "xpass: Expected passes", "xfail: Expected failures", "acceptance: Acceptance tests", "perf: Performance tests that measure execution time and resource usage"]
|
|
41
|
-
timeout = 300
|
|
42
|
-
log_cli = true
|
|
43
|
-
log_cli_level = "INFO"
|
|
44
|
-
log_cli_format = "%(asctime)s [%(levelname)s] %(message)s"
|
|
45
|
-
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
|
|
46
|
-
asyncio_default_fixture_loop_scope = "function"
|
|
47
|
-
|
|
48
|
-
[project.entry-points.'swarmauri.agents']
|
|
49
|
-
ExampleCommunityAgent = "swm_example_community_package.ExampleCommunityAgent:ExampleCommunityAgent"
|
|
50
|
-
|
|
51
|
-
[build-system]
|
|
52
|
-
requires = ["poetry-core>=1.0.0"]
|
|
53
|
-
build-backend = "poetry.core.masonry.api"
|
|
54
|
-
|
|
55
|
-
[dependency-groups]
|
|
56
|
-
dev = ["pytest>=8.0", "pytest-asyncio>=0.24.0", "pytest-xdist>=3.6.1", "pytest-json-report>=1.5.0", "python-dotenv", "requests>=2.32.3", "flake8>=7.0", "pytest-timeout>=2.3.1", "ruff>=0.9.9", "pytest-benchmark>=4.0.0"]
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# swm_example_community_package/__init__.py
|
|
2
|
-
__version__ = "0.6.3.dev2"
|
|
3
|
-
__long_desc__ = """
|
|
4
|
-
|
|
5
|
-
# Swarmauri Example Plugin
|
|
6
|
-
|
|
7
|
-
This repository includes an example of a Swarmauri Plugin.
|
|
8
|
-
|
|
9
|
-
Visit us at: https://swarmauri.com
|
|
10
|
-
Follow us at: https://github.com/swarmauri
|
|
11
|
-
Star us at: https://github.com/swarmauri/swarmauri-sdk
|
|
12
|
-
|
|
13
|
-
"""
|
|
File without changes
|