GUIGAGA 
Installation
pip install guigaga
Usage
Simply decorate your script with the @gui() decorator to add a Graphical User Interface to your click CLI.
import click
from guigaga import gui
@gui()
@click.command()
@click.argument("sequence", type=str)
def reverse_complement(sequence):
"""This script computes the reverse complement of a DNA sequence."""
complement = {"A": "T", "T": "A", "C": "G", "G": "C", "N": "N"}
sequence = sequence.upper()
result = "".join(complement[base] for base in reversed(sequence))
click.echo(result)
if __name__ == "__main__":
reverse_complement()
Run the script with the gui argument to open the gradio powered GUI:
$ python app.py gui
And it still works as a command line script:
$ python app.py reverse_complement ATGC
GCAT
Check out the live demo here.
License
guigaga is distributed under the terms of the MIT license and was heavily inspired by trogon.
All We Need Is GUI Ga Ga!
Metadata
Release files for guigaga 0.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| guigaga-0.0.10.tar.gz | 598.8 kB | Without provenance | Details for guigaga-0.0.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| guigaga-0.0.10-py3-none-any.whl | Python 3 | none | any | Details for guigaga-0.0.10-py3-none-any.whl |
Total release size: 613.6 kB
Release files / guigaga-0.0.10.tar.gz
| Download URL | guigaga-0.0.10.tar.gz |
|---|---|
| Size | 598.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a60012fbdb652f0540a3166b617e595dc2e1b20add2cbc652fd5e56b24ed351f
|
|
BLAKE2b-256 checksum How to use checksums |
fecfeb5ca3014ae26fdb7d376d2da6f6e59cb1f711766da6f945bd6a0c7eda75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.27.2
|
Release files / guigaga-0.0.10-py3-none-any.whl
| Download URL | guigaga-0.0.10-py3-none-any.whl |
|---|---|
| Size | 14.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
28b3aee137ba87207ad14505dc379cb4dcb6d34e62ca23ec12e11e434e0a9348
|
|
BLAKE2b-256 checksum How to use checksums |
21dbf0bf4825caee90c75770a489f86cfd02f7a7cf95a3aae2100f62fc315202
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.27.2
|
Security for guigaga 0.0.10
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.