sttable is a Python library (version 0.0.1, alpha status) designed to parse string representations of tables, converting them into structured data formats. It extracts table data, making it accessible by rows (as a list of dictionaries) or by columns (as a dictionary of lists). The library currently has an infrequent release cadence, with the last release in November 2019.
pip install sttableVerified import paths — ran on the pinned version, not inferred.
Initialize an STTable object with a string representation of a table and then retrieve data by rows, columns, or field names.
Review the source code for necessary modifications or consider more actively maintained alternatives if long-term stability and support are crucial.
Ensure input strings strictly adhere to the expected format: `header_col_1 | header_col_2 |\n row_1_col_1 | row_1_col_2 |` etc. Validate input strings before passing them to `STTable`.
No dependency data recorded yet.