Skip to main content

Parser of string representation tables

Project description

Parser of string representation tables, input example:

header_1st_col   | header_2nd_col   |\n
row_1_of_1st_col | row_1_of_2nd_col |\n
row_2_of_1st_col | row_2_of_2nd_col |

Parsed information can be accessed by rows:

[{'header_1st_col': 'row_1_of_1st_col', 'header_2nd_col': 'row_1_of_2nd_col'},
 {'header_1st_col': 'row_2_of_1st_col', 'header_2nd_col': 'row_2_of_2nd_col'}]

As well as by columns:

{'header_1st_col': ['row_1_of_1st_col', 'row_2_of_1st_col'],
  header_2nd_col': ['row_1_of_2nd_col', 'row_2_of_2nd_col']}

Fields:

['header_1st_col', 'header_2nd_col', 'header_3rd_col']

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sttable, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size sttable-0.0.1-py3-none-any.whl (4.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size sttable-0.0.1.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page