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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
776fa46ea8f321409d95a4af67b256bd65612a5afe10b3eef07f3b9534e8c6c9
|
|
| MD5 |
d0da978b55700d4751203e7606eb5e76
|
|
| BLAKE2b-256 |
4e591a3b44dedc1186143b3cbca5971d033b79c216840caf79b0c15ee46ee975
|
Provenance
The following attestation bundles were made for derzug-0.0.9.tar.gz:
Publisher:
release.yml on DASDAE/derzug
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
derzug-0.0.9.tar.gz -
Subject digest:
776fa46ea8f321409d95a4af67b256bd65612a5afe10b3eef07f3b9534e8c6c9 - Sigstore transparency entry: 1216140886
- Sigstore integration time:
-
Permalink:
DASDAE/derzug@6e9ab9cb2ee804f5c42c50a785145e2c3c752c17 -
Branch / Tag:
refs/tags/v0.0.9 - Owner: https://github.com/DASDAE
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@6e9ab9cb2ee804f5c42c50a785145e2c3c752c17 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da5db755d6e4a8b4b39888c022f5554ce599e52d7bc029f91da080335cb37232
|
|
| MD5 |
f4e43cf326d8ab719f1c21a0ad23021b
|
|
| BLAKE2b-256 |
bda19272c77765bf7e7ce3e2fb498c30cf2233191f53b2c388d4d91a214f69b5
|
Provenance
The following attestation bundles were made for derzug-0.0.9-py3-none-any.whl:
Publisher:
release.yml on DASDAE/derzug
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
derzug-0.0.9-py3-none-any.whl -
Subject digest:
da5db755d6e4a8b4b39888c022f5554ce599e52d7bc029f91da080335cb37232 - Sigstore transparency entry: 1216140946
- Sigstore integration time:
-
Permalink:
DASDAE/derzug@6e9ab9cb2ee804f5c42c50a785145e2c3c752c17 -
Branch / Tag:
refs/tags/v0.0.9 - Owner: https://github.com/DASDAE
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@6e9ab9cb2ee804f5c42c50a785145e2c3c752c17 -
Trigger Event:
release
-
Statement type: