Skip to main content

Interactive pipeline widgets for Google Colab and Jupyter.

Project description

Pydgey

Support PyPI

poorly drawn pydgey logo

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydgey-0.1.0.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

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

pydgey-0.1.0-py3-none-any.whl (237.1 kB view details)

Uploaded Python 3

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

Hashes for pydgey-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c2bc782df3f200e121d17c94987d4a76bfa68409d165ebbb2c4d002bf51e4cff
MD5 8ef473b2d7ce01d41a679888fcd23f12
BLAKE2b-256 f01757f046b16ad8260585ffe71c0f20cbd243bcf482c62ee992a3cc9400ca75

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydgey-0.1.0.tar.gz:

Publisher: publish.yml on leightonpayne/pydgey

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for pydgey-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 619752fbe1699d6d44ad59459dff73681393455231cc39f2f78f15f81ba2a12c
MD5 d4a8560ac65380edcb33285f4681cf38
BLAKE2b-256 dd0f6607936087d283ec231f1058420b6d3afb93b558ef02f24a83c1d4b3e83a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydgey-0.1.0-py3-none-any.whl:

Publisher: publish.yml on leightonpayne/pydgey

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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