byADIT Free software for engineers and students
EngiFree
handcalcs — The Complete Guide: Readable Hand-Calc Style Sheets From Python and Jupyter

handcalcs — The Complete Guide: Readable Hand-Calc Style Sheets From Python and Jupyter

handcalcs is an open-source Python library (Apache-2.0 licence) that shows calculations in Jupyter the way an engineer writes them by hand: first the symbolic formula, then the substituted values and finally the result — all typeset in LaTeX.

What you get

What to know

handcalcs handles simple calculation lines. Loops, functions and lists are not rendered this way, so it is worth separating the logic from the part shown on the calc sheet. The developers stress that checking results in an official document is the user’s responsibility. Work is done in JupyterLab.

Related tools

For an engineering calc sheet in the browser without writing code — EngineeringPaper. For an engineering calculator with units — SMath Studio. For properties of any cross-section — sectionproperties.

The bottom line

handcalcs solves a real problem: a calculation in code that nobody can check. It turns it into a readable calc sheet, and suits engineers who already work in Python.

Further reading