- Python 100%
| debian | Bump version again. | |
| textbits | Bump version again. | |
| .gitignore | Ignore build files. | |
| futhark | ||
| klingon | ||
| LICENCE | ||
| mathsym | mathsym: remove extra space in help text | |
| pyproject.toml | ||
| README.md | Code scrapers are not welcome here. | |
| roman | Version string fixup: use textbits rather than the program name. | |
| tagchar | tagchar: fix reporting of "unrecognised option" errors | |
| unidump | unidump: correctly set the line count when overflow is not empty. | |
textbits
Manglers
futhark
A short script for converting lower-case ASCII text to or from Futhark. Reads from stdin or reads from the named files.
klingon
A short script for converting ASCII text to or from Klingon text. Reads from stdin or reads from the named files. Note that this uses the private-use area, codes U+F8D0 to U+F8E9.
mathsym
Conversion between ASCII text and various other Latin glyph sets within Unicode.
Reads from stdin or reads from the named files.
Several possible glyph sets are available (use -h
or --help to see the list).
tagchar
Convert between ASCII text and (invisible) tag text, adding or removing start and end markers as needed. (Yes, other than the markers, mathsym does this too. So what.) Reads from stdin or directly from the command line.
When converting to tag text, it is strongly recommended that you don't try
to display the text in the terminal and instead pipe it somewhere useful,
e.g. into a clipboard or selection via xsel or xclip.
Displayers
roman
Numbers to Roman numerals. Only handles 1 to 4999 at the moment.
Defaults to upper-case ASCII but can output alternative forms: -l for
lower-case ASCII, -U for upper-case numerals (Unicode), or -u for
lower-case numerals.
unidump
Hex-dump utility which decodes UTF-8 sequences and displays the code points
instead of the bytes making up the sequences. Invalid bytes are shown in
inverse text or, if colour is not available, prefixed by ..
Text is read from stdin or from files listed on the command line.
You can control whether colour is used with the --colour option (the
--color misspelling is also accepted). It takes values never, always
and auto (colour is used if output is to a tty).
You can control whether the text dump is full Unicode or limited to ASCII
with the --text option. It takes values ascii, unicode and auto
(Unicode is used if output is to a file or the tty handles UTF-8).
Bonus: it handles the non-standard NUL (0xC0 0x80).
textbits
A library used by these scripts.
Copyright
© 2023-2026 Darren Salt
Licence
These programs' licence is the GNU Public General Licence version 2.
The textbits library licence is the GNU Lesser Public General Licence version 2.
In both cases, later versions of the relevant licence may be used.