muninn-python 0.3.8a0__tar.gz → 0.3.10a0__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.
- {muninn_python-0.3.8a0 → muninn_python-0.3.10a0}/PKG-INFO +4 -4
- {muninn_python-0.3.8a0 → muninn_python-0.3.10a0}/README.md +3 -3
- {muninn_python-0.3.8a0 → muninn_python-0.3.10a0}/pyproject.toml +1 -1
- {muninn_python-0.3.8a0 → muninn_python-0.3.10a0}/.gitignore +0 -0
- {muninn_python-0.3.8a0 → muninn_python-0.3.10a0}/requirements.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: muninn-python
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.10a0
|
|
4
4
|
Summary: Python SDK for MuninnDB — the cognitive memory database
|
|
5
5
|
Project-URL: Homepage, https://muninndb.com
|
|
6
6
|
Project-URL: Repository, https://github.com/scrypster/muninndb
|
|
@@ -64,7 +64,7 @@ import asyncio
|
|
|
64
64
|
from muninn import MuninnClient
|
|
65
65
|
|
|
66
66
|
async def main():
|
|
67
|
-
async with MuninnClient("http://
|
|
67
|
+
async with MuninnClient("http://127.0.0.1:8476") as client:
|
|
68
68
|
# Write a memory
|
|
69
69
|
engram_id = await client.write(
|
|
70
70
|
vault="default",
|
|
@@ -244,7 +244,7 @@ Create a client with custom settings:
|
|
|
244
244
|
|
|
245
245
|
```python
|
|
246
246
|
client = MuninnClient(
|
|
247
|
-
base_url="http://
|
|
247
|
+
base_url="http://127.0.0.1:8476", # Server address
|
|
248
248
|
token="your-bearer-token", # Optional auth token
|
|
249
249
|
timeout=5.0, # Request timeout (seconds)
|
|
250
250
|
max_retries=3, # Max retry attempts
|
|
@@ -321,7 +321,7 @@ Example with custom retry settings:
|
|
|
321
321
|
|
|
322
322
|
```python
|
|
323
323
|
async with MuninnClient(
|
|
324
|
-
base_url="http://
|
|
324
|
+
base_url="http://127.0.0.1:8476",
|
|
325
325
|
max_retries=5,
|
|
326
326
|
retry_backoff=1.0
|
|
327
327
|
) as client:
|
|
@@ -30,7 +30,7 @@ import asyncio
|
|
|
30
30
|
from muninn import MuninnClient
|
|
31
31
|
|
|
32
32
|
async def main():
|
|
33
|
-
async with MuninnClient("http://
|
|
33
|
+
async with MuninnClient("http://127.0.0.1:8476") as client:
|
|
34
34
|
# Write a memory
|
|
35
35
|
engram_id = await client.write(
|
|
36
36
|
vault="default",
|
|
@@ -210,7 +210,7 @@ Create a client with custom settings:
|
|
|
210
210
|
|
|
211
211
|
```python
|
|
212
212
|
client = MuninnClient(
|
|
213
|
-
base_url="http://
|
|
213
|
+
base_url="http://127.0.0.1:8476", # Server address
|
|
214
214
|
token="your-bearer-token", # Optional auth token
|
|
215
215
|
timeout=5.0, # Request timeout (seconds)
|
|
216
216
|
max_retries=3, # Max retry attempts
|
|
@@ -287,7 +287,7 @@ Example with custom retry settings:
|
|
|
287
287
|
|
|
288
288
|
```python
|
|
289
289
|
async with MuninnClient(
|
|
290
|
-
base_url="http://
|
|
290
|
+
base_url="http://127.0.0.1:8476",
|
|
291
291
|
max_retries=5,
|
|
292
292
|
retry_backoff=1.0
|
|
293
293
|
) as client:
|
|
File without changes
|
|
File without changes
|