Horizontal join
Project description
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]))
Notes
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.
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
hjoin-0.2.0.tar.gz
(3.7 kB
view hashes)
Built Distribution
hjoin-0.2.0-py3-none-any.whl
(3.7 kB
view hashes)