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.
Metadata
Release files for hjoin 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hjoin-0.2.0.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hjoin-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / hjoin-0.2.0.tar.gz
| Download URL | hjoin-0.2.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
03aa5634162ebbbfbdbc8c91d4d94a1bc63bbd7d5034ba0c1d48549679b374ab
|
|
BLAKE2b-256 checksum How to use checksums |
1c0d9c4641786b23ff2d6579c50b934fa5ef2664cbacbce95b856a1b95ac80fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2
|
Release files / hjoin-0.2.0-py3-none-any.whl
| Download URL | hjoin-0.2.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8037172668dda0820edbbe873ac428a906d1c4e2d62512786d2e63ca0b1870b0
|
|
BLAKE2b-256 checksum How to use checksums |
067f55344859dbfd173cb380dfab2b27255e2be2cc98aee7333c0b0ffc1798ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2
|