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.

Source Distribution

curses-util-0.0.25.tar.gz (6.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: curses-util-0.0.25.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for curses-util-0.0.25.tar.gz
Algorithm Hash digest
SHA256 5a5b4832121f716b963ce310536f2c172245a0678e820e87eb7fb01d4b368322
MD5 0ac6c451f7c9b86cabc8d4250044116a
BLAKE2b-256 14f42f52d68fa5df136fd68d72d6e9976789171dc0bf8752ee703a60ff419cca

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