mesh-context-layer 0.4.0__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.
Files changed (32) hide show
  1. mesh_context_layer-0.4.0/.github/workflows/test.yml +28 -0
  2. mesh_context_layer-0.4.0/.gitignore +16 -0
  3. mesh_context_layer-0.4.0/ARCHITECTURE.md +682 -0
  4. mesh_context_layer-0.4.0/DEVELOPER_GUIDE.md +944 -0
  5. mesh_context_layer-0.4.0/LICENSE +21 -0
  6. mesh_context_layer-0.4.0/MANIFEST.in +4 -0
  7. mesh_context_layer-0.4.0/PKG-INFO +215 -0
  8. mesh_context_layer-0.4.0/README.md +181 -0
  9. mesh_context_layer-0.4.0/examples/basic_usage.py +32 -0
  10. mesh_context_layer-0.4.0/examples/two_agents_demo.py +117 -0
  11. mesh_context_layer-0.4.0/examples/v02_demo.py +107 -0
  12. mesh_context_layer-0.4.0/mesh/__init__.py +10 -0
  13. mesh_context_layer-0.4.0/mesh/audit.py +189 -0
  14. mesh_context_layer-0.4.0/mesh/cli.py +321 -0
  15. mesh_context_layer-0.4.0/mesh/context_builder.py +96 -0
  16. mesh_context_layer-0.4.0/mesh/dashboard.py +1869 -0
  17. mesh_context_layer-0.4.0/mesh/digest.py +194 -0
  18. mesh_context_layer-0.4.0/mesh/http_server.py +226 -0
  19. mesh_context_layer-0.4.0/mesh/io.py +215 -0
  20. mesh_context_layer-0.4.0/mesh/mcp_server.py +387 -0
  21. mesh_context_layer-0.4.0/mesh/memory.py +343 -0
  22. mesh_context_layer-0.4.0/mesh/namespaces.py +218 -0
  23. mesh_context_layer-0.4.0/mesh/passive.py +690 -0
  24. mesh_context_layer-0.4.0/mesh/store.py +393 -0
  25. mesh_context_layer-0.4.0/pyproject.toml +64 -0
  26. mesh_context_layer-0.4.0/pytest.ini +4 -0
  27. mesh_context_layer-0.4.0/test_out.txt +0 -0
  28. mesh_context_layer-0.4.0/test_out_utf8.txt +100 -0
  29. mesh_context_layer-0.4.0/tests/__init__.py +1 -0
  30. mesh_context_layer-0.4.0/tests/test_memory.py +294 -0
  31. mesh_context_layer-0.4.0/tests/test_v03.py +213 -0
  32. mesh_context_layer-0.4.0/tests/test_v04.py +377 -0
@@ -0,0 +1,28 @@
1
+ name: Python Tests
2
+
3
+ on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
+ branches: [ main ]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ python-version: ["3.10", "3.11", "3.12"]
15
+
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - name: Set up Python ${{ matrix.python-version }}
19
+ uses: actions/setup-python@v5
20
+ with:
21
+ python-version: ${{ matrix.python-version }}
22
+ - name: Install dependencies
23
+ run: |
24
+ python -m pip install --upgrade pip
25
+ pip install .[test]
26
+ - name: Run tests
27
+ run: |
28
+ pytest
@@ -0,0 +1,16 @@
1
+ __pycache__/
2
+ *.py[cod]
3
+ *$py.class
4
+ *.egg-info/
5
+ dist/
6
+ build/
7
+ .eggs/
8
+ *.egg
9
+ .env
10
+ .venv
11
+ venv/
12
+ env/
13
+ *.log
14
+ .pytest_cache/
15
+ .coverage
16
+ htmlcov/