Skip to main content

An interactive notebook environment for local and GPU computing

Project description

more-compute

PyPI version Python 3.10+ License: MIT

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

more_compute-0.4.1.tar.gz (401.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

more_compute-0.4.1-py3-none-any.whl (427.3 kB view details)

Uploaded Python 3

File details

Details for the file more_compute-0.4.1.tar.gz.

File metadata

  • Download URL: more_compute-0.4.1.tar.gz
  • Upload date:
  • Size: 401.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for more_compute-0.4.1.tar.gz
Algorithm Hash digest
SHA256 1e85fcf2706a185463301f6cfa479e8aba359ee27dffb1d8f000e9069888ec43
MD5 7e028f8e747cbbaa5764919ca69d1b5e
BLAKE2b-256 7f393309bd93c26799c4f1b1fb2f9c882707e96fb8c0a22c62382a8def3461aa

See more details on using hashes here.

File details

Details for the file more_compute-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: more_compute-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 427.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for more_compute-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a65c9c86219c53232f991c4da37f9f2c499ffa6dc73e77d24ca28b9b8802362b
MD5 01214e8c8000bd25af454bd2484dd55a
BLAKE2b-256 8bc7962b8ee6124ca50737f1b7472f7b24b067f7355a5e899c7950c2ca72ad2e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page