Skip to main content

No project description provided

Project description

Goals

A collection of curses utils for performing simple UI tasks. Currently this includes a simple console and a menu with vi-like bindings.

Installation

Requires python 3.

pip3 install curses-util should do the trick, or else python setup.py install from source.

Usage

SimpleConsole

A dirt simple console based interface.

from curses_util import SimpleConsole

def oninput(console, msg):
    if msg == '/exit':
        console.exit()

    console.log("Received {0} as input".format(msg))

console = SimpleConsole(oninput)
console.log("Welcome from the main thread.")

Bugs, etc..

If you bother to read the code and invariably feel the need to abuse the person who wrote it, know that such sentiments will be happily received at r.vaiya@gmail.com.

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

curses-util-0.0.6.tar.gz (5.3 kB view details)

Uploaded Source

File details

Details for the file curses-util-0.0.6.tar.gz.

File metadata

  • Download URL: curses-util-0.0.6.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for curses-util-0.0.6.tar.gz
Algorithm Hash digest
SHA256 0440f9e99d77ee812340691d5ee50b9fcb13ce4b995045e91afdc23f13746a61
MD5 a57ee0e54d7f771eabc2c597141ac294
BLAKE2b-256 36d29715ed85369c7f4941693bb4635e30a3cc46061a521dcd789f29ded472f6

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