Skip to main content

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

Project description

SCG Lab

An offline-capable, multi-language interactive notebook environment by Squid Consultancy Group.

Supports Python, R, JavaScript, Go, C, and C++.
Built-in AI assistant (Ollama, OpenAI, Anthropic, HuggingFace).
Runs entirely on your machine — no cloud required.


Installation

pip install scg-lab

With AI provider support:

pip install "scg-lab[ai]"

Quick Start

scg-lab          # launches browser at http://localhost:8765
scg-lab --port 9000

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

AI Configuration

# Use local Ollama (default, no API key needed)
scg-lab config set ai.provider ollama
scg-lab config set ai.model llama3

# Use OpenAI
scg-lab config set ai.provider openai
scg-lab config set ai.openai_key sk-...

# Use Anthropic
scg-lab config set ai.provider anthropic
scg-lab config set ai.anthropic_key sk-ant-...

# Use HuggingFace
scg-lab config set ai.provider huggingface
scg-lab config set ai.hf_token hf_...

# Show config (keys masked)
scg-lab config show

Supported Languages

Language Requirements
Python Built-in (uses ipykernel)
R R + IRkernel (install.packages("IRkernel"); IRkernel::installspec())
JavaScript Node.js
Go Go toolchain
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-1.1.1.tar.gz (171.2 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-1.1.1-py3-none-any.whl (181.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for scg_lab-1.1.1.tar.gz
Algorithm Hash digest
SHA256 b2f759615c7e29565b17158f1c56b8d051ee90f1169f8f1e66970a283102165a
MD5 87d4444c17b5045ea079f28f921d9a11
BLAKE2b-256 b551819fc27db7b3095f6a9861295dd74d09698c75c48fe47473e960a5458e15

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scg_lab-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 181.6 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-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a00fec71dc478e8ae21af43573f7dfb0175908d329cd3c9ca79961b2450f8a7d
MD5 6b04531fda04c38fb958bc1805e088ad
BLAKE2b-256 f23dfa45f6c2e22c65602566889a8fcb81343ab6cdbd39e78092f2166240d661

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