A tool for quasi-interactive math sheets
Project description
hashequal
a Python tool for quasi-interactive math sheets, aiming to provide Mathcad-like experience
on execution it modifies the calling script annotating the results of the operations marked with #=
example
before running
#! /usr/bin/env python
import hashequal
a = 1 + 1 #=
b = a * 2 #= # comment
after running
#! /usr/bin/env python
import hashequal # run 2018-11-06 18:59:54 UTC
a = 1 + 1 #= 2
b = a * 2 #= 4 # comment
instructions
import hashequal
at the beginning of the file, eventually just below the interpreter directive- mark every operation whose result is to be annotated with an
#=
comment - if there need to be further comments on an
#=
line, use another following#
known issues
- does not handle implicit line continuations
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 Distribution
hashequal-1.0.2.tar.gz
(7.9 kB
view hashes)
Built Distribution
Close
Hashes for hashequal-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec5066076cf96b3ca485c38c8be78c278a71d5f681673f03d6aa697deeea0667 |
|
MD5 | 1bad5cd05909c6f7ecc13e61939a8162 |
|
BLAKE2b-256 | 4ff55e75f4d165a922fd44b7d9649d5dbdc382f3f468ef22fa9b4f3ebc500458 |