Early-stage code for horizontal text joining. That means obeying the line breaks and implicit columns in the given strings, rather than simply appending them linearly.
from hjoin import * from colors import * r = red('this perhaps\nand\nthat') b = blue('and\none\nmore\nthing') g = green('yet\nanother\n') print(hjoin([r, b, g]))
- This module is not ready for prime time. It’s currently published solely to enable distributed testing (CI pipeline). You shouldn’t use it, depend on it, or expect anything specific from it. Especially don’t expect its API will remain constant.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size hjoin-0.2.0-py3-none-any.whl (3.7 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size hjoin-0.2.0.tar.gz (3.7 kB)||File type Source||Python version None||Upload date||Hashes View hashes|