Skip to main content

Horizontal join

Project description

https://img.shields.io/pypi/v/hjoin.svg https://img.shields.io/travis/jonathaneunice/hjoin.svg Updates

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.

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)

Uploaded source

Built Distribution

hjoin-0.2.0-py3-none-any.whl (3.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page