Skip to main content

gumsh-py is a Python interface of charm.sh's shell tool called gum

Project description

gumpy

gumsh-py is a Python interface of charm.sh's shell tool called gum. Gum is used to create aesthetically pleasing shell scripts.

Installation

Install gum for your environment using the instructions. Then install my python package like so:

$ git clone https://github.com/alexjhewitt/gumsh-py.git
$ cd gumsh-py
$ python3 setup.py install

Usage

import gumpy

Note

Not all command flag options in the gum library are given for each command. And not all commands are included. If this package picks up steam, I will consider adding support. E.g. gum choose for example allows for a limit which I have included functionality for, but there are other options such as CursorPrefix that are not included for simplicity's sake.

To view flags that the Python package uses, go to the gum repository, choose the command you are using choose for example, and open the options.go file to view flag options.

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

gumsh_py-1.0.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

gumsh_py-1.0.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file gumsh_py-1.0.0.tar.gz.

File metadata

  • Download URL: gumsh_py-1.0.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.11

File hashes

Hashes for gumsh_py-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f0e9fbaa0e2489f9a1fe6408e3735dd3668692d7a1c5bf25bb35180d05ee33c9
MD5 af530b6243377f2c01234d91e0684484
BLAKE2b-256 3f30071695cd056a41dbeddd478daec8b03b27a38f62f1ad9c91d6a10d67c478

See more details on using hashes here.

File details

Details for the file gumsh_py-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: gumsh_py-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.11

File hashes

Hashes for gumsh_py-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 62b4c38451ab85050dd141d597d78bd5d6318bebfcb8295e01ec71b810897d9b
MD5 4944e8baceee62dfb54f90fb97da4f13
BLAKE2b-256 857b919871f780b80e95cdb4e104a7d9d85a0d379c6f612c79bfa4c75020bb8a

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