mrmd-python 0.1.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.
@@ -0,0 +1,77 @@
1
+ Metadata-Version: 2.4
2
+ Name: mrmd-python
3
+ Version: 0.1.0
4
+ Summary: Python runtime server implementing the MRMD Runtime Protocol (MRP)
5
+ Author: mrmd contributors
6
+ License: MIT
7
+ Keywords: ipython,mrmd,mrp,notebook,runtime
8
+ Classifier: Development Status :: 3 - Alpha
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.10
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Requires-Python: >=3.10
17
+ Requires-Dist: black>=25.12.0
18
+ Requires-Dist: ipython>=8.0.0
19
+ Requires-Dist: jedi>=0.19.0
20
+ Requires-Dist: sse-starlette>=2.0.0
21
+ Requires-Dist: starlette>=0.40.0
22
+ Requires-Dist: uvicorn>=0.32.0
23
+ Provides-Extra: dev
24
+ Requires-Dist: httpx>=0.27.0; extra == 'dev'
25
+ Requires-Dist: pytest-asyncio>=0.24.0; extra == 'dev'
26
+ Requires-Dist: pytest>=8.0.0; extra == 'dev'
27
+ Provides-Extra: format
28
+ Requires-Dist: black>=24.0.0; extra == 'format'
29
+ Description-Content-Type: text/markdown
30
+
31
+ # mrmd-python
32
+
33
+ Python runtime server implementing the MRMD Runtime Protocol (MRP).
34
+
35
+ ## Installation
36
+
37
+ ```bash
38
+ uv pip install mrmd-python
39
+ ```
40
+
41
+ ## Usage
42
+
43
+ ### Command Line
44
+
45
+ ```bash
46
+ mrmd-python --port 8000
47
+ ```
48
+
49
+ ### Programmatic
50
+
51
+ ```python
52
+ from mrmd_python import create_app
53
+ import uvicorn
54
+
55
+ app = create_app(cwd="/path/to/project")
56
+ uvicorn.run(app, host="localhost", port=8000)
57
+ ```
58
+
59
+ ## API Endpoints
60
+
61
+ All endpoints are prefixed with `/mrp/v1/`.
62
+
63
+ | Endpoint | Method | Purpose |
64
+ |----------|--------|---------|
65
+ | `/capabilities` | GET | Runtime capabilities |
66
+ | `/sessions` | GET/POST | List/create sessions |
67
+ | `/execute` | POST | Run code |
68
+ | `/execute/stream` | POST | Run code with SSE streaming |
69
+ | `/complete` | POST | Get completions |
70
+ | `/inspect` | POST | Get symbol info |
71
+ | `/hover` | POST | Get hover tooltip |
72
+ | `/variables` | POST | List variables |
73
+ | `/interrupt` | POST | Cancel execution |
74
+
75
+ ## Protocol
76
+
77
+ See [PROTOCOL.md](../mrmd-editor/PROTOCOL.md) for the full MRP specification.
@@ -0,0 +1,9 @@
1
+ mrmd_python/__init__.py,sha256=6XluFXtH7xzWheuXruJGRBK3QCyYx6_nW154gGjdrx0,406
2
+ mrmd_python/cli.py,sha256=_DIQ1DMBldrVlZyzTAEArbO6QWeqEtdPCkxtZwpDbDQ,4196
3
+ mrmd_python/server.py,sha256=aWigU9Ki9Wkg7gxNjeQKynm4O8EyMgXXeVW0bXJ8RVM,23032
4
+ mrmd_python/types.py,sha256=Cc8ljPcmdi-o9fjqlJE9pwODjxaA3AbUCIxem80Qiik,6030
5
+ mrmd_python/worker.py,sha256=qMgfZwUjwpwmasgXVpHFV9CUD5VfebSnW1UIzelkIls,53299
6
+ mrmd_python-0.1.0.dist-info/METADATA,sha256=HlhGvW4UkSCaOsDYy6xqvVjfNAdBTad4Xq4Z4WLCaNc,2085
7
+ mrmd_python-0.1.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
8
+ mrmd_python-0.1.0.dist-info/entry_points.txt,sha256=EZ3KuzPcu_aF5rF1d5Jfk4iR146EjzT4zXEMYKuStOo,53
9
+ mrmd_python-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.28.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ mrmd-python = mrmd_python.cli:main