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.5.tar.gz (168.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.5-py3-none-any.whl (173.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scg_lab-5.5.5.tar.gz
  • Upload date:
  • Size: 168.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.5.tar.gz
Algorithm Hash digest
SHA256 ea05416a27a5b6e8a02ac9c4d8c826d34c32a8a05fb8fa17a67f0a1c741ee075
MD5 67501891292521e06bdb7a39bc6b7909
BLAKE2b-256 17979116e771575c6192a7aeb1ae21bba8598f42ae28c1c31cb10db6f09336af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scg_lab-5.5.5-py3-none-any.whl
  • Upload date:
  • Size: 173.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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0f7fc9371c56740e1317f2ee1109d055b60f580f83da403a771f1b524bde635a
MD5 b31bc625e4f175e44b67062dedb77ba4
BLAKE2b-256 5d71c49d00fb5718fc72a3717767703cebaa62f2e9017f2fa54c0b0b0601f488

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