smarta2a 0.1.0__py3-none-any.whl → 0.2.0__py3-none-any.whl

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.
@@ -4,6 +4,7 @@ py_a2a - A Python package for implementing an A2A server
4
4
 
5
5
  __version__ = "0.1.0"
6
6
 
7
- from .server import FastA2A
7
+ from .server import SmartA2A
8
+ from . import types as models
8
9
 
9
- __all__ = ["FastA2A", "models"]
10
+ __all__ = ["SmartA2A", "models"]
@@ -50,7 +50,7 @@ from .types import (
50
50
  TaskSendParams,
51
51
  )
52
52
 
53
- class FastA2A:
53
+ class SmartA2A:
54
54
  def __init__(self, name: str, **fastapi_kwargs):
55
55
  self.name = name
56
56
  self.handlers: Dict[str, Callable] = {}
@@ -96,7 +96,7 @@ class FastA2A:
96
96
  if method in self._registered_decorators:
97
97
  raise RuntimeError(
98
98
  f"@{handler_name} decorator for method '{method}' "
99
- f"can only be used once per FastA2A instance"
99
+ f"can only be used once per SmartA2A instance"
100
100
  )
101
101
 
102
102
  if handler_type == "handler":
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: smarta2a
3
- Version: 0.1.0
3
+ Version: 0.2.0
4
4
  Summary: A Python package for creating servers and clients following Google's Agent2Agent protocol
5
- Project-URL: Homepage, https://github.com/siddharthsma/fasta2a
6
- Project-URL: Bug Tracker, https://github.com/siddharthsma/fasta2a/issues
5
+ Project-URL: Homepage, https://github.com/siddharthsma/smarta2a
6
+ Project-URL: Bug Tracker, https://github.com/siddharthsma/smarta2a/issues
7
7
  Author-email: Siddharth Ambegaonkar <siddharthsma@gmail.com>
8
8
  License-File: LICENSE
9
9
  Classifier: License :: OSI Approved :: MIT License
@@ -16,7 +16,7 @@ Requires-Dist: sse-starlette
16
16
  Requires-Dist: uvicorn
17
17
  Description-Content-Type: text/markdown
18
18
 
19
- # FastA2A
19
+ # SmartA2A
20
20
 
21
21
  A Python package for creating a server following Google's Agent2Agent protocol
22
22
 
@@ -39,15 +39,15 @@ A Python package for creating a server following Google's Agent2Agent protocol
39
39
  ## Installation
40
40
 
41
41
  ```bash
42
- pip install fasta2a
42
+ pip install smarta2a
43
43
  ```
44
44
 
45
45
  ## Simple Echo Server Implementation
46
46
 
47
47
  ```python
48
- from fasta2a import FastA2A
48
+ from smarta2a import SmartA2A
49
49
 
50
- app = FastA2A("EchoServer")
50
+ app = SmartA2A("EchoServer")
51
51
 
52
52
  @app.on_send_task()
53
53
  def handle_task(request):
@@ -81,8 +81,8 @@ To set up the development environment:
81
81
 
82
82
  ```bash
83
83
  # Clone the repository
84
- git clone https://github.com/siddharthsma/fasta2a.git
85
- cd fasta2a
84
+ git clone https://github.com/siddharthsma/smarta2a.git
85
+ cd smarta2a
86
86
 
87
87
  # Create and activate virtual environment
88
88
  python -m venv venv
@@ -0,0 +1,7 @@
1
+ smarta2a/__init__.py,sha256=f_RqeaAHiBXO0O8n2kR8EBLGM3ezNwmR-CV-xHeOHLM,182
2
+ smarta2a/server.py,sha256=a5RTtROydJwxHK1nTYzv2nmRJvxhY-SsxuKDqE9_RwY,26117
3
+ smarta2a/types.py,sha256=_UuFtOsnHIIqfQ2m_FiIBBp141iYmhpPGgxE0jmHSHg,10807
4
+ smarta2a-0.2.0.dist-info/METADATA,sha256=4PZH8mK_4YNGnfAH4gbjPwZW0M9lG2yZYdJW8Dq6T3w,2478
5
+ smarta2a-0.2.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
6
+ smarta2a-0.2.0.dist-info/licenses/LICENSE,sha256=ECMEVHuFkvpEmH-_A9HSxs_UnnsUqpCkiAYNHPCf2z0,1078
7
+ smarta2a-0.2.0.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- fasta2a/__init__.py,sha256=lW8fJ0XHZJVZC4Oy18UxJjxtxuSco878tV6wAKiCzw0,150
2
- fasta2a/server.py,sha256=Ge0eh6Go8P9LUmQwmFysTx2YSvRoWk3UIkVh7o-mAHU,26115
3
- fasta2a/types.py,sha256=_UuFtOsnHIIqfQ2m_FiIBBp141iYmhpPGgxE0jmHSHg,10807
4
- smarta2a-0.1.0.dist-info/METADATA,sha256=a8EA5KXN0YIwnkpoLSOJMh2gi8Vpn0XLes6lWvlYa0Y,2469
5
- smarta2a-0.1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
6
- smarta2a-0.1.0.dist-info/licenses/LICENSE,sha256=ECMEVHuFkvpEmH-_A9HSxs_UnnsUqpCkiAYNHPCf2z0,1078
7
- smarta2a-0.1.0.dist-info/RECORD,,
File without changes