Interactive pipeline widgets for Google Colab and Jupyter.
Project description
Pydgey
Overview
Pydgey is a Python framework for building simple graphical user interfaces for pipelines that run interactively in Jupyter Notebooks (e.g., Google Colab, VSCode, JupyterLab).
Built on top of anywidget, React, and shadcn/ui, Pydgey aims to abstract away some of the complexities of widget building. It allows for pipelines to be defined using standard Python classes, and handles the generation of a clean, React-based UI.
Purpose
I needed a simple framework to quickly wrap tools and basic pipelines into user-friendly interfaces that run easily on Google Colab. The goal being to save Bachelors and Masters students in our lab the hassle of installing and managing command-line tools, letting them focus on the limited time they have to actually do science.
As the intended use is to run Pydgey widgets within the constraints of free Google Colab environments, the goal is not to support massive scale, high-concurrency execution, or complex dependency graphs like Snakemake or Nextflow. Pydgey prioritizes accessibility and ease-of-use for smaller, ad-hoc analyses over the computational efficiency required for large-scale workflows.
Getting Started
Pydgey can be installed from PyPI:
$ pip install pydgey
💡 Example
Create a launcher for an HMMER search pipeline. This will render an interactive widget in the notebook where users can upload files and configure E-values without writing code.
from examples.hmmsearch.hmmsearch import HmmSearchPipeline
from pydgey import create_launcher
# Define your pipeline (or import a pre-made one)
pipeline = HmmSearchPipeline()
# Launch the interactive widget
launcher = create_launcher(pipeline)
launcher
This simple snippet produces a full-featured UI with file selectors, parameter inputs, and log streaming.
🏗️ Contributing
Contributions are welcome. See CONTRIBUTING.md for more details.
⚖️ License
This library is provided under the MIT License. See LICENSE for more information.
Project details
Release history Release notifications | RSS feed
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 pydgey-0.1.0.tar.gz.
File metadata
- Download URL: pydgey-0.1.0.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2bc782df3f200e121d17c94987d4a76bfa68409d165ebbb2c4d002bf51e4cff
|
|
| MD5 |
8ef473b2d7ce01d41a679888fcd23f12
|
|
| BLAKE2b-256 |
f01757f046b16ad8260585ffe71c0f20cbd243bcf482c62ee992a3cc9400ca75
|
Provenance
The following attestation bundles were made for pydgey-0.1.0.tar.gz:
Publisher:
publish.yml on leightonpayne/pydgey
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pydgey-0.1.0.tar.gz -
Subject digest:
c2bc782df3f200e121d17c94987d4a76bfa68409d165ebbb2c4d002bf51e4cff - Sigstore transparency entry: 895366284
- Sigstore integration time:
-
Permalink:
leightonpayne/pydgey@f1c1775bfe83fcbe9e9c1386f9ed9f8d01eccd81 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/leightonpayne
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f1c1775bfe83fcbe9e9c1386f9ed9f8d01eccd81 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pydgey-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pydgey-0.1.0-py3-none-any.whl
- Upload date:
- Size: 237.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
619752fbe1699d6d44ad59459dff73681393455231cc39f2f78f15f81ba2a12c
|
|
| MD5 |
d4a8560ac65380edcb33285f4681cf38
|
|
| BLAKE2b-256 |
dd0f6607936087d283ec231f1058420b6d3afb93b558ef02f24a83c1d4b3e83a
|
Provenance
The following attestation bundles were made for pydgey-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on leightonpayne/pydgey
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pydgey-0.1.0-py3-none-any.whl -
Subject digest:
619752fbe1699d6d44ad59459dff73681393455231cc39f2f78f15f81ba2a12c - Sigstore transparency entry: 895366330
- Sigstore integration time:
-
Permalink:
leightonpayne/pydgey@f1c1775bfe83fcbe9e9c1386f9ed9f8d01eccd81 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/leightonpayne
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f1c1775bfe83fcbe9e9c1386f9ed9f8d01eccd81 -
Trigger Event:
release
-
Statement type: