{"repo":"DenverCoder1/table2ascii","free":true,"listed":false,"github":"https://github.com/DenverCoder1/table2ascii","clone":"git clone https://github.com/DenverCoder1/table2ascii.git","description":"An intuitive and type-safe Python library for converting lists to fancy ASCII tables for displaying in the terminal or code-blocks","language":"Python","stars":77,"topics":["unicode","ascii","utils","utilities","python","markdown","terminal","discord","discord-py","formatter"],"license":"MIT","category":"chat-messaging","readme_excerpt":"table2ascii An intuitive and type-safe library for converting 2D Python lists to fancy ASCII/Unicode tables Documentation and examples are available at table2ascii.rtfd.io 📥 Installation pip install -U table2ascii Requirements: Python 3.8+ 🧑‍💻 Usage 🚀 Convert lists to ASCII tables 🏆 Set first or last column headings 📰 Set column widths and alignments 🎨 Use a preset style See a list of 30+ preset styles here. 🎲 Define a custom style Check TableStyle for more info and PresetStyle for examples. 🪄 Merge adjacent cells ⚙️ Options All parameters are optional. At least one of header , body , and footer must be provided. Refer to the documentation for more information. Option Supported Types Description :-----------------: :-----------------------------------------------------------------------------: :--------------------------------------------------------------------------------------------------: header Sequence[SupportsStr] , None (Default: None ) First table row seperated by header row separator. Values should support str() body Sequence[Sequence[SupportsStr]] , None (Default: None ) 2D List of rows for the main section of the table. Values should support str() footer Sequence[SupportsStr] , None (Default: None ) Last table row seperated by header row separator. Values should support str() column widths Sequence[Optional[int]] , None (Default: None / automatic) List of column widths in characters for each column alignments Sequence[Alignment] , Alignment , None (Defaul","default_branch":null,"files":null,"tree":[],"storefront":"/r/DenverCoder1","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DenverCoder1/table2ascii/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}