swm-example-community-package 0.6.0.dev62__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,20 @@
1
+ Metadata-Version: 2.1
2
+ Name: swm-example-community-package
3
+ Version: 0.6.0.dev62
4
+ Summary: This repository includes an example of a First Class Swarmauri Example.
5
+ Home-page: http://github.com/swarmauri/swarmauri-sdk
6
+ License: Apache-2.0
7
+ Author: Jacob Stewart
8
+ Author-email: jacob@swarmauri.com
9
+ Requires-Python: >=3.10,<3.13
10
+ Classifier: License :: OSI Approved :: Apache Software License
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.10
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Requires-Dist: swarmauri_base (>=0.6.0.dev62,<0.7.0)
16
+ Requires-Dist: swarmauri_core (>=0.6.0.dev62,<0.7.0)
17
+ Project-URL: Repository, http://github.com/swarmauri/swarmauri-sdk
18
+ Description-Content-Type: text/markdown
19
+
20
+ # Swarmauri Example Community Package
@@ -0,0 +1 @@
1
+ # Swarmauri Example Community Package
@@ -0,0 +1,54 @@
1
+ [tool.poetry]
2
+ name = "swm-example-community-package"
3
+ version = "0.6.0.dev62"
4
+ description = "This repository includes an example of a First Class Swarmauri Example."
5
+ authors = ["Jacob Stewart <jacob@swarmauri.com>"]
6
+ license = "Apache-2.0"
7
+ readme = "README.md"
8
+ repository = "http://github.com/swarmauri/swarmauri-sdk"
9
+ classifiers = [
10
+ "License :: OSI Approved :: Apache Software License",
11
+ "Programming Language :: Python :: 3.10",
12
+ "Programming Language :: Python :: 3.11",
13
+ "Programming Language :: Python :: 3.12"
14
+ ]
15
+
16
+ [tool.poetry.dependencies]
17
+ python = ">=3.10,<3.13"
18
+
19
+ # Swarmauri
20
+ swarmauri_core = { version = "^0.6.0.dev62" }
21
+ swarmauri_base = { version = "^0.6.0.dev62" }
22
+
23
+
24
+ [tool.poetry.dev-dependencies]
25
+ flake8 = "^7.0"
26
+ pytest = "^8.0"
27
+ pytest-asyncio = ">=0.24.0"
28
+ pytest-xdist = "^3.6.1"
29
+ pytest-json-report = "^1.5.0"
30
+ python-dotenv = "*"
31
+ requests = "^2.32.3"
32
+
33
+ [build-system]
34
+ requires = ["poetry-core>=1.0.0"]
35
+ build-backend = "poetry.core.masonry.api"
36
+
37
+ [tool.pytest.ini_options]
38
+ norecursedirs = ["combined", "scripts"]
39
+
40
+ markers = [
41
+ "test: standard test",
42
+ "unit: Unit tests",
43
+ "integration: Integration tests",
44
+ "acceptance: Acceptance tests",
45
+ "experimental: Experimental tests"
46
+ ]
47
+ log_cli = true
48
+ log_cli_level = "INFO"
49
+ log_cli_format = "%(asctime)s [%(levelname)s] %(message)s"
50
+ log_cli_date_format = "%Y-%m-%d %H:%M:%S"
51
+ asyncio_default_fixture_loop_scope = "function"
52
+
53
+ [tool.poetry.plugins."swarmauri.agents"]
54
+ example_agent = "swm-example-community-package:ExampleCommunityAgent"
@@ -0,0 +1,15 @@
1
+ from typing import Any, Optional, Dict, Literal
2
+ from swarmauri_base.agents.AgentBase import AgentBase
3
+ from swarmauri_base.conversations.ConversationBase import ConversationBase
4
+ from swarmauri_core.typing import SubclassUnion
5
+
6
+ class ExampleCommunityAgent(AgentBase):
7
+ conversation: SubclassUnion[ConversationBase]
8
+ type: Literal['ExampleCommunityAgent'] = 'ExampleCommunityAgent'
9
+
10
+ def exec(self,
11
+ input_str: Optional[str] = "",
12
+ llm_kwargs: Optional[Dict] = {}
13
+ ) -> Any:
14
+
15
+ pass
@@ -0,0 +1,12 @@
1
+ __version__ = "0.6.0.dev26"
2
+ __long_desc__ = """
3
+
4
+ # Swarmauri Example Plugin
5
+
6
+ This repository includes an example of a Swarmauri Plugin.
7
+
8
+ Visit us at: https://swarmauri.com
9
+ Follow us at: https://github.com/swarmauri
10
+ Star us at: https://github.com/swarmauri/swarmauri-sdk
11
+
12
+ """