Skip to main content

An interactive notebook environment for local and GPU computing

Project description

more-compute

PyPI version Python 3.8+ License: MIT

Interactive notebook environment for local Python development. 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.2.4.tar.gz (382.4 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.2.4-py3-none-any.whl (406.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: more_compute-0.2.4.tar.gz
  • Upload date:
  • Size: 382.4 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.2.4.tar.gz
Algorithm Hash digest
SHA256 ffee0653d862e191723566ea43d0429fd6f5275f24b2d55d7846ede41dbfd973
MD5 b3300119035c8f41a6df3557a674dc35
BLAKE2b-256 6149923cef50fd8be91aa70f74dc7279829be87a343991558cf7189dda0811fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: more_compute-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 406.9 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.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5408c1144d07ac1e73875fa74ba657ac4c5f1e18b8af06ea57606a9c10de3a8c
MD5 38489a211aaf0870e2fa9df384b9a1d5
BLAKE2b-256 ddb9bbf991a18da1a3a655ed8205ee7f9dbd93316be1fd3d0eb6baa786ccec9c

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