An interactive notebook environment for local and GPU computing
Project description
more-compute
An interactive Python notebook environment, similar to Marimo and Google Colab, that runs locally.
https://github.com/user-attachments/assets/8c7ec716-dade-4de2-ad37-71d328129c97
Installation
Prerequisites:
- Node.js >= 20.10.0 required for web interface
- Python >= 3.10 (uv installs this automatically, pip users need to install manually)
Using uv (Recommended)
# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
uv tool install more-compute
# Windows
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
uv tool install more-compute
Using pip
pip install more-compute
# Add to PATH if needed:
# macOS/Linux: echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
# Windows: See troubleshooting below
Usage
more-compute notebook.py # Open existing notebook
more-compute new # Create new notebook
more-compute --debug # Show logs
Opens automatically at http://localhost:3141
Converting Between Formats
MoreCompute uses .py notebooks with # %% cell markers, but you can convert to/from .ipynb:
From .ipynb to .py:
# Auto-detect output name (notebook.ipynb -> notebook.py)
more-compute convert notebook.ipynb
# Or specify output
more-compute convert notebook.ipynb -o my_notebook.py
# Then open in MoreCompute
more-compute my_notebook.py
The converter automatically extracts dependencies from !pip install commands and adds UV inline script metadata.
From .py to .ipynb:
# Auto-detect output name (notebook.py -> notebook.ipynb)
more-compute convert notebook.py
# Or specify output
more-compute convert notebook.py -o colab_notebook.ipynb
This makes your notebooks compatible with Google Colab, Jupyter, and other tools that require .ipynb format.
Troubleshooting
will add things here as things progress...
Development
git clone https://github.com/DannyMang/MORECOMPUTE.git
cd MORECOMPUTE
uv venv && source .venv/bin/activate
uv pip install -e .
cd frontend && npm install && cd ..
more-compute notebook.py
License
MIT - see LICENSE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file more_compute-0.4.4.tar.gz.
File metadata
- Download URL: more_compute-0.4.4.tar.gz
- Upload date:
- Size: 403.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3120839b2e4e201f981b1c456f517ca540160e98037ea9cac7cba31256fd991
|
|
| MD5 |
4be6194c4ae28bedd0de45f554642620
|
|
| BLAKE2b-256 |
e035ba7598cfa940f480ff7dcce10f59a5aa03efd8d75211ad0c90811262547d
|
File details
Details for the file more_compute-0.4.4-py3-none-any.whl.
File metadata
- Download URL: more_compute-0.4.4-py3-none-any.whl
- Upload date:
- Size: 429.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90cc3c986fe9adb531b97917536a8131928a14eec96a2bbeb036ff576de17dde
|
|
| MD5 |
c7acff2c72f5fb8d087bf0f5d2a95920
|
|
| BLAKE2b-256 |
644b7318ca126df2c386516fcaefe8713b87e968ec675e9b293b4d51ea4b9e0b
|