A simple library that contains wrapper functions for gum CLI tool
Project description
Gummypy
A small library that contains wrapper functions around the gum CLI tool.
Usage
Below is an example on how to use the choose function. All wrappers of each subcommand in gum are in a class called GumWrappers
# `GumWrappers` is a class that only has static methods (classmethods) of each subcommands of `gum`
from gummypy import GumWrappers
# entrypoint
def main():
# Runs `gun choose --limit=2 "foo" "bar" "baz"` in the terminal
GumWrappers.choose(["foo", "bar", "baz"], limit=2)
if __name__ == "__main__":
main()
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
gummypy-1.0.1.tar.gz
(6.5 kB
view details)
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 gummypy-1.0.1.tar.gz.
File metadata
- Download URL: gummypy-1.0.1.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a76ceee3e844dc0bd7e71e49e27b53f1350c2ef6f27bb5827b987a478ee63cb7
|
|
| MD5 |
d9db8c9bf079190502f6f543db7b440a
|
|
| BLAKE2b-256 |
9eeeb9c76836e0e3ef82f70a911037ea4c74be2ebc00d08125a52d29f4321ee6
|
File details
Details for the file gummypy-1.0.1-py3-none-any.whl.
File metadata
- Download URL: gummypy-1.0.1-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c95ece82ecd6abbf7d12182b07f2bfee5d6d8bd891373d65d8cbd53404305a1
|
|
| MD5 |
20817aa502fc6db90db93e115dbc6910
|
|
| BLAKE2b-256 |
5bf75361680438480b163d8716d9b9ca3a80e804acd52c0d1a6f13c86394a2bc
|