A simple package for printing text to the terminal in columns
Project description
A simple package for printing text to the terminal in columns
Example
from print_columns import print_columns
if __name__ == "__main__":
lorem_ipsum = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
value = 3
notes = "This is Lorem Ipsum. It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout."
print_columns(
[lorem_ipsum, str(value), notes],
[50, 2, 50],
)
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
print_columns-0.1.0.tar.gz
(1.3 kB
view details)
Built Distribution
File details
Details for the file print_columns-0.1.0.tar.gz
.
File metadata
- Download URL: print_columns-0.1.0.tar.gz
- Upload date:
- Size: 1.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb1e29ab66df9acad87758a0af938c09eb43f45670aa8b3444cebdcae9dd2bad |
|
MD5 | a85c07384356cb2d662fe70d2d1b070e |
|
BLAKE2b-256 | 5db897e00132b8cefeb39584f44452cd039457198fea26b8a118656676c226d4 |
File details
Details for the file print_columns-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: print_columns-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e04ca870754a279e217a10f7648143ed23db50d163608ea9da4df38226a4043 |
|
MD5 | d5033ea16dfac7947fd3a8a88654ba0c |
|
BLAKE2b-256 | 7c8c795ba87c041fbdd26920e744cdf5375d77e47802c5cd0347734c80db46d0 |