Skip to main content

Command line reverse polish notation (RPN) calculator.

Project description

pyclacker

Command line reverse polish notation (RPN) calculator. Stack based and ready to party.

Josh Tompkin

jtompkin-dev@pm.me

https://github.com/jtompkin/pyclacker

Installation

Install with pip

pip3 install pyclacker

Usage

pyclacker [-h] [-v] [program]

Program should be provided as a string with commands separated by a space. Running without providing a program will enter interactive mode. In interactive mode, type a number and press enter to push to the stack. Enter an operator and press enter to perform the operation on the stack. Enter multiple commands separated by a space and press enter to execute them in order. Enter help to view available operators.

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

pyclacker-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

pyclacker-0.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file pyclacker-0.1.0.tar.gz.

File metadata

  • Download URL: pyclacker-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for pyclacker-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a54e9f9d89006614c090d800894f15d3ce0b0a4b811d2e8afbed5339c6115216
MD5 e4a800c831a94a5d4976b406a157d655
BLAKE2b-256 23b372a53c66d555ca691314e6115c71c0ae458ecf65acf5cbfeed9e5e51d644

See more details on using hashes here.

File details

Details for the file pyclacker-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyclacker-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for pyclacker-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a3fab4ed931be6b8fef0f626a820005b315b80dadc3ad0677a8c9a01aa47567
MD5 23c417552af4f6ffd4b301c155731613
BLAKE2b-256 906ba9f3fbc454b2745eb7d906bea58f31ba9963dba1b2dc1715026dc11a5382

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