{"id":27443,"library":"terminaltables3","title":"terminaltables3","description":"A Python library for generating simple ASCII and Unicode tables in terminals from a nested list of strings. Fork of terminaltables with Python 3.8+ support and modernised APIs. Version 4.0.0 released 2023.","status":"active","version":"4.0.0","language":"python","source_language":"en","source_url":"https://github.com/matthewdeanmartin/terminaltables3","tags":["terminal","tables","ascii","cli","pretty-print"],"install":[{"cmd":"pip install terminaltables3","lang":"bash","label":"Install via pip"}],"dependencies":[],"imports":[{"note":"Package is installed as terminaltables3 but the module name is still terminaltables.","wrong":"from terminaltables3 import AsciiTable","symbol":"AsciiTable","correct":"from terminaltables import AsciiTable"},{"note":"SingleTable uses single-line borders.","wrong":"from terminaltables3 import SingleTable","symbol":"SingleTable","correct":"from terminaltables import SingleTable"},{"note":"DoubleTable uses double-line borders.","wrong":"from terminaltables3 import DoubleTable","symbol":"DoubleTable","correct":"from terminaltables import DoubleTable"}],"quickstart":{"code":"from terminaltables import AsciiTable\ntable_data = [\n    ['Name', 'Age', 'City'],\n    ['Alice', '30', 'New York'],\n    ['Bob', '25', 'Los Angeles'],\n]\ntable = AsciiTable(table_data)\nprint(table.table)","lang":"python","description":"Create a simple ASCII table from a list of lists."},"warnings":[{"fix":"Use 'from terminaltables import ...'","message":"Import from 'terminaltables' not 'terminaltables3'. The module name is unchanged.","severity":"gotcha","affected_versions":"all"},{"fix":"Ensure Python 3.8+ or use older terminaltables for 2.7/3.5.","message":"Removed support for Python < 3.8. If upgrading from original terminaltables, check Python version.","severity":"breaking","affected_versions":">=4.0.0"},{"fix":"Do not rely on the title parameter; use separate print statements.","message":"The 'title' parameter in AsciiTable and other table classes is deprecated and may be removed in future versions.","severity":"deprecated","affected_versions":">=4.0.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Change import to 'from terminaltables import ...'","cause":"Trying to import from 'terminaltables3' instead of 'terminaltables'.","error":"ModuleNotFoundError: No module named 'terminaltables3'"},{"fix":"Uninstall original: pip uninstall terminaltables, then install terminaltables3.","cause":"Installed the original terminaltables instead of terminaltables3.","error":"AttributeError: module 'terminaltables' has no attribute 'AsciiTable'"},{"fix":"Remove the title argument or upgrade to latest version if re-added.","cause":"Using 'title' parameter with terminaltables3 4.0.0 where it's deprecated/removed.","error":"TypeError: __init__() got an unexpected keyword argument 'title'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}