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 16+ 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.0.tar.gz (376.6 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.0-py3-none-any.whl (400.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: more_compute-0.2.0.tar.gz
  • Upload date:
  • Size: 376.6 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.0.tar.gz
Algorithm Hash digest
SHA256 49eb6a6c3dca2e17378b87424b268b3d6c4d78ed73c5d02032031e8078c2d369
MD5 7348c8024886de501e8b047bc74ab3bf
BLAKE2b-256 f841c29af43d9405c329b2a40636ddf43d2240622e716bdb0bb8d79b57f6215c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: more_compute-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 400.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 648773a89847c912f85a6f4c4bdc29efeafd30e791583271b3a2dbab2c828967
MD5 b83fc2b37f7338e4301e739dd7359c46
BLAKE2b-256 1f8c49b75443c0dc54813b194302761ca4038a1f360acb87ba7fb590d2b5631f

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