Metadata-Version: 2.1
Name: tablign
Version: 0.3.2
Summary: Align columns in ASCII tables
Home-page: https://github.com/nschloe/tablign
Author: Nico Schlömer
License: GPL-3.0-or-later
Project-URL: Code, https://github.com/nschloe/tablign
Project-URL: Issues, https://github.com/nschloe/tablign/issues
Description: <p align="center">
          <a href="https://github.com/nschloe/tablign"><img alt="tablign" src="https://nschloe.github.io/tablign/logo.svg" width="60%"></a>
          <p align="center">Aligns columns in your ASCII tables.</p>
        </p>
        
        [![gh-actions](https://img.shields.io/github/workflow/status/nschloe/tablign/ci?style=flat-square)](https://github.com/nschloe/tablign/actions?query=workflow%3Aci)
        [![codecov](https://img.shields.io/codecov/c/github/nschloe/tablign.svg?style=flat-square)](https://codecov.io/gh/nschloe/tablign)
        [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square)](https://github.com/psf/black)
        [![awesome](https://img.shields.io/badge/awesome-yes-brightgreen.svg?style=flat-square)](https://github.com/nschloe/tablign)
        [![PyPI pyversions](https://img.shields.io/pypi/pyversions/tablign.svg?style=flat-square)](https://pypi.org/pypi/tablign/)
        [![PyPi Version](https://img.shields.io/pypi/v/tablign.svg?style=flat-square)](https://pypi.python.org/pypi/tablign)
        [![GitHub stars](https://img.shields.io/github/stars/nschloe/tablign.svg?style=flat-square&logo=github&label=Stars&logoColor=white)](https://github.com/nschloe/tablign)
        [![PyPi downloads](https://img.shields.io/pypi/dm/tablign.svg?style=flat-square)](https://pypistats.org/packages/tablign)
        
        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
        ```
        
        ![](https://nschloe.github.io/tablign/tty-capture.gif)
        
        ### Installation
        
        tablign is [available from the Python Package
        Index](https://pypi.python.org/pypi/tablign/), 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](https://www.gnu.org/licenses/gpl-3.0.en.html).
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Text Editors :: Text Processing
Classifier: Topic :: Text Processing
Classifier: Topic :: Text Processing :: Filters
Classifier: Topic :: Text Processing :: Markup
Classifier: Topic :: Text Processing :: Markup :: LaTeX
Classifier: Topic :: Utilities
Requires-Python: >=3.6
Description-Content-Type: text/markdown
