agentstr 0.1.9__py3-none-any.whl → 0.1.11__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- {agentstr-0.1.9.dist-info → agentstr-0.1.11.dist-info}/METADATA +42 -6
- agentstr-0.1.11.dist-info/RECORD +8 -0
- agentstr-0.1.9.dist-info/RECORD +0 -8
- {agentstr-0.1.9.dist-info → agentstr-0.1.11.dist-info}/LICENSE +0 -0
- {agentstr-0.1.9.dist-info → agentstr-0.1.11.dist-info}/WHEEL +0 -0
- {agentstr-0.1.9.dist-info → agentstr-0.1.11.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,11 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: agentstr
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.11
|
4
4
|
Summary: Nostr extension for Phidata AI agents
|
5
|
-
|
5
|
+
Author-email: Synvya <info@synvya.com>
|
6
|
+
License: MIT
|
7
|
+
Project-URL: Homepage, https://www.synvya.com
|
8
|
+
Project-URL: Repository, https://github.com/synvya/agentstr
|
6
9
|
Project-URL: Documentation, https://github.com/synvya/agentstr#readme
|
7
10
|
Project-URL: BugTracker, https://github.com/synvya/agentstr/issues
|
8
11
|
Requires-Python: <3.13,>=3.9
|
@@ -77,15 +80,48 @@ pip install agentstr
|
|
77
80
|
|
78
81
|
## Examples
|
79
82
|
|
80
|
-
|
83
|
+
You can find example code in the [examples](https://github.com/Synvya/agentstr/tree/main/examples/) directory.
|
81
84
|
|
82
|
-
|
85
|
+
### Instaling the examples
|
86
|
+
1. **Clone the repository**
|
87
|
+
```bash
|
88
|
+
git clone https://github.com/Synvya/agentstr.git
|
89
|
+
```
|
90
|
+
|
91
|
+
### Basic CLI Example
|
92
|
+
A simple command-line interface demonstrating agentstr's merchant capabilities:
|
93
|
+
|
94
|
+
|
95
|
+
- [Basic CLI Agent](https://github.com/Synvya/agentstr/tree/main/src/agentstr/examples/basic_cli/main.py) - A complete example showing:
|
83
96
|
- Setting up merchant profiles
|
84
97
|
- Creating stalls with shipping methods
|
85
98
|
- Defining products with shipping costs
|
86
99
|
- Configuring the agent with the merchant toolkit
|
87
100
|
- Running an interactive CLI application
|
88
101
|
|
102
|
+
1. ** Create a virtual environment**
|
103
|
+
```bash
|
104
|
+
cd agentstr/examples/basic_cli
|
105
|
+
python3 -m venv venv
|
106
|
+
source venv/bin/activate
|
107
|
+
```
|
108
|
+
|
109
|
+
2. ** Install dependencies**
|
110
|
+
```bash
|
111
|
+
pip install -r requirements.txt
|
112
|
+
```
|
113
|
+
|
114
|
+
3. ** Configure your environment**
|
115
|
+
```bash
|
116
|
+
cp .env.example .env
|
117
|
+
```
|
118
|
+
**Edit the .env file with your own API keys and Nostr credentials**
|
119
|
+
|
120
|
+
4. ** Run the example**
|
121
|
+
```bash
|
122
|
+
python main.py
|
123
|
+
```
|
124
|
+
|
89
125
|
|
90
126
|
## Documentation
|
91
127
|
|
@@ -93,14 +129,14 @@ For more detailed documentation and examples, see [Docs](https://github.com/Synv
|
|
93
129
|
|
94
130
|
## Development
|
95
131
|
|
96
|
-
See [CONTRIBUTING.md](CONTRIBUTING.md) for:
|
132
|
+
See [CONTRIBUTING.md](https://github.com/Synvya/agentstr/blob/main/CONTRIBUTING.md) for:
|
97
133
|
- Development setup
|
98
134
|
- Testing instructions
|
99
135
|
- Contribution guidelines
|
100
136
|
|
101
137
|
## License
|
102
138
|
|
103
|
-
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
139
|
+
This project is licensed under the MIT License - see the [LICENSE](https://github.com/Synvya/agentstr/blob/main/LICENSE) file for details.
|
104
140
|
|
105
141
|
## Acknowledgments
|
106
142
|
|
@@ -0,0 +1,8 @@
|
|
1
|
+
agentstr/__init__.py,sha256=bPXCN4fDtqII9UtDCwhWhkR6bi1LR4w0rR0vGeKPNoI,567
|
2
|
+
agentstr/marketplace.py,sha256=CavX0WQaCiz1sQhVs-PaHZ4YYUdcabW5V5eXrhtbT5A,40406
|
3
|
+
agentstr/nostr.py,sha256=PId6477VuShPq7nKgansgyJhJNNy9S8ycCf_3niizg4,11242
|
4
|
+
agentstr-0.1.11.dist-info/LICENSE,sha256=20H0yoEDN5XO1xPXyZCyJjvSTP0YiarRMKWPfiaBhQY,1063
|
5
|
+
agentstr-0.1.11.dist-info/METADATA,sha256=Vd8WUSeuBXcLgutM8deaNa4mxb4tESgAKgjD6gFLJ40,4314
|
6
|
+
agentstr-0.1.11.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
7
|
+
agentstr-0.1.11.dist-info/top_level.txt,sha256=KZObFRHppZvKUGYB_m9w5HhLwps7jj7w6Xrw73dH2ss,9
|
8
|
+
agentstr-0.1.11.dist-info/RECORD,,
|
agentstr-0.1.9.dist-info/RECORD
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
agentstr/__init__.py,sha256=bPXCN4fDtqII9UtDCwhWhkR6bi1LR4w0rR0vGeKPNoI,567
|
2
|
-
agentstr/marketplace.py,sha256=CavX0WQaCiz1sQhVs-PaHZ4YYUdcabW5V5eXrhtbT5A,40406
|
3
|
-
agentstr/nostr.py,sha256=PId6477VuShPq7nKgansgyJhJNNy9S8ycCf_3niizg4,11242
|
4
|
-
agentstr-0.1.9.dist-info/LICENSE,sha256=20H0yoEDN5XO1xPXyZCyJjvSTP0YiarRMKWPfiaBhQY,1063
|
5
|
-
agentstr-0.1.9.dist-info/METADATA,sha256=nXbyeHk46RQtE8WEyyjwLQ_ZY3gXX5N4CU7C3cRozv0,3511
|
6
|
-
agentstr-0.1.9.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
7
|
-
agentstr-0.1.9.dist-info/top_level.txt,sha256=KZObFRHppZvKUGYB_m9w5HhLwps7jj7w6Xrw73dH2ss,9
|
8
|
-
agentstr-0.1.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|