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 simple console with a single line input window.

import curses_util

def handle_input(console, input):
    console.log("Got input: " + input) #Logs result to the output window.

console = curses_used.SimpleConsole(handle_input)
console.log("Welcome")

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
curses-util-0.0.12.tar.gz (6.0 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page