more-compute 0.4.4__tar.gz → 0.5.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.
- {more_compute-0.4.4/more_compute.egg-info → more_compute-0.5.0}/PKG-INFO +53 -11
- {more_compute-0.4.4 → more_compute-0.5.0}/README.md +50 -5
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/app/globals.css +734 -27
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/app/layout.tsx +13 -3
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/components/Notebook.tsx +2 -14
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/components/cell/MonacoCell.tsx +99 -5
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/components/layout/Sidebar.tsx +39 -4
- more_compute-0.5.0/frontend/components/panels/ClaudePanel.tsx +461 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/components/popups/ComputePopup.tsx +738 -447
- more_compute-0.5.0/frontend/components/popups/FilterPopup.tsx +543 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/components/popups/MetricsPopup.tsx +20 -1
- more_compute-0.5.0/frontend/components/popups/ProviderConfigModal.tsx +322 -0
- more_compute-0.5.0/frontend/components/popups/ProviderDropdown.tsx +398 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/components/popups/SettingsPopup.tsx +1 -1
- more_compute-0.5.0/frontend/contexts/ClaudeContext.tsx +392 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/contexts/PodWebSocketContext.tsx +16 -21
- more_compute-0.5.0/frontend/hooks/useInlineDiff.ts +269 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/lib/api.ts +323 -12
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/lib/settings.ts +5 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/lib/websocket-native.ts +4 -8
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/lib/websocket.ts +1 -2
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/package-lock.json +733 -36
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/package.json +2 -0
- more_compute-0.5.0/frontend/public/assets/icons/providers/lambda_labs.svg +22 -0
- more_compute-0.5.0/frontend/public/assets/icons/providers/prime_intellect.svg +18 -0
- more_compute-0.5.0/frontend/public/assets/icons/providers/runpod.svg +9 -0
- more_compute-0.5.0/frontend/public/assets/icons/providers/vastai.svg +1 -0
- more_compute-0.5.0/frontend/settings.md +54 -0
- more_compute-0.5.0/frontend/tsconfig.tsbuildinfo +1 -0
- more_compute-0.5.0/frontend/types/claude.ts +194 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/kernel_run.py +13 -0
- {more_compute-0.4.4 → more_compute-0.5.0/more_compute.egg-info}/PKG-INFO +53 -11
- {more_compute-0.4.4 → more_compute-0.5.0}/more_compute.egg-info/SOURCES.txt +20 -1
- {more_compute-0.4.4 → more_compute-0.5.0}/more_compute.egg-info/requires.txt +1 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/__init__.py +1 -1
- more_compute-0.5.0/morecompute/__version__.py +1 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/execution/executor.py +24 -67
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/execution/worker.py +6 -72
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/models/api_models.py +62 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/notebook.py +11 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/server.py +641 -133
- more_compute-0.5.0/morecompute/services/claude_service.py +392 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/services/pod_manager.py +168 -67
- more_compute-0.5.0/morecompute/services/pod_monitor.py +166 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/services/prime_intellect.py +0 -4
- more_compute-0.5.0/morecompute/services/providers/__init__.py +92 -0
- more_compute-0.5.0/morecompute/services/providers/base_provider.py +336 -0
- more_compute-0.5.0/morecompute/services/providers/lambda_labs_provider.py +394 -0
- more_compute-0.5.0/morecompute/services/providers/provider_factory.py +194 -0
- more_compute-0.5.0/morecompute/services/providers/runpod_provider.py +504 -0
- more_compute-0.5.0/morecompute/services/providers/vastai_provider.py +407 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/utils/cell_magics.py +0 -3
- more_compute-0.5.0/morecompute/utils/config_util.py +165 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/utils/special_commands.py +5 -32
- more_compute-0.5.0/morecompute/utils/version_check.py +117 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/pyproject.toml +1 -0
- more_compute-0.4.4/frontend/components/popups/FilterPopup.tsx +0 -427
- more_compute-0.4.4/frontend/styling_README.md +0 -23
- more_compute-0.4.4/morecompute/__version__.py +0 -1
- more_compute-0.4.4/morecompute/services/pod_monitor.py +0 -138
- more_compute-0.4.4/morecompute/utils/config_util.py +0 -75
- {more_compute-0.4.4 → more_compute-0.5.0}/LICENSE +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/MANIFEST.in +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/.gitignore +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/README.md +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/__init__.py +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/app/favicon.ico +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/app/page.tsx +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/components/cell/AddCellButton.tsx +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/components/cell/CellButton.tsx +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/components/layout/ConnectionBanner.tsx +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/components/modals/ConfirmModal.tsx +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/components/modals/ErrorModal.tsx +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/components/modals/SuccessModal.tsx +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/components/output/CellOutput.tsx +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/components/output/ErrorDisplay.tsx +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/components/output/MarkdownRenderer.tsx +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/components/popups/FolderPopup.tsx +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/components/popups/PackagesPopup.tsx +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/eslint.config.mjs +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/lib/monaco-themes.ts +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/lib/themes.json +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/next-env.d.ts +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/next.config.mjs +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/next.config.ts +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/postcss.config.mjs +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/public/assets/icons/add.svg +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/public/assets/icons/check.svg +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/public/assets/icons/copy.svg +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/public/assets/icons/folder.svg +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/public/assets/icons/metric.svg +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/public/assets/icons/packages.svg +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/public/assets/icons/play.svg +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/public/assets/icons/python.svg +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/public/assets/icons/setting.svg +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/public/assets/icons/stop.svg +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/public/assets/icons/trash.svg +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/public/assets/icons/up-down.svg +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/public/assets/icons/x.svg +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/public/file.svg +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/public/fonts/Fira.ttf +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/public/fonts/Tiempos.woff2 +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/public/fonts/VeraMono.ttf +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/public/globe.svg +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/public/next.svg +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/public/vercel.svg +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/public/window.svg +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/tailwind.config.ts +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/tsconfig.json +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/frontend/types/notebook.ts +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/more_compute.egg-info/dependency_links.txt +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/more_compute.egg-info/entry_points.txt +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/more_compute.egg-info/top_level.txt +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/cli.py +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/execution/__init__.py +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/execution/__main__.py +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/models/__init__.py +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/process_worker.py +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/services/data_manager.py +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/services/lsp_service.py +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/static/styles.css +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/utils/__init__.py +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/utils/cache_util.py +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/utils/error_utils.py +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/utils/line_magics.py +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/utils/notebook_converter.py +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/utils/notebook_util.py +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/utils/py_percent_parser.py +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/utils/python_environment_util.py +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/utils/shell_utils.py +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/utils/system_environment_util.py +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/morecompute/utils/zmq_util.py +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/setup.cfg +0 -0
- {more_compute-0.4.4 → more_compute-0.5.0}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
2
|
Name: more-compute
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.0
|
|
4
4
|
Summary: An interactive notebook environment for local and GPU computing
|
|
5
5
|
Home-page: https://github.com/DannyMang/MORECOMPUTE
|
|
6
6
|
Author: MoreCompute Team
|
|
@@ -31,10 +31,7 @@ Requires-Dist: psutil>=5.9.0
|
|
|
31
31
|
Requires-Dist: httpx>=0.24.0
|
|
32
32
|
Requires-Dist: cachetools>=5.3.0
|
|
33
33
|
Requires-Dist: matplotlib>=3.5.0
|
|
34
|
-
|
|
35
|
-
Dynamic: home-page
|
|
36
|
-
Dynamic: license-file
|
|
37
|
-
Dynamic: requires-python
|
|
34
|
+
Requires-Dist: anthropic>=0.40.0
|
|
38
35
|
|
|
39
36
|
# more-compute
|
|
40
37
|
|
|
@@ -51,8 +48,8 @@ https://github.com/user-attachments/assets/8c7ec716-dade-4de2-ad37-71d328129c97
|
|
|
51
48
|
## Installation
|
|
52
49
|
|
|
53
50
|
**Prerequisites:**
|
|
54
|
-
- [Node.js](https://nodejs.org/)
|
|
55
|
-
- Python
|
|
51
|
+
- [Node.js](https://nodejs.org/) v20 (see `.nvmrc`)
|
|
52
|
+
- Python 3.12 (see `.python-version`)
|
|
56
53
|
|
|
57
54
|
### Using uv (Recommended)
|
|
58
55
|
|
|
@@ -84,7 +81,7 @@ more-compute new # Create new notebook
|
|
|
84
81
|
more-compute --debug # Show logs
|
|
85
82
|
```
|
|
86
83
|
|
|
87
|
-
Opens automatically at http://localhost:
|
|
84
|
+
Opens automatically at http://localhost:2718
|
|
88
85
|
|
|
89
86
|
### Converting Between Formats
|
|
90
87
|
|
|
@@ -121,15 +118,60 @@ will add things here as things progress...
|
|
|
121
118
|
|
|
122
119
|
## Development
|
|
123
120
|
|
|
121
|
+
### Option 1: Devcontainer
|
|
122
|
+
|
|
123
|
+
Works on **Mac**, **Windows**, and **Linux** with identical environments.
|
|
124
|
+
|
|
125
|
+
**Prerequisites:** [Docker Desktop](https://www.docker.com/products/docker-desktop/) and VS Code/Cursor with the [Dev Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers).
|
|
126
|
+
|
|
127
|
+
1. Clone the repo and open in VS Code/Cursor
|
|
128
|
+
2. Press `Cmd/Ctrl + Shift + P` → "Dev Containers: Reopen in Container"
|
|
129
|
+
3. Wait for the container to build (first time takes a few minutes)
|
|
130
|
+
4. Run `more-compute new` in the terminal
|
|
131
|
+
|
|
132
|
+
### Option 2: Docker (No IDE Required)
|
|
133
|
+
|
|
134
|
+
```bash
|
|
135
|
+
# Build the image
|
|
136
|
+
docker build -t morecompute .
|
|
137
|
+
|
|
138
|
+
# Run with your notebooks mounted
|
|
139
|
+
docker run -p 3141:3141 -p 2718:2718 -v $(pwd):/notebooks morecompute
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
### Option 3: Native Setup
|
|
143
|
+
|
|
144
|
+
**Prerequisites:**
|
|
145
|
+
- Python 3.12 (install via [pyenv](https://github.com/pyenv/pyenv): `pyenv install 3.12`)
|
|
146
|
+
- Node.js 20 (install via [nvm](https://github.com/nvm-sh/nvm): `nvm install 20`)
|
|
147
|
+
|
|
124
148
|
```bash
|
|
149
|
+
# Clone and enter directory
|
|
125
150
|
git clone https://github.com/DannyMang/MORECOMPUTE.git
|
|
126
151
|
cd MORECOMPUTE
|
|
127
|
-
|
|
152
|
+
|
|
153
|
+
# Use pinned versions
|
|
154
|
+
pyenv local 3.12 # or: pyenv install 3.12 && pyenv local 3.12
|
|
155
|
+
nvm use # reads .nvmrc automatically
|
|
156
|
+
|
|
157
|
+
# Create virtual environment and install
|
|
158
|
+
uv venv && source .venv/bin/activate # Windows: .venv\Scripts\activate
|
|
128
159
|
uv pip install -e .
|
|
129
|
-
|
|
160
|
+
|
|
161
|
+
# Install frontend dependencies
|
|
162
|
+
cd frontend && npm ci && cd .. # npm ci uses package-lock.json for exact versions
|
|
163
|
+
|
|
164
|
+
# Run
|
|
130
165
|
more-compute notebook.py
|
|
131
166
|
```
|
|
132
167
|
|
|
168
|
+
### Environment Variables
|
|
169
|
+
|
|
170
|
+
| Variable | Default | Description |
|
|
171
|
+
|----------|---------|-------------|
|
|
172
|
+
| `MORECOMPUTE_PORT` | 3141 | Backend API port |
|
|
173
|
+
| `MORECOMPUTE_FRONTEND_PORT` | 2718 | Frontend UI port |
|
|
174
|
+
|
|
133
175
|
## License
|
|
134
176
|
|
|
135
177
|
MIT - see [LICENSE](LICENSE)
|
|
@@ -13,8 +13,8 @@ https://github.com/user-attachments/assets/8c7ec716-dade-4de2-ad37-71d328129c97
|
|
|
13
13
|
## Installation
|
|
14
14
|
|
|
15
15
|
**Prerequisites:**
|
|
16
|
-
- [Node.js](https://nodejs.org/)
|
|
17
|
-
- Python
|
|
16
|
+
- [Node.js](https://nodejs.org/) v20 (see `.nvmrc`)
|
|
17
|
+
- Python 3.12 (see `.python-version`)
|
|
18
18
|
|
|
19
19
|
### Using uv (Recommended)
|
|
20
20
|
|
|
@@ -46,7 +46,7 @@ more-compute new # Create new notebook
|
|
|
46
46
|
more-compute --debug # Show logs
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
Opens automatically at http://localhost:
|
|
49
|
+
Opens automatically at http://localhost:2718
|
|
50
50
|
|
|
51
51
|
### Converting Between Formats
|
|
52
52
|
|
|
@@ -83,15 +83,60 @@ will add things here as things progress...
|
|
|
83
83
|
|
|
84
84
|
## Development
|
|
85
85
|
|
|
86
|
+
### Option 1: Devcontainer
|
|
87
|
+
|
|
88
|
+
Works on **Mac**, **Windows**, and **Linux** with identical environments.
|
|
89
|
+
|
|
90
|
+
**Prerequisites:** [Docker Desktop](https://www.docker.com/products/docker-desktop/) and VS Code/Cursor with the [Dev Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers).
|
|
91
|
+
|
|
92
|
+
1. Clone the repo and open in VS Code/Cursor
|
|
93
|
+
2. Press `Cmd/Ctrl + Shift + P` → "Dev Containers: Reopen in Container"
|
|
94
|
+
3. Wait for the container to build (first time takes a few minutes)
|
|
95
|
+
4. Run `more-compute new` in the terminal
|
|
96
|
+
|
|
97
|
+
### Option 2: Docker (No IDE Required)
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
# Build the image
|
|
101
|
+
docker build -t morecompute .
|
|
102
|
+
|
|
103
|
+
# Run with your notebooks mounted
|
|
104
|
+
docker run -p 3141:3141 -p 2718:2718 -v $(pwd):/notebooks morecompute
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### Option 3: Native Setup
|
|
108
|
+
|
|
109
|
+
**Prerequisites:**
|
|
110
|
+
- Python 3.12 (install via [pyenv](https://github.com/pyenv/pyenv): `pyenv install 3.12`)
|
|
111
|
+
- Node.js 20 (install via [nvm](https://github.com/nvm-sh/nvm): `nvm install 20`)
|
|
112
|
+
|
|
86
113
|
```bash
|
|
114
|
+
# Clone and enter directory
|
|
87
115
|
git clone https://github.com/DannyMang/MORECOMPUTE.git
|
|
88
116
|
cd MORECOMPUTE
|
|
89
|
-
|
|
117
|
+
|
|
118
|
+
# Use pinned versions
|
|
119
|
+
pyenv local 3.12 # or: pyenv install 3.12 && pyenv local 3.12
|
|
120
|
+
nvm use # reads .nvmrc automatically
|
|
121
|
+
|
|
122
|
+
# Create virtual environment and install
|
|
123
|
+
uv venv && source .venv/bin/activate # Windows: .venv\Scripts\activate
|
|
90
124
|
uv pip install -e .
|
|
91
|
-
|
|
125
|
+
|
|
126
|
+
# Install frontend dependencies
|
|
127
|
+
cd frontend && npm ci && cd .. # npm ci uses package-lock.json for exact versions
|
|
128
|
+
|
|
129
|
+
# Run
|
|
92
130
|
more-compute notebook.py
|
|
93
131
|
```
|
|
94
132
|
|
|
133
|
+
### Environment Variables
|
|
134
|
+
|
|
135
|
+
| Variable | Default | Description |
|
|
136
|
+
|----------|---------|-------------|
|
|
137
|
+
| `MORECOMPUTE_PORT` | 3141 | Backend API port |
|
|
138
|
+
| `MORECOMPUTE_FRONTEND_PORT` | 2718 | Frontend UI port |
|
|
139
|
+
|
|
95
140
|
## License
|
|
96
141
|
|
|
97
142
|
MIT - see [LICENSE](LICENSE)
|