纯文本中对齐表格的解析器
项目描述
对齐文本表格
纯文本中对齐表格的解析器,例如。
This is Column two This one
column one is column
three
用法
>>> from aligned_text_table import parse_row
>>> parse_row(
... lines=[
... "This is Column two This one ",
... "column one is column",
... "three "
... ],
... keys=["one", "two", "three"]
... )
{
"one": "This is column one",
"two": "Column two",
"three": "This one is column three"
}
测试
要运行测试,请安装并运行Tox
pip3 install tox
tox
项目详情
下载文件
下载适合您平台的文件。如果您不确定选择哪个,请了解有关 安装包 的更多信息。
源代码分发
aligned_text_table-0.3.0.tar.gz (2.1 kB 查看哈希值)
构建分发
关闭
aligned_text_table-0.3.0.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | e610e70ef3672dfdfce40ebe8f9d8ab6049816d4ced2bdb36ffd9decbb6c0df1 |
|
MD5 | 1c09168ceb5810c9b8340499927c4f30 |
|
BLAKE2b-256 | d259fe8fb0b8b9a2157033cbcb2aed3720f9b9978f1c97b8af053c1938dee899 |