Skip to main content

An interactive notebook environment for local and GPU computing

Project description

more-compute

PyPI version Python 3.8+ License: MIT

An interactive notebook environment, similar to Marimo and Google Colab, that runs locally. It works with standard .ipynb files, similar to Jupyter Lab but more awesome.

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.ipynb  # Open existing notebook
more-compute                 # Create and open new notebook
more-compute --debug         # Show logs

Opens automatically at http://localhost:8000

Troubleshooting

Command not found:

uv tool update-shell  # Fixes PATH automatically

Manual PATH fix (macOS/Linux):

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

Manual PATH fix (Windows):

$pythonScripts = python -c "import site; print(site.USER_BASE)"
$userPath = [Environment]::GetEnvironmentVariable("Path", "User")
[Environment]::SetEnvironmentVariable("Path", "$userPath;$pythonScripts\Scripts", "User")
# Restart PowerShell

Port in use:

export MORECOMPUTE_PORT=8080  # macOS/Linux
$env:MORECOMPUTE_PORT = "8080"  # Windows

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 ..
python kernel_run.py notebook.ipynb

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.3.1.tar.gz (392.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.3.1-py3-none-any.whl (418.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: more_compute-0.3.1.tar.gz
  • Upload date:
  • Size: 392.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.3.1.tar.gz
Algorithm Hash digest
SHA256 5a8e4ac8d86a236d7f1ce8b59f07c71a232123105827b1839d277ea3625ce381
MD5 b749c85ca20d51205249d9dba9084812
BLAKE2b-256 24c42d3c6746e5ff048982973aae191f29dc64c6b1898ef4e46a506df461d614

See more details on using hashes here.

File details

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

File metadata

  • Download URL: more_compute-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 418.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.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 65678d29f19e8d7462d3f9fc5a89c0644ff536e42739f609babaef143ff4047d
MD5 330c83d1532c0f6bc28e2059d5570a81
BLAKE2b-256 fd3029ac06d17862632acecdc31ba36655bd56954b24a9b1d7c97f531f05a0bf

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