Skip to main content

rpnChilada is a command-line Reverse-Polish Notation calculator that was first written in C in 1988 as a four-function calculator.

It was rewritten in Python 3 in 2012 and now uses the mpmath library. It was a Python learning exercise for me, and a fun little toy, but when I found mpmath, it became really cool and powerful, so props to Fredrik Johansson, who did most of the heavy lifting (http://mpmath.org).

rpnChilada gives you the whole enchilada when it comes to playing with numbers. You get math functions, algebra functions, combinatoric functions, number theory functions, astronomy functions, physics functions, unit conversions (comparable to GNU Units) and much, much more. There are over 1000 unique operators. rpnChilada supports lists, but not matrices.

rpnChilada comes with integrated help, which isn’t complete, but has at least a basic description of every operator, and over 2400 built-in examples. Help now includes descriptions for constants and units as well, although a lot of these still need to be filled in.

rpnChilada also comes with an extensive test suite, which is being constantly improved. Many of the functions are validated against the OEIS.

Version 8 represents a major overhaul of the unit conversion code. Unit conversion is now significantly smarter than it used to be, and intermediate conversions are no longer necessary.

There are still bugs, and since it’s a one-person side project, progress is slow, but bug reports and feature requests are welcome at rickg@his.com.

Note, Windows users will want the Windows-specific wheels for pyephem and gmpy2:

https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyephem

https://www.lfd.uci.edu/~gohlke/pythonlibs/#gmpy

Linux users will need the development versions of the GMP, MPC and MFPR libraries.

rpnChilada can be launched with ‘rpnChilada’ or ‘rpn’ in the Python Scripts/ directory.

For a quick primer on rpnChilada’s use, try “rpn help examples”. Please note that the OEIS integration and geographic location functions require Internet access.

Metadata

Release files for rpnChilada 8.5.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rpnChilada 8.5.6
File Size Uploaded
rpnChilada-8.5.6.tar.gz 1.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for rpnChilada 8.5.6
File Interpreter ABI Platform
rpnChilada-8.5.6-py3-none-any.whl Python 3 none any Details

Total release size: 3.2 MB

Release files / rpnChilada-8.5.6.tar.gz

Download URL rpnChilada-8.5.6.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
6a95abb50aa76b076d8fadbff40f666194780d975402208a97bfc00b7b4732d5
BLAKE2b-256 checksum
How to use checksums
2fe87125fcdef124ad5acc52f0ed6a7536b371e2a8388083b331cc64925bf5d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Release files / rpnChilada-8.5.6-py3-none-any.whl

Download URL rpnChilada-8.5.6-py3-none-any.whl
Size 1.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4db36cad20380fad6e0d6ca30ac9e12c7938cdc0908c5ab0384fb9287680a0c6
BLAKE2b-256 checksum
How to use checksums
a1c5171cca58a7c745ee325eda25f035af73d804a1293f4760cdb22c0eb105ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page