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.
Installation
You can install via pip:
$ pip install c
$ c
Dependencies
Python 3
Controls
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 |
Links
Copyright
This project is licensed under the MIT License, see COPYING.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file urcalc-0.2.0.zip
.
File metadata
- Download URL: urcalc-0.2.0.zip
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | baca92cab94ceafc459180428c47af9d2199a2f7b71d55aed2c85143b1269dc9 |
|
MD5 | 58346be7e91b04f896138b087f9d80f3 |
|
BLAKE2b-256 | fed11a53a7b2eca16f3598adea27e32632cf2069b16ad30eaa963bb524b50cd2 |
File details
Details for the file urcalc-0.2.0.tar.gz
.
File metadata
- Download URL: urcalc-0.2.0.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00af5f80325dd9fdad6bad49f18ff6abfdd562935f68117aaf06ab91441f5ecc |
|
MD5 | af0fe3489680db9cf11509e16e14d401 |
|
BLAKE2b-256 | 44a8c46fbeb9574ee5d1575b6b2ec7d48ff07f3c5afaa691a9af3c63e3cdaefc |
File details
Details for the file urcalc-0.2.0-py33-none-any.whl
.
File metadata
- Download URL: urcalc-0.2.0-py33-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3.3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afefa3e61cec7339366e16b880d74cd968f9d04c43f412ef16b7204be8f75f95 |
|
MD5 | f5f5bb1a62c1df328312b3aaaf452b69 |
|
BLAKE2b-256 | d2080359185a1fe4de7b0ce9bfdbd9fa47add664ec435f30058cbab43bcdb8e1 |