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 +-*/.

https://bytebucket.org/livibetter/c/raw/tip/c.png

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

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

Project details


Download files

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

Source Distributions

urcalc-0.2.0.zip (11.3 kB view details)

Uploaded Source

urcalc-0.2.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

urcalc-0.2.0-py33-none-any.whl (7.2 kB view details)

Uploaded Python 3.3

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

Hashes for urcalc-0.2.0.zip
Algorithm Hash digest
SHA256 baca92cab94ceafc459180428c47af9d2199a2f7b71d55aed2c85143b1269dc9
MD5 58346be7e91b04f896138b087f9d80f3
BLAKE2b-256 fed11a53a7b2eca16f3598adea27e32632cf2069b16ad30eaa963bb524b50cd2

See more details on using hashes here.

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

Hashes for urcalc-0.2.0.tar.gz
Algorithm Hash digest
SHA256 00af5f80325dd9fdad6bad49f18ff6abfdd562935f68117aaf06ab91441f5ecc
MD5 af0fe3489680db9cf11509e16e14d401
BLAKE2b-256 44a8c46fbeb9574ee5d1575b6b2ec7d48ff07f3c5afaa691a9af3c63e3cdaefc

See more details on using hashes here.

File details

Details for the file urcalc-0.2.0-py33-none-any.whl.

File metadata

File hashes

Hashes for urcalc-0.2.0-py33-none-any.whl
Algorithm Hash digest
SHA256 afefa3e61cec7339366e16b880d74cd968f9d04c43f412ef16b7204be8f75f95
MD5 f5f5bb1a62c1df328312b3aaaf452b69
BLAKE2b-256 d2080359185a1fe4de7b0ce9bfdbd9fa47add664ec435f30058cbab43bcdb8e1

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