memwal 0.1.2.dev0__tar.gz → 0.1.2.dev1__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.
- {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/PKG-INFO +3 -4
- {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/README.md +2 -3
- {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/examples/async_remember_demo.py +1 -1
- {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/examples/interactive_demo.py +1 -1
- {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/examples/verify_credentials.py +1 -1
- {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/memwal/__init__.py +1 -1
- {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/pyproject.toml +1 -1
- {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/run_tests.py +1 -1
- {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/tests/test_integration.py +1 -1
- {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/.gitignore +0 -0
- {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/examples/.env.example +0 -0
- {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/examples/.gitignore +0 -0
- {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/memwal/client.py +0 -0
- {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/memwal/compatibility.py +0 -0
- {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/memwal/middleware.py +0 -0
- {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/memwal/types.py +0 -0
- {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/memwal/utils.py +0 -0
- {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/tests/__init__.py +0 -0
- {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/tests/test_client.py +0 -0
- {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/tests/test_env_presets.py +0 -0
- {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/tests/test_middleware.py +0 -0
- {memwal-0.1.2.dev0 → memwal-0.1.2.dev1}/tests/test_signing.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: memwal
|
|
3
|
-
Version: 0.1.2.
|
|
3
|
+
Version: 0.1.2.dev1
|
|
4
4
|
Summary: Python SDK for MemWal — Privacy-first AI memory with Ed25519 signing
|
|
5
5
|
Project-URL: Homepage, https://memwal.ai
|
|
6
6
|
Project-URL: Documentation, https://docs.memwal.ai
|
|
@@ -67,9 +67,8 @@ export MEMWAL_ACCOUNT_ID="0x-your-memwal-account-id"
|
|
|
67
67
|
export MEMWAL_SERVER_URL="https://relayer.memwal.ai"
|
|
68
68
|
```
|
|
69
69
|
|
|
70
|
-
`
|
|
71
|
-
|
|
72
|
-
the server-side secret.
|
|
70
|
+
`MEMWAL_PRIVATE_KEY` is the delegate private key from the MemWal dashboard and
|
|
71
|
+
must stay server-side.
|
|
73
72
|
|
|
74
73
|
### Async (recommended)
|
|
75
74
|
|
|
@@ -28,9 +28,8 @@ export MEMWAL_ACCOUNT_ID="0x-your-memwal-account-id"
|
|
|
28
28
|
export MEMWAL_SERVER_URL="https://relayer.memwal.ai"
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
`
|
|
32
|
-
|
|
33
|
-
the server-side secret.
|
|
31
|
+
`MEMWAL_PRIVATE_KEY` is the delegate private key from the MemWal dashboard and
|
|
32
|
+
must stay server-side.
|
|
34
33
|
|
|
35
34
|
### Async (recommended)
|
|
36
35
|
|
|
@@ -66,7 +66,7 @@ def _ms(start: float) -> int:
|
|
|
66
66
|
|
|
67
67
|
async def main() -> None:
|
|
68
68
|
server_url = os.environ.get("MEMWAL_SERVER_URL", "http://localhost:8000")
|
|
69
|
-
key = os.environ.get("MEMWAL_PRIVATE_KEY")
|
|
69
|
+
key = os.environ.get("MEMWAL_PRIVATE_KEY")
|
|
70
70
|
account_id = os.environ.get("MEMWAL_ACCOUNT_ID")
|
|
71
71
|
namespace = os.environ.get("MEMWAL_NAMESPACE", "python-sdk-example")
|
|
72
72
|
|
|
@@ -95,7 +95,7 @@ def _log_offset() -> int:
|
|
|
95
95
|
|
|
96
96
|
async def main() -> None:
|
|
97
97
|
server_url = os.environ.get("MEMWAL_SERVER_URL", "http://localhost:8000")
|
|
98
|
-
key = os.environ.get("MEMWAL_PRIVATE_KEY")
|
|
98
|
+
key = os.environ.get("MEMWAL_PRIVATE_KEY")
|
|
99
99
|
account_id = os.environ.get("MEMWAL_ACCOUNT_ID")
|
|
100
100
|
namespace = os.environ.get("MEMWAL_NAMESPACE", "python-sdk-example")
|
|
101
101
|
|
|
@@ -26,7 +26,7 @@ def normalize_hex(value: str) -> str:
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
def main() -> None:
|
|
29
|
-
private_key = os.environ.get("MEMWAL_PRIVATE_KEY") or
|
|
29
|
+
private_key = os.environ.get("MEMWAL_PRIVATE_KEY") or ""
|
|
30
30
|
account_id = os.environ.get("MEMWAL_ACCOUNT_ID") or ""
|
|
31
31
|
expected_public_key = os.environ.get("MEMWAL_DELEGATE_PUBLIC_KEY") or ""
|
|
32
32
|
server_url = os.environ.get("MEMWAL_SERVER_URL") or ""
|
|
@@ -27,7 +27,7 @@ DIM = "\033[2m"
|
|
|
27
27
|
RESET = "\033[0m"
|
|
28
28
|
|
|
29
29
|
SERVER_URL = os.environ.get("MEMWAL_SERVER_URL", "https://relayer.dev.memwal.ai")
|
|
30
|
-
PRIVATE_KEY = os.environ.get("MEMWAL_PRIVATE_KEY"
|
|
30
|
+
PRIVATE_KEY = os.environ.get("MEMWAL_PRIVATE_KEY", "")
|
|
31
31
|
ACCOUNT_ID = os.environ.get("MEMWAL_ACCOUNT_ID", "")
|
|
32
32
|
HAS_KEY = bool(PRIVATE_KEY and ACCOUNT_ID)
|
|
33
33
|
|
|
@@ -53,7 +53,7 @@ from memwal.utils import build_signature_message, bytes_to_hex
|
|
|
53
53
|
# ── Config ───────────────────────────────────────────────────────────────────
|
|
54
54
|
|
|
55
55
|
SERVER_URL = os.environ.get("MEMWAL_SERVER_URL", "https://relayer.dev.memwal.ai")
|
|
56
|
-
PRIVATE_KEY_HEX = os.environ.get("MEMWAL_PRIVATE_KEY"
|
|
56
|
+
PRIVATE_KEY_HEX = os.environ.get("MEMWAL_PRIVATE_KEY", "")
|
|
57
57
|
ACCOUNT_ID = os.environ.get("MEMWAL_ACCOUNT_ID", "")
|
|
58
58
|
|
|
59
59
|
HAS_KEY = bool(PRIVATE_KEY_HEX and ACCOUNT_ID)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|