A lightweight terminal interaction library for Python
Project description
Lightcli is a Python 3 library module for lightweight terminal interaction.
Synopsis
import lightcli
choice = lightcli.choice_input([options=<options>], [prompt=<prompt>], [showopts={True|False}], [qopt={True|False}])
multiline = lightcli.long_input([prompt=<prompt>], [maxlines=<maxlines>], [maxlength=<maxlength>])
mylist = lightcli.list_input([prompt=<prompt>], [maxitems=<maxitems>], [maxlength=<maxlength>])
outputfile = lightcli.outfile_input([extension=<extension>])
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lightcli-1.1.tar.gz
(3.5 kB
view details)
File details
Details for the file lightcli-1.1.tar.gz.
File metadata
- Download URL: lightcli-1.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db27b36ef301471513d38ecc51ec48b65845fcc0c73f5167f58cd1c4ad23ae7e
|
|
| MD5 |
f3bd474d82ab450983c7237245750f35
|
|
| BLAKE2b-256 |
21ad68ca05639237a3521e742b63e7d4af6146bfa316f68eb2d512880e638c4b
|