more-compute 0.1.4__tar.gz → 0.2.1__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.
- more_compute-0.2.1/PKG-INFO +126 -0
- more_compute-0.2.1/README.md +86 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/app/globals.css +322 -77
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/app/layout.tsx +98 -82
- more_compute-0.2.1/frontend/components/Cell.tsx +383 -0
- more_compute-0.2.1/frontend/components/Notebook.tsx +751 -0
- {more_compute-0.1.4/frontend/components → more_compute-0.2.1/frontend/components/cell}/AddCellButton.tsx +0 -2
- more_compute-0.2.1/frontend/components/cell/MonacoCell.tsx +726 -0
- more_compute-0.2.1/frontend/components/layout/ConnectionBanner.tsx +41 -0
- {more_compute-0.1.4/frontend/components → more_compute-0.2.1/frontend/components/layout}/Sidebar.tsx +16 -11
- more_compute-0.2.1/frontend/components/modals/ConfirmModal.tsx +154 -0
- more_compute-0.2.1/frontend/components/modals/SuccessModal.tsx +140 -0
- more_compute-0.2.1/frontend/components/output/MarkdownRenderer.tsx +116 -0
- more_compute-0.2.1/frontend/components/popups/ComputePopup.tsx +1188 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/components/popups/MetricsPopup.tsx +11 -7
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/components/popups/SettingsPopup.tsx +11 -13
- more_compute-0.2.1/frontend/contexts/PodWebSocketContext.tsx +247 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/eslint.config.mjs +11 -0
- more_compute-0.2.1/frontend/lib/monaco-themes.ts +160 -0
- more_compute-0.2.1/frontend/lib/settings.ts +189 -0
- more_compute-0.2.1/frontend/lib/themes.json +9973 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/lib/websocket-native.ts +19 -8
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/lib/websocket.ts +59 -11
- more_compute-0.2.1/frontend/next.config.ts +15 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/package-lock.json +1705 -3
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/package.json +8 -1
- more_compute-0.2.1/frontend/styling_README.md +18 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/kernel_run.py +159 -42
- more_compute-0.2.1/more_compute.egg-info/PKG-INFO +126 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/more_compute.egg-info/SOURCES.txt +23 -9
- more_compute-0.2.1/morecompute/__version__.py +1 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/morecompute/execution/executor.py +31 -20
- {more_compute-0.1.4 → more_compute-0.2.1}/morecompute/execution/worker.py +68 -7
- more_compute-0.2.1/morecompute/models/__init__.py +31 -0
- more_compute-0.2.1/morecompute/models/api_models.py +197 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/morecompute/notebook.py +50 -7
- more_compute-0.2.1/morecompute/server.py +1121 -0
- more_compute-0.2.1/morecompute/services/data_manager.py +379 -0
- more_compute-0.2.1/morecompute/services/lsp_service.py +335 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/morecompute/services/pod_manager.py +122 -20
- more_compute-0.2.1/morecompute/services/pod_monitor.py +138 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/morecompute/services/prime_intellect.py +87 -63
- more_compute-0.2.1/morecompute/utils/config_util.py +59 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/morecompute/utils/special_commands.py +11 -5
- more_compute-0.2.1/morecompute/utils/zmq_util.py +51 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/pyproject.toml +4 -1
- more_compute-0.1.4/PKG-INFO +0 -173
- more_compute-0.1.4/README.md +0 -133
- more_compute-0.1.4/frontend/components/Cell.tsx +0 -244
- more_compute-0.1.4/frontend/components/MarkdownRenderer.tsx +0 -84
- more_compute-0.1.4/frontend/components/Notebook.tsx +0 -520
- more_compute-0.1.4/frontend/components/popups/ComputePopup.tsx +0 -879
- more_compute-0.1.4/frontend/components/popups/PythonPopup.tsx +0 -292
- more_compute-0.1.4/frontend/lib/settings.ts +0 -87
- more_compute-0.1.4/frontend/next.config.ts +0 -7
- more_compute-0.1.4/more_compute.egg-info/PKG-INFO +0 -173
- more_compute-0.1.4/morecompute/__version__.py +0 -1
- more_compute-0.1.4/morecompute/server.py +0 -641
- {more_compute-0.1.4 → more_compute-0.2.1}/LICENSE +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/MANIFEST.in +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/.DS_Store +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/.gitignore +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/README.md +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/__init__.py +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/app/favicon.ico +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/app/page.tsx +0 -0
- {more_compute-0.1.4/frontend/components → more_compute-0.2.1/frontend/components/cell}/CellButton.tsx +0 -0
- {more_compute-0.1.4/frontend/components → more_compute-0.2.1/frontend/components/modals}/ErrorModal.tsx +0 -0
- {more_compute-0.1.4/frontend/components → more_compute-0.2.1/frontend/components/output}/CellOutput.tsx +0 -0
- {more_compute-0.1.4/frontend/components → more_compute-0.2.1/frontend/components/output}/ErrorDisplay.tsx +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/components/popups/FilterPopup.tsx +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/components/popups/FolderPopup.tsx +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/components/popups/PackagesPopup.tsx +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/lib/api.ts +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/next-env.d.ts +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/next.config.mjs +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/postcss.config.mjs +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/public/assets/icons/add.svg +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/public/assets/icons/check.svg +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/public/assets/icons/copy.svg +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/public/assets/icons/folder.svg +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/public/assets/icons/metric.svg +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/public/assets/icons/packages.svg +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/public/assets/icons/play.svg +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/public/assets/icons/python.svg +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/public/assets/icons/setting.svg +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/public/assets/icons/stop.svg +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/public/assets/icons/trash.svg +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/public/assets/icons/up-down.svg +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/public/assets/icons/x.svg +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/public/file.svg +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/public/fonts/Fira.ttf +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/public/fonts/Tiempos.woff2 +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/public/fonts/VeraMono.ttf +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/public/globe.svg +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/public/next.svg +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/public/vercel.svg +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/public/window.svg +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/tailwind.config.ts +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/tsconfig.json +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/frontend/types/notebook.ts +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/more_compute.egg-info/dependency_links.txt +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/more_compute.egg-info/entry_points.txt +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/more_compute.egg-info/requires.txt +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/more_compute.egg-info/top_level.txt +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/morecompute/__init__.py +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/morecompute/cli.py +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/morecompute/execution/__init__.py +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/morecompute/execution/__main__.py +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/morecompute/process_worker.py +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/morecompute/static/styles.css +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/morecompute/utils/__init__.py +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/morecompute/utils/cache_util.py +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/morecompute/utils/error_utils.py +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/morecompute/utils/notebook_util.py +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/morecompute/utils/python_environment_util.py +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/morecompute/utils/system_environment_util.py +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/setup.cfg +0 -0
- {more_compute-0.1.4 → more_compute-0.2.1}/setup.py +0 -0
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: more-compute
|
|
3
|
+
Version: 0.2.1
|
|
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
|
+
[](https://pypi.org/project/more-compute/)
|
|
44
|
+
[](https://www.python.org/downloads/)
|
|
45
|
+
[](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
|
+
[](https://pypi.org/project/more-compute/)
|
|
4
|
+
[](https://www.python.org/downloads/)
|
|
5
|
+
[](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)
|