Skip to main content

Lynx - Block Diagram Widget for Control Systems

Lightweight block diagram editor GUI for control systems in Jupyter notebooks

Lynx is a Jupyter widget that enables interactive creation and editing of block diagrams for linear SISO control systems. Designed for controls engineers working in Jupyter environments.

Features

  • Interactive Canvas: Drag-and-drop block diagram editing
  • Control Theory Blocks: Transfer Function, State Space, Gain, Sum Junction, I/O markers
  • Real-Time Validation: Algebraic loop detection, connection constraints
  • Git-Friendly Persistence: Human-readable JSON format
  • Python Integration: Use numpy expressions for parameters, export to python-control
  • SISO Systems: Focus on linear single-input, single-output control systems

For more details, see the documentation site

Quick Start

The easiest way to install from pip:

pip install lynx-nb

Source build

Backend installation

# Using UV (recommended)
uv pip install -e ".[dev]"

# Or using pip
pip install -e ".[dev]"

Frontend Setup

cd js
npm install
npm run build

Jupyter Kernel Setup

# Install Jupyter kernel for this project
uv run ipython kernel install --user --env VIRTUAL_ENV $(pwd)/.venv --name=lynx

Basic Usage

import lynx
import numpy as np

# Create a diagram
diagram = lynx.Diagram()

# Launch interactive editor (displays in Jupyter)
lynx.edit(diagram)

Metadata

Release files for lynx-nb 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lynx-nb 0.1.5
File Size Uploaded Provenance
lynx_nb-0.1.5.tar.gz 2.8 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for lynx-nb 0.1.5
File Interpreter ABI Platform
lynx_nb-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 4.8 MB

Release files / lynx_nb-0.1.5.tar.gz

Download URL lynx_nb-0.1.5.tar.gz
Size 2.8 MB
Tags Source
SHA-256 checksum
How to use checksums
31795e026e4c04525a72ff3f6d623ef9e9d67a60fe42b0479c386bfbbea761b3
BLAKE2b-256 checksum
How to use checksums
07bcb5567c877e955f665f44488722a7061f517234ced2047aa6e3e715d88045
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / lynx_nb-0.1.5-py3-none-any.whl

Download URL lynx_nb-0.1.5-py3-none-any.whl
Size 2.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
019db3da251f8c696a5916678ecaf75fb10c58c9c667e139da3de6a73009d2ef
BLAKE2b-256 checksum
How to use checksums
f5c5d3ebd7b587ce9876f030bf7dfef7b7a77ab2908601dd05b8078be345b803
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for lynx-nb 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page