Align columns in ASCII tables
Project description
tablign
Aligns columns in your ASCII tables.
tablign converts 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.
Usage from vim
Simply mark the table (shift-V), and type
:'<,'>:!tablign
Installation
tablign is available from the Python Package Index, so with
pip install tablign
you can install.
Testing
To run the tests, simply check out this repository and run
pytest
License
This software is published under the GPLv3 license.
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
tablign-0.3.0.tar.gz
(4.6 kB
view details)
Built Distribution
File details
Details for the file tablign-0.3.0.tar.gz
.
File metadata
- Download URL: tablign-0.3.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | adb6791c4aaef07e71f1c4843d85dc991a631cf1885b209306a4ce227d837507 |
|
MD5 | 2aa92e7239403d812f3b0b416921f3ec |
|
BLAKE2b-256 | a3eefdabf07ac76b063bea3f831ccbd16077f8e06924de9970a0e6f68df57c76 |
File details
Details for the file tablign-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: tablign-0.3.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b815f4dd62009bd1c8796219cab953c6ad07ea58dd1451809e37f0200cdc451 |
|
MD5 | 695373be454596421f7d239ac34cba48 |
|
BLAKE2b-256 | 5ea4a5074af932e8ae17e4f0f70788918b9fb24e3e8ad3d8b5824c21e99c903e |