Skip to main content

A modular Python notebook environment with a browser-based IDE.

Project description

clawss

clawss logo

clawss is a modular Python notebook environment with a browser-based IDE.

It gives you a notebook-style workflow with a modular project structure.

With clawss:

  • every cell behaves like a real .py file
  • every cell runs in its own mutually exclusive namespace like normal Python files
  • cells can import from other cells like normal Python modules
  • you get a cell dependency graph, terminal, file previews, and package-style exports
  • AI is optional and can use your own OpenRouter API key or local Ollama setup
  • you can run on your own machine CPU/GPU or use your remote GPU runtime with your own provider API key

clawss is built for local, trusted use. It can run Python code and terminal commands.

Highlights

  • Cell dependency graph

    • see how cells depend on each other
    • detect cycles
    • understand run order before running the notebook
  • Model graph visualization

    • for PyTorch nn.Module models
    • inspect model structure inside the notebook UI
    • useful for debugging architecture shape and flow
  • Project-style notebooks

    • upload files, preview files, use folders, and work with notebooks as part of a real project structure
  • Cross-cell imports

    • cells can import names from other cells
    • each cell is treated like a modular Python file instead of a loose code block
    • each cell keeps its own execution namespace
  • AI on your own money

    • AI can use your own OpenRouter key or your local Ollama setup
    • there is no hidden shared backend proxy for OpenRouter model calls
    • you can compare multiple models side by side
  • Your own compute

    • local runtime works on your own CPU or GPU
    • remote runtime support exists for your own RunPod setup
    • remote GPU usage uses your own provider API key

Install

pip install clawss

Run

Start the app:

clawss module

Useful options:

clawss module --no-browser
clawss module --port 9000
clawss module --host 127.0.0.1

Other CLI commands:

clawss version
clawss info
clawss list
clawss clean

What those commands do:

  • clawss version prints the installed clawss version
  • clawss info shows install details, Python path, platform, and project storage information
  • clawss list lists created projects
  • clawss clean removes generated cache from created projects

What happens when you run clawss module:

  • a local server starts on 127.0.0.1:8765 by default
  • your browser opens automatically
  • the app is available at http://localhost:8765

Basic workflow

  1. Open clawss
  2. Create a project
  3. Create or upload a notebook
  4. Add cells and run them
  5. Use the Project tab to work with files, folders, uploads, and previews
  6. Use the dependency graph to understand cell relationships
  7. Use the visualizer for supported PyTorch model cells

AI usage

AI in clawss is optional.

  • you can bring your own OpenRouter API key or use your local Ollama setup
  • the app can talk to OpenRouter or Ollama depending on the provider you choose
  • you can select multiple models and compare their outputs
  • AI can help with writing, formatting, explanation, refactoring, and error assistance

Important:

  • AI usage costs are your own
  • clawss itself is completely free and does not charge anything

Runtime and GPU usage

clawss supports more than one runtime style:

  • Local runtime

    • runs on your own machine
    • if your Python environment has GPU-enabled libraries and your code uses them, that is your compute
  • CPU-only local runtime

    • supported when you want a CPU path explicitly
  • Remote runtime

    • supported for your own RunPod-backed runtime configuration

Important:

  • GPU costs are your own
  • remote runtime costs are your own
  • clawss does not provide hosted compute and does not charge anything itself

Why the dependency graph matters

The dependency graph is one of the core ideas in clawss.

It helps with:

  • understanding upstream and downstream cell relationships
  • avoiding hidden notebook state problems
  • detecting cycles
  • running cells in dependency-aware order
  • making notebooks easier to reason about as they grow

Why the visualizer matters

The visualizer is especially useful for model-heavy notebooks.

It helps with:

  • seeing model structure without printing giant object trees
  • understanding flow through layers
  • verifying model shape expectations
  • exploring architectures inside the same notebook workflow

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

clawss-0.1.0.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

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

clawss-0.1.0-py3-none-any.whl (2.0 MB view details)

Uploaded Python 3

File details

Details for the file clawss-0.1.0.tar.gz.

File metadata

  • Download URL: clawss-0.1.0.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for clawss-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dcef78c102546d500b860afb4d27c4abcfde67aa90ad7ca7d49023138f1221e8
MD5 3c31486a5222fe9cb2745bfc74452fba
BLAKE2b-256 1872acb76a83f383c7670127b88c64257bd9ba53d7d5c88ef400c4ff5c85d2ce

See more details on using hashes here.

File details

Details for the file clawss-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: clawss-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for clawss-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 af4b6ef67ce91605d6bc0c887d06c3a68ecf3dcdf8820c0a123a22a8dccfc145
MD5 2b78a4d38e115f4f408fe1ec58e04e7b
BLAKE2b-256 642353cdc60531985019c653f8c5ac3d4b2cb848ab4fcd8f5b52589f97c30942

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