SCG Lab — Multi-language interactive notebook environment by Squid Consultancy Group
Project description
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
pip install scg-labthen runscg-lab.- Pick a language tile from the Launcher (or click Demo in the menu bar to load a ready-made notebook).
- Type code in a cell — line numbers are always on.
- Shift+Enter to run, Ctrl+Enter to run in place.
- 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scg_lab-5.5.6.tar.gz.
File metadata
- Download URL: scg_lab-5.5.6.tar.gz
- Upload date:
- Size: 169.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2c983b56da3515bb8147e7351c4dd164f44afe04849f7b7f4dd2e49531a2046
|
|
| MD5 |
acc245c0f68fd4e4ad587826f8a4c7fe
|
|
| BLAKE2b-256 |
ec069b5cc43a4d2fb2737c0ba34399dede972a2973b0ee8f192c8637dc567032
|
File details
Details for the file scg_lab-5.5.6-py3-none-any.whl.
File metadata
- Download URL: scg_lab-5.5.6-py3-none-any.whl
- Upload date:
- Size: 174.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90bd811293350a362c0b8d97fd17dd59d90bded00ac101dfdec340da9735b393
|
|
| MD5 |
70634a755b067146551a1a6057c96212
|
|
| BLAKE2b-256 |
1005559938f6b205d3eefd411bbe94a5c5fca4143f2e51f0518aa2a5f9e6b9ba
|