PyTbl (pronounced 'Pi' - 'Table') is a Python library/module that helps you create command-line (console) tables and spreadsheets. It is developed and maintained by Mattias Zurkovic, however if you find a bug or want a change then feel free to contribute! (Please, however, tell me the bug)
I am currently in the process of putting this library on PyPI and pip, but you can still use it - you will just need to install it manually:
- Clone this repository into any destination you would like (git clone https://github.com/MattiasZurkovic/PyTbl.git)
- Copy and paste that directory into your Python project's libraries folder. (You need to make sure that it is in the same root as your interpreter)
- Remember, soon you will be able to use pip to install the module :-)
After manually installing the library it is time for you to use it!
- Import the library like any other: from PyTbl import table
- To create a table use table_name = table
As the library is still in development, I have a 'checklist' for what the library should be able to do:
- Be able to sort the tables values (eg. by length, value, etc.)
- Style the table (colors, label styles) ✅
- Set values/create table in 2 different ways (eg. Row by row, and column by column <- ✅)
- Make it more 'automatic'
PyTbl is under the MIT License. See the LICENSE.md file for details. Copyright (c) 2015 Mattias Zurkovic