Aligns columns in your ASCII tables.
Install with
pip install tablign
tablign in.txt out.txt
you can convert your input file
| A | 1.34|-214.1|
|CCCC | 55.534| 1131.1|
into
| A | 1.34 | -214.1 |
| CCCC | 55.534 | 1131.1 |
Column widths are unified across the table, decimal dots are aligned, and tablign tries
to be smart about column separators. Works for CSV, LaTeX, Markdown etc. By default,
tablign reads from stdin and writes to stdout, so you can use pipes with tablign, too:
head -n in.txt | tablign
Usage from vim
Simply mark the table (shift-V), and type
:'<,'>:!tablign
Alternatives
GNU's column command is a mighty alternative:
column -t
See here for more alternatives.
Metadata
Release files for tablign 0.3.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tablign-0.3.7.tar.gz | 16.2 kB | Without provenance | Details for tablign-0.3.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tablign-0.3.7-py3-none-any.whl | Python 3 | none | any | Details for tablign-0.3.7-py3-none-any.whl |
Total release size: 33.0 kB
Release files / tablign-0.3.7.tar.gz
| Download URL | tablign-0.3.7.tar.gz |
|---|---|
| Size | 16.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a6521277eb9fccb6f3199f9926ab297b9ceaa5505ba45c861121edac190d33b
|
|
BLAKE2b-256 checksum How to use checksums |
561f39cd24e70ccaccfeb04b28dec76b6472e704a39ea0255df3db569710872b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Release files / tablign-0.3.7-py3-none-any.whl
| Download URL | tablign-0.3.7-py3-none-any.whl |
|---|---|
| Size | 16.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
42b3a764cc2f4a16a2963defe86ee2c29d43e9633b9b2979b4c0760cff8bb350
|
|
BLAKE2b-256 checksum How to use checksums |
b6c3be4a4a91133a249d5c7ef972b46f098178759979276abcb8c9304232dc3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Security for tablign 0.3.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.