Skip to main content

A DAS application for interactive visualizations.

Project description

DerZug

[!WARNING]

Experimental Software

DerZug is an early-stage proof of concept. Expect bugs, incomplete behavior, data-loss risks, and frequent breaking changes. The creators make no promises of further development or maintenance.

DerZug is powered by the Orange3, PyQtGraph, and DASDAE ecosystems.

It's goal is to allow users to interactively create, debug, and share reproducible DFOS workflows.

It can be launched as a standalone application, or used for interactive exploration (in code).

Installation

Install from PyPI with:

pip install derzug

[!TIP] DerZug can be installed on any of the listed Python versions, but Qt-related issues are still possible. The smoothest experience is generally on Python 3.13. It may help to first create a mamba/conda environment with Orange3 installed, then install DerZug into that.

Basic Usage

DerZug is a full-fledged application that can be launched from the command line like so:

derzug

Conversely, DerZug can be used interactively in code:

import dascore as dc

patch = dc.get_example_patch("example_event_2")

# Launches a waterfall window for viewing a patch 
patch.zug.waterfall()

Defining you own widgets

Simple, processing type widgets can be defined simply like so:

import dascore as dc

import derzug

class MyWidget(derzug.ZugWidget):
    """A custom widget which just wraps a task or callable."""
    
    name # comes from function/task name
    description # First line of docstring
    icon = "myicon.svg"
    category = "Processing"
    keywords = ("processing")
    priority = 21
    
    _task = dc.processing.pass_filter


# A more complex multiwidget. This will a single drop down 
# to select which sub process is used. Derzug should automatically
# handle creating a simple paramter input based on function inputs. 
class MultiWidget(derzug.ZugWidget):
    """A custom widget which just wraps a task or callable."""
    
    name = "smooth"  # needs to be manually set
    description = "smooth patch along dimension" # First line of docstring
    icon = "myicon.svg"
    category = "Processing"
    keywords = ("processing")
    priority = 21
    
    _task = {
        "pass_filter": dc.processing.pass_filter,
        "savgol_filter: dc.processing.savgol_filter,
    }

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

derzug-0.0.9.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

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

derzug-0.0.9-py3-none-any.whl (2.7 MB view details)

Uploaded Python 3

File details

Details for the file derzug-0.0.9.tar.gz.

File metadata

  • Download URL: derzug-0.0.9.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for derzug-0.0.9.tar.gz
Algorithm Hash digest
SHA256 776fa46ea8f321409d95a4af67b256bd65612a5afe10b3eef07f3b9534e8c6c9
MD5 d0da978b55700d4751203e7606eb5e76
BLAKE2b-256 4e591a3b44dedc1186143b3cbca5971d033b79c216840caf79b0c15ee46ee975

See more details on using hashes here.

Provenance

The following attestation bundles were made for derzug-0.0.9.tar.gz:

Publisher: release.yml on DASDAE/derzug

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

File details

Details for the file derzug-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: derzug-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for derzug-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 da5db755d6e4a8b4b39888c022f5554ce599e52d7bc029f91da080335cb37232
MD5 f4e43cf326d8ab719f1c21a0ad23021b
BLAKE2b-256 bda19272c77765bf7e7ce3e2fb498c30cf2233191f53b2c388d4d91a214f69b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for derzug-0.0.9-py3-none-any.whl:

Publisher: release.yml on DASDAE/derzug

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