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


Release history Release notifications

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 hashes
Filename, size sttable-0.0.1.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page