more-compute 0.1.3__tar.gz → 0.2.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 (118) hide show
  1. more_compute-0.2.0/PKG-INFO +126 -0
  2. more_compute-0.2.0/README.md +86 -0
  3. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/app/globals.css +322 -77
  4. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/app/layout.tsx +98 -82
  5. more_compute-0.2.0/frontend/components/Cell.tsx +383 -0
  6. more_compute-0.2.0/frontend/components/Notebook.tsx +751 -0
  7. {more_compute-0.1.3/frontend/components → more_compute-0.2.0/frontend/components/cell}/AddCellButton.tsx +0 -2
  8. more_compute-0.2.0/frontend/components/cell/MonacoCell.tsx +726 -0
  9. more_compute-0.2.0/frontend/components/layout/ConnectionBanner.tsx +41 -0
  10. {more_compute-0.1.3/frontend/components → more_compute-0.2.0/frontend/components/layout}/Sidebar.tsx +16 -11
  11. more_compute-0.2.0/frontend/components/modals/ConfirmModal.tsx +154 -0
  12. more_compute-0.2.0/frontend/components/modals/SuccessModal.tsx +140 -0
  13. more_compute-0.2.0/frontend/components/output/MarkdownRenderer.tsx +116 -0
  14. more_compute-0.2.0/frontend/components/popups/ComputePopup.tsx +1188 -0
  15. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/components/popups/MetricsPopup.tsx +11 -7
  16. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/components/popups/SettingsPopup.tsx +11 -13
  17. more_compute-0.2.0/frontend/contexts/PodWebSocketContext.tsx +247 -0
  18. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/eslint.config.mjs +11 -0
  19. more_compute-0.2.0/frontend/lib/monaco-themes.ts +160 -0
  20. more_compute-0.2.0/frontend/lib/settings.ts +189 -0
  21. more_compute-0.2.0/frontend/lib/themes.json +9973 -0
  22. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/lib/websocket-native.ts +19 -8
  23. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/lib/websocket.ts +59 -11
  24. more_compute-0.2.0/frontend/next.config.ts +15 -0
  25. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/package-lock.json +1705 -3
  26. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/package.json +8 -1
  27. more_compute-0.2.0/frontend/styling_README.md +18 -0
  28. {more_compute-0.1.3 → more_compute-0.2.0}/kernel_run.py +161 -43
  29. more_compute-0.2.0/more_compute.egg-info/PKG-INFO +126 -0
  30. {more_compute-0.1.3 → more_compute-0.2.0}/more_compute.egg-info/SOURCES.txt +24 -9
  31. more_compute-0.2.0/morecompute/__version__.py +1 -0
  32. {more_compute-0.1.3 → more_compute-0.2.0}/morecompute/execution/executor.py +31 -20
  33. {more_compute-0.1.3 → more_compute-0.2.0}/morecompute/execution/worker.py +68 -7
  34. more_compute-0.2.0/morecompute/models/__init__.py +31 -0
  35. more_compute-0.2.0/morecompute/models/api_models.py +197 -0
  36. {more_compute-0.1.3 → more_compute-0.2.0}/morecompute/notebook.py +50 -7
  37. more_compute-0.2.0/morecompute/server.py +1121 -0
  38. more_compute-0.2.0/morecompute/services/data_manager.py +379 -0
  39. more_compute-0.2.0/morecompute/services/lsp_service.py +335 -0
  40. {more_compute-0.1.3 → more_compute-0.2.0}/morecompute/services/pod_manager.py +122 -20
  41. more_compute-0.2.0/morecompute/services/pod_monitor.py +138 -0
  42. {more_compute-0.1.3 → more_compute-0.2.0}/morecompute/services/prime_intellect.py +87 -63
  43. more_compute-0.2.0/morecompute/utils/config_util.py +59 -0
  44. {more_compute-0.1.3 → more_compute-0.2.0}/morecompute/utils/special_commands.py +11 -5
  45. more_compute-0.2.0/morecompute/utils/zmq_util.py +51 -0
  46. {more_compute-0.1.3 → more_compute-0.2.0}/pyproject.toml +4 -1
  47. {more_compute-0.1.3 → more_compute-0.2.0}/setup.py +7 -1
  48. more_compute-0.1.3/PKG-INFO +0 -173
  49. more_compute-0.1.3/README.md +0 -133
  50. more_compute-0.1.3/frontend/components/Cell.tsx +0 -244
  51. more_compute-0.1.3/frontend/components/MarkdownRenderer.tsx +0 -84
  52. more_compute-0.1.3/frontend/components/Notebook.tsx +0 -520
  53. more_compute-0.1.3/frontend/components/popups/ComputePopup.tsx +0 -879
  54. more_compute-0.1.3/frontend/components/popups/PythonPopup.tsx +0 -292
  55. more_compute-0.1.3/frontend/lib/settings.ts +0 -87
  56. more_compute-0.1.3/frontend/next.config.ts +0 -7
  57. more_compute-0.1.3/more_compute.egg-info/PKG-INFO +0 -173
  58. more_compute-0.1.3/morecompute/server.py +0 -641
  59. {more_compute-0.1.3 → more_compute-0.2.0}/LICENSE +0 -0
  60. {more_compute-0.1.3 → more_compute-0.2.0}/MANIFEST.in +0 -0
  61. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/.DS_Store +0 -0
  62. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/.gitignore +0 -0
  63. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/README.md +0 -0
  64. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/__init__.py +0 -0
  65. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/app/favicon.ico +0 -0
  66. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/app/page.tsx +0 -0
  67. {more_compute-0.1.3/frontend/components → more_compute-0.2.0/frontend/components/cell}/CellButton.tsx +0 -0
  68. {more_compute-0.1.3/frontend/components → more_compute-0.2.0/frontend/components/modals}/ErrorModal.tsx +0 -0
  69. {more_compute-0.1.3/frontend/components → more_compute-0.2.0/frontend/components/output}/CellOutput.tsx +0 -0
  70. {more_compute-0.1.3/frontend/components → more_compute-0.2.0/frontend/components/output}/ErrorDisplay.tsx +0 -0
  71. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/components/popups/FilterPopup.tsx +0 -0
  72. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/components/popups/FolderPopup.tsx +0 -0
  73. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/components/popups/PackagesPopup.tsx +0 -0
  74. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/lib/api.ts +0 -0
  75. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/next-env.d.ts +0 -0
  76. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/next.config.mjs +0 -0
  77. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/postcss.config.mjs +0 -0
  78. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/public/assets/icons/add.svg +0 -0
  79. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/public/assets/icons/check.svg +0 -0
  80. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/public/assets/icons/copy.svg +0 -0
  81. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/public/assets/icons/folder.svg +0 -0
  82. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/public/assets/icons/metric.svg +0 -0
  83. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/public/assets/icons/packages.svg +0 -0
  84. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/public/assets/icons/play.svg +0 -0
  85. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/public/assets/icons/python.svg +0 -0
  86. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/public/assets/icons/setting.svg +0 -0
  87. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/public/assets/icons/stop.svg +0 -0
  88. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/public/assets/icons/trash.svg +0 -0
  89. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/public/assets/icons/up-down.svg +0 -0
  90. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/public/assets/icons/x.svg +0 -0
  91. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/public/file.svg +0 -0
  92. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/public/fonts/Fira.ttf +0 -0
  93. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/public/fonts/Tiempos.woff2 +0 -0
  94. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/public/fonts/VeraMono.ttf +0 -0
  95. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/public/globe.svg +0 -0
  96. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/public/next.svg +0 -0
  97. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/public/vercel.svg +0 -0
  98. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/public/window.svg +0 -0
  99. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/tailwind.config.ts +0 -0
  100. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/tsconfig.json +0 -0
  101. {more_compute-0.1.3 → more_compute-0.2.0}/frontend/types/notebook.ts +0 -0
  102. {more_compute-0.1.3 → more_compute-0.2.0}/more_compute.egg-info/dependency_links.txt +0 -0
  103. {more_compute-0.1.3 → more_compute-0.2.0}/more_compute.egg-info/entry_points.txt +0 -0
  104. {more_compute-0.1.3 → more_compute-0.2.0}/more_compute.egg-info/requires.txt +0 -0
  105. {more_compute-0.1.3 → more_compute-0.2.0}/more_compute.egg-info/top_level.txt +0 -0
  106. {more_compute-0.1.3 → more_compute-0.2.0}/morecompute/__init__.py +0 -0
  107. {more_compute-0.1.3 → more_compute-0.2.0}/morecompute/cli.py +0 -0
  108. {more_compute-0.1.3 → more_compute-0.2.0}/morecompute/execution/__init__.py +0 -0
  109. {more_compute-0.1.3 → more_compute-0.2.0}/morecompute/execution/__main__.py +0 -0
  110. {more_compute-0.1.3 → more_compute-0.2.0}/morecompute/process_worker.py +0 -0
  111. {more_compute-0.1.3 → more_compute-0.2.0}/morecompute/static/styles.css +0 -0
  112. {more_compute-0.1.3 → more_compute-0.2.0}/morecompute/utils/__init__.py +0 -0
  113. {more_compute-0.1.3 → more_compute-0.2.0}/morecompute/utils/cache_util.py +0 -0
  114. {more_compute-0.1.3 → more_compute-0.2.0}/morecompute/utils/error_utils.py +0 -0
  115. {more_compute-0.1.3 → more_compute-0.2.0}/morecompute/utils/notebook_util.py +0 -0
  116. {more_compute-0.1.3 → more_compute-0.2.0}/morecompute/utils/python_environment_util.py +0 -0
  117. {more_compute-0.1.3 → more_compute-0.2.0}/morecompute/utils/system_environment_util.py +0 -0
  118. {more_compute-0.1.3 → more_compute-0.2.0}/setup.cfg +0 -0
@@ -0,0 +1,126 @@
1
+ Metadata-Version: 2.4
2
+ Name: more-compute
3
+ Version: 0.2.0
4
+ Summary: An interactive notebook environment for local and GPU computing
5
+ Home-page: https://github.com/DannyMang/MORECOMPUTE
6
+ Author: MoreCompute Team
7
+ Author-email: MoreCompute Team <hello@morecompute.dev>
8
+ License: MIT
9
+ Project-URL: Homepage, https://github.com/DannyMang/MORECOMPUTE
10
+ Project-URL: Repository, https://github.com/DannyMang/MORECOMPUTE
11
+ Project-URL: Issues, https://github.com/DannyMang/MORECOMPUTE/issues
12
+ Keywords: jupyter,notebook,gpu,computing,interactive
13
+ Classifier: Development Status :: 3 - Alpha
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Operating System :: OS Independent
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3.8
19
+ Classifier: Programming Language :: Python :: 3.9
20
+ Classifier: Programming Language :: Python :: 3.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Requires-Python: >=3.8
24
+ Description-Content-Type: text/markdown
25
+ License-File: LICENSE
26
+ Requires-Dist: fastapi>=0.104.0
27
+ Requires-Dist: uvicorn[standard]>=0.24.0
28
+ Requires-Dist: python-multipart>=0.0.5
29
+ Requires-Dist: nbformat>=5.0.0
30
+ Requires-Dist: click>=8.0.0
31
+ Requires-Dist: pyzmq>=25.0.0
32
+ Requires-Dist: psutil>=5.9.0
33
+ Requires-Dist: httpx>=0.24.0
34
+ Requires-Dist: cachetools>=5.3.0
35
+ Requires-Dist: matplotlib>=3.5.0
36
+ Dynamic: author
37
+ Dynamic: home-page
38
+ Dynamic: license-file
39
+ Dynamic: requires-python
40
+
41
+ # more-compute
42
+
43
+ [![PyPI version](https://badge.fury.io/py/more-compute.svg)](https://pypi.org/project/more-compute/)
44
+ [![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
45
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
46
+
47
+ Interactive notebook environment for local Python development. Works with standard `.ipynb` files,
48
+ similar to Jupyter Lab but more awesome.
49
+
50
+ ## Installation
51
+
52
+ **Prerequisites:** [Node.js](https://nodejs.org/) 16+ required for web interface.
53
+
54
+ ### Using uv (Recommended)
55
+
56
+ ```bash
57
+ # macOS/Linux
58
+ curl -LsSf https://astral.sh/uv/install.sh | sh
59
+ uv tool install more-compute
60
+
61
+ # Windows
62
+ powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
63
+ uv tool install more-compute
64
+ ```
65
+
66
+ ### Using pip
67
+
68
+ ```bash
69
+ pip install more-compute
70
+
71
+ # Add to PATH if needed:
72
+ # macOS/Linux: echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
73
+ # Windows: See troubleshooting below
74
+ ```
75
+
76
+ ## Usage
77
+
78
+ ```bash
79
+ more-compute notebook.ipynb # Open existing notebook
80
+ more-compute # Create and open new notebook
81
+ more-compute --debug # Show logs
82
+ ```
83
+
84
+ Opens automatically at http://localhost:8000
85
+
86
+ ## Troubleshooting
87
+
88
+ **Command not found:**
89
+ ```bash
90
+ uv tool update-shell # Fixes PATH automatically
91
+ ```
92
+
93
+ **Manual PATH fix (macOS/Linux):**
94
+ ```bash
95
+ echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
96
+ source ~/.bashrc
97
+ ```
98
+
99
+ **Manual PATH fix (Windows):**
100
+ ```powershell
101
+ $pythonScripts = python -c "import site; print(site.USER_BASE)"
102
+ $userPath = [Environment]::GetEnvironmentVariable("Path", "User")
103
+ [Environment]::SetEnvironmentVariable("Path", "$userPath;$pythonScripts\Scripts", "User")
104
+ # Restart PowerShell
105
+ ```
106
+
107
+ **Port in use:**
108
+ ```bash
109
+ export MORECOMPUTE_PORT=8080 # macOS/Linux
110
+ $env:MORECOMPUTE_PORT = "8080" # Windows
111
+ ```
112
+
113
+ ## Development
114
+
115
+ ```bash
116
+ git clone https://github.com/DannyMang/MORECOMPUTE.git
117
+ cd MORECOMPUTE
118
+ uv venv && source .venv/bin/activate
119
+ uv pip install -e .
120
+ cd frontend && npm install && cd ..
121
+ python kernel_run.py notebook.ipynb
122
+ ```
123
+
124
+ ## License
125
+
126
+ MIT - see [LICENSE](LICENSE)
@@ -0,0 +1,86 @@
1
+ # more-compute
2
+
3
+ [![PyPI version](https://badge.fury.io/py/more-compute.svg)](https://pypi.org/project/more-compute/)
4
+ [![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
5
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
6
+
7
+ Interactive notebook environment for local Python development. Works with standard `.ipynb` files,
8
+ similar to Jupyter Lab but more awesome.
9
+
10
+ ## Installation
11
+
12
+ **Prerequisites:** [Node.js](https://nodejs.org/) 16+ required for web interface.
13
+
14
+ ### Using uv (Recommended)
15
+
16
+ ```bash
17
+ # macOS/Linux
18
+ curl -LsSf https://astral.sh/uv/install.sh | sh
19
+ uv tool install more-compute
20
+
21
+ # Windows
22
+ powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
23
+ uv tool install more-compute
24
+ ```
25
+
26
+ ### Using pip
27
+
28
+ ```bash
29
+ pip install more-compute
30
+
31
+ # Add to PATH if needed:
32
+ # macOS/Linux: echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
33
+ # Windows: See troubleshooting below
34
+ ```
35
+
36
+ ## Usage
37
+
38
+ ```bash
39
+ more-compute notebook.ipynb # Open existing notebook
40
+ more-compute # Create and open new notebook
41
+ more-compute --debug # Show logs
42
+ ```
43
+
44
+ Opens automatically at http://localhost:8000
45
+
46
+ ## Troubleshooting
47
+
48
+ **Command not found:**
49
+ ```bash
50
+ uv tool update-shell # Fixes PATH automatically
51
+ ```
52
+
53
+ **Manual PATH fix (macOS/Linux):**
54
+ ```bash
55
+ echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
56
+ source ~/.bashrc
57
+ ```
58
+
59
+ **Manual PATH fix (Windows):**
60
+ ```powershell
61
+ $pythonScripts = python -c "import site; print(site.USER_BASE)"
62
+ $userPath = [Environment]::GetEnvironmentVariable("Path", "User")
63
+ [Environment]::SetEnvironmentVariable("Path", "$userPath;$pythonScripts\Scripts", "User")
64
+ # Restart PowerShell
65
+ ```
66
+
67
+ **Port in use:**
68
+ ```bash
69
+ export MORECOMPUTE_PORT=8080 # macOS/Linux
70
+ $env:MORECOMPUTE_PORT = "8080" # Windows
71
+ ```
72
+
73
+ ## Development
74
+
75
+ ```bash
76
+ git clone https://github.com/DannyMang/MORECOMPUTE.git
77
+ cd MORECOMPUTE
78
+ uv venv && source .venv/bin/activate
79
+ uv pip install -e .
80
+ cd frontend && npm install && cd ..
81
+ python kernel_run.py notebook.ipynb
82
+ ```
83
+
84
+ ## License
85
+
86
+ MIT - see [LICENSE](LICENSE)