Skip to main content

An interactive notebook environment for local and GPU computing

Reason this release was yanked:

no error handling when user python version < 3.10

Project description

more-compute

PyPI version Python 3.8+ 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

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.0.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.0-py3-none-any.whl (427.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: more_compute-0.4.0.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.0.tar.gz
Algorithm Hash digest
SHA256 68dbc0c81a0d5ae52e4db55381f3cca6c78b290b8a8a3f9e3f3d6c7e8a6a0cf2
MD5 414f6ca1ef6c791a85edd20eb3565994
BLAKE2b-256 66b27cad88d5b9565fc1aa6fcefd9457501b75c3f61e680a7112e0e52f9076fc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: more_compute-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 427.2 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b01823ef80138d4be10f06a35610fb773c383d8f9de00ee891477687fe60fe99
MD5 9d6397e5f4d536975706477c0c6499e2
BLAKE2b-256 422484997858ef93891c7303c275e67e70cc5c5042f932b6588aa74119d2bc99

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