Skip to main content

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>])

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

lightcli-1.1.tar.gz (3.5 kB view details)

Uploaded Source

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

Hashes for lightcli-1.1.tar.gz
Algorithm Hash digest
SHA256 db27b36ef301471513d38ecc51ec48b65845fcc0c73f5167f58cd1c4ad23ae7e
MD5 f3bd474d82ab450983c7237245750f35
BLAKE2b-256 21ad68ca05639237a3521e742b63e7d4af6146bfa316f68eb2d512880e638c4b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page