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.3.tar.gz (403.5 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.3-py3-none-any.whl (429.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: more_compute-0.4.3.tar.gz
  • Upload date:
  • Size: 403.5 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.3.tar.gz
Algorithm Hash digest
SHA256 a0704050efd8a3cc2343c801a703a4db3b0f49bca2afbd5402d92de650e08ce4
MD5 a1c0da1f1322d6b950da7e20f4b7f20a
BLAKE2b-256 bafcd7cc0edb9b1d0ca9ad76bee340ed1cf969bd1719d26993ec2c0fad49e2d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: more_compute-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 429.1 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8e76c72dff7e923f4771eb08e082378aa2238df020c83a2bcf223db7abd985fc
MD5 d4794f418c97aa6e92a4a43d480bc38e
BLAKE2b-256 1d7ccda3bc9977d6268d50d55f84eb9f6535c604d3d4885e799f0603dbd7bb15

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