Skip to main content

Simple calculator in terminal using Urwid

Project description

c is a simple calculator in terminal using Urwid, created solely for big buttons to click with mouse button, not meant to be having complex arithmetic operations, just basic +-*/.

This project’s name is “c,” however, in order to register on PyPI, it uses “urcalc” as the PyPI package name. c is also the command to invoke the calculator.


You can install via pip:

$ pip install c
$ c



Beside LMB (Left Mouse Button) to press button on screen, there are also keyboard controls as listed below:

key action
Enter or Space press focused button
arrow keys navigate through buttons
0 to 9 enter the digit
Backspace remove lowest digit
N change sign
. begin fractional part
= get answer
C, Escape clear
Q quit

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for urcalc, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size urcalc-0.2.0-py33-none-any.whl (7.2 kB) File type Wheel Python version 3.3 Upload date Hashes View
Filename, size urcalc-0.2.0.tar.gz (6.8 kB) File type Source Python version None Upload date Hashes View
Filename, size (11.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page