Skip to main content

SCG Lab — Multi-language interactive notebook environment by Squid Consultancy Group

Project description

SCG Lab

SCG Lab

A modern, offline-first multi-language notebook IDE — Jupyter Lab feel, single pip install.
by Squid Consultancy Group · @analyticswithharry


What is it?

SCG Lab is a browser-based notebook environment that runs entirely on your machine. It bundles a React/Monaco frontend with a FastAPI + Jupyter-kernel backend into one installable Python package.

  • Languages: Python, JavaScript (Node), C, C++
  • Jupyter-style UI: tabbed File / Edit / View / Insert / Cell / Run / Kernel / Tabs / Settings / Demo / Help menus, command palette, dark/light theme
  • Mandatory line numbers in every code cell
  • Built-in demos for every supported language (one click to load)
  • Environment manager: create/activate per-project Python envs from the CLI

Install (works on any machine)

pip install scg-lab

Run

scg-lab                 # opens http://127.0.0.1:8765
scg-lab --port 9000

That's it — no Node, no extra build steps. The frontend ships pre-built inside the wheel.

Brief Usage

  1. pip install scg-lab then run scg-lab.
  2. Pick a language tile from the Launcher (or click Demo in the menu bar to load a ready-made notebook).
  3. Type code in a cell — line numbers are always on.
  4. Shift+Enter to run, Ctrl+Enter to run in place.
  5. Use the Run menu for Run All / Run Above / Run Below / Restart & Run All.

Environment Management

# List environments
scg-lab env list

# Create a Python environment
scg-lab env create myenv --lang python

# Install packages into an environment
scg-lab env install myenv numpy pandas matplotlib

# Activate an environment
scg-lab env activate myenv

Supported Languages

Language Requirements
Python Built-in (uses ipykernel)
JavaScript Node.js
C GCC
C++ G++

Developer Build

cd frontend
npm install
npm run build    # outputs to ../scg_lab/static/

pip install -e ".[dev]"
scg-lab

License

MIT © Squid Consultancy Group

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

scg_lab-5.5.7.tar.gz (169.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scg_lab-5.5.7-py3-none-any.whl (174.9 kB view details)

Uploaded Python 3

File details

Details for the file scg_lab-5.5.7.tar.gz.

File metadata

  • Download URL: scg_lab-5.5.7.tar.gz
  • Upload date:
  • Size: 169.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for scg_lab-5.5.7.tar.gz
Algorithm Hash digest
SHA256 8cc2d6b243521a2f1ee4beea953b00c24d4567952793c3f95c994b0378463554
MD5 bc59b409455d547be43fc0a2563746cd
BLAKE2b-256 5d7e34030102054a87f6f30a0ffce2b56e902ecfcc8e9fa3b0a0fa15445f9a9a

See more details on using hashes here.

File details

Details for the file scg_lab-5.5.7-py3-none-any.whl.

File metadata

  • Download URL: scg_lab-5.5.7-py3-none-any.whl
  • Upload date:
  • Size: 174.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for scg_lab-5.5.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6670fc2dd38155d7b76696fd9fdad5fbea463284a456ccd856ae1c871777cf33
MD5 edba3e9b50f34b9e5015f846769a8d55
BLAKE2b-256 762692a5196e8767ce58ebdb77d0d5ca940fb1b3edd133069ee8a358571ea616

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