All Projects → nschloe → Tablign

nschloe / Tablign

Licence: gpl-3.0
Aligns columns in your ASCII tables on the command line or in vim.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Tablign

Ascii Art
A Node.js library for ansi codes, figlet fonts, ascii art and other ASCII graphics
Stars: ✭ 437 (+2327.78%)
Mutual labels:  ascii, tables
table2ascii
Python library for converting lists to fancy ASCII tables for displaying in the terminal and on Discord
Stars: ✭ 31 (+72.22%)
Mutual labels:  ascii, pretty-print
Transliteration
UTF-8 to ASCII transliteration / slugify module for node.js, browser, Web Worker, React Native, Electron and CLI.
Stars: ✭ 444 (+2366.67%)
Mutual labels:  ascii
Slug Generator
Slug Generator Library for PHP, based on Unicode’s CLDR data
Stars: ✭ 740 (+4011.11%)
Mutual labels:  ascii
Tvision
A modern port of Turbo Vision 2.0, the classical framework for text-based user interfaces. Now cross-platform and with Unicode support.
Stars: ✭ 612 (+3300%)
Mutual labels:  ascii
Fipp
Fast Idiomatic Pretty Printer for Clojure
Stars: ✭ 454 (+2422.22%)
Mutual labels:  pretty-print
Diagram
CLI app to convert ASCII arts into hand drawn diagrams.
Stars: ✭ 642 (+3466.67%)
Mutual labels:  ascii
Ftxui
💻 C++ Functional Terminal User Interface. ❤️
Stars: ✭ 433 (+2305.56%)
Mutual labels:  ascii
Cfonts
Sexy fonts for the console
Stars: ✭ 789 (+4283.33%)
Mutual labels:  ascii
Tabula
Tabula is a tool for liberating data tables trapped inside PDF files
Stars: ✭ 5,420 (+30011.11%)
Mutual labels:  tables
Encoding
Go package containing implementations of efficient encoding, decoding, and validation APIs.
Stars: ✭ 705 (+3816.67%)
Mutual labels:  ascii
Table
Formats data into a string table.
Stars: ✭ 524 (+2811.11%)
Mutual labels:  ascii
Styler
Non-invasive pretty printing of R code
Stars: ✭ 461 (+2461.11%)
Mutual labels:  pretty-print
Terminaltables
Generate simple tables in terminals from a nested list of strings.
Stars: ✭ 685 (+3705.56%)
Mutual labels:  ascii
Pterm
✨ #PTerm is a modern go module to beautify console output. Featuring charts, progressbars, tables, trees, and many more 🚀 It's completely configurable and 100% cross-platform compatible.
Stars: ✭ 449 (+2394.44%)
Mutual labels:  pretty-print
Go Pretty
Pretty print tables and more in golang!
Stars: ✭ 777 (+4216.67%)
Mutual labels:  ascii
Lambdahack
Haskell game engine library for roguelike dungeon crawlers; please offer feedback, e.g., after trying out the sample game with the web frontend at
Stars: ✭ 439 (+2338.89%)
Mutual labels:  ascii
Traceback with variables
Adds variables to python traceback. Simple, lightweight, controllable. Debug reasons of exceptions by logging or pretty printing colorful variable contexts for each frame in a stacktrace, showing every value. Dump locals environments after errors to console, files, and loggers. Works in Jupyter and IPython. Install with pip or conda.
Stars: ✭ 509 (+2727.78%)
Mutual labels:  pretty-print
Urlify
A fast PHP slug generator and transliteration library that converts non-ascii characters for use in URLs.
Stars: ✭ 633 (+3416.67%)
Mutual labels:  ascii
React Table
A simple sortable table component for react.
Stars: ✭ 16 (-11.11%)
Mutual labels:  tables

tablign

Aligns columns in your ASCII tables.

gh-actions codecov Code style: black awesome PyPI pyversions PyPi Version GitHub stars PyPi downloads

With

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

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].