Skip to main content

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)

Uploaded Source

Built Distribution

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

gummypy-1.0.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

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

Hashes for gummypy-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a76ceee3e844dc0bd7e71e49e27b53f1350c2ef6f27bb5827b987a478ee63cb7
MD5 d9db8c9bf079190502f6f543db7b440a
BLAKE2b-256 9eeeb9c76836e0e3ef82f70a911037ea4c74be2ebc00d08125a52d29f4321ee6

See more details on using hashes here.

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

Hashes for gummypy-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1c95ece82ecd6abbf7d12182b07f2bfee5d6d8bd891373d65d8cbd53404305a1
MD5 20817aa502fc6db90db93e115dbc6910
BLAKE2b-256 5bf75361680438480b163d8716d9b9ca3a80e804acd52c0d1a6f13c86394a2bc

See more details on using hashes here.

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