computing — a reasoning module

Codes checked, and information and algorithms calculated, as a DKE Python module you compile into your own store. You record a code as its words; it concludes its Kraft sum and whether it is prefix-free, naming the pair of words that breaks it. It calculates CRC-32 and Adler-32, the Luhn and ISBN-13 checks, base conversion, Hamming(7,4) with single-error correction, entropy, Huffman code lengths, binary search and shortest paths, bit for bit as CPython does.

Licence: MIT. Current version: 1.0.1, released in rev 133.

Get it

The whole release, as one archive:

curl -O https://dke.langsyn.com/source/computing/1.0.1/computing-1.0.1.tar.gz

Its SHA-256: 7a406ae639e08df368f19fa50d1410d9863e1bad930f81d56696ff21e486a081.

Or browse version 1.0.1 file by file. /source/computing/latest/ always redirects to the current version. A release's files never change. When the next release supersedes this one, this version stays served at its URL, marked superseded, so cite the version and the archive's digest to say exactly which bytes you read, and use latest for a link that follows each new release.

Current release