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.2.tar.gz (393.1 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.2-py3-none-any.whl (418.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: more_compute-0.3.2.tar.gz
  • Upload date:
  • Size: 393.1 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.2.tar.gz
Algorithm Hash digest
SHA256 c2401e287351f0dbb966d81484af3303722d2319bd559c4571901a42dbb22fa8
MD5 35993a7d6e12e572decf344d220c8baf
BLAKE2b-256 1a129aaaffd9fc8ce70e1a97ff2adbb2fd021f01eb2859a499bf1b4e4d590cb1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: more_compute-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 418.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0b730f728c7489c9a4b6ee2b808ae881fbebcd441e3ca376be90df78d4f124a6
MD5 40e31d878e6eb0edf26e6e83ea1fba79
BLAKE2b-256 043524c0874bdc3c120efe03a168007da3ee2ac18a355b41c86821f158a90a61

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