【文件属性】:
文件名称:comma:Python CSV和定界符分隔的文件,供人类使用!
文件大小:496KB
文件格式:ZIP
更新时间:2021-05-14 12:54:19
python csv-parsing csv-library Python
逗号:适用于人类的Python CSV库
该库试图使处理CSV文件成为一种很好的体验。
特征
以下是comma支持的一些功能:
强大的自动检测CSV参数(感谢 )和编码(感谢 )。
单行用法comma.load(...) ,没有要记住的语法或要调整的参数。
使用标准list和dict操作访问/修改行的简单Pythonic接口,即row[0]和row["street"]是等效的。
使用标题名称的列切片,即table["street"] 。
就地编辑数据集,包括多行。
直接从URL打开文件。
安装
如果您使用点子:
pip install ' comma[autodetect,net] '
或者,如果您使用pipenv:
pipenv install ' comma[autodetect,net] '
为什么?
尽管Python幸运地是“”,但有时某些库最终使用的API未能很
【文件预览】:
comma-master
----poetry.lock(51KB)
----.gitignore(2KB)
----requirements.txt(237B)
----pyproject.toml(2KB)
----LICENSE(7KB)
----.github()
--------workflows()
----README.md(8KB)
----tests()
--------classes()
--------test_abstract.py(4KB)
--------data()
--------__init__.py(0B)
--------test_config.py(6KB)
--------test_comma.py(1KB)
--------test_helpers.py(29KB)
--------helpers()
--------test_methods.py(8KB)
--------test_extras.py(11KB)
--------test_imports.py(1KB)
--------test_data.py(15KB)
----.replit(1KB)
----example-screenshot.png(426KB)
----comma()
--------classes()
--------__init__.py(349B)
--------typing.py(2KB)
--------extras.py(8KB)
--------config.py(6KB)
--------abstract.py(2KB)
--------methods.py(9KB)
--------helpers.py(21KB)
--------exceptions.py(2KB)
----docs()
--------Makefile(638B)
--------source()
----requirements-dev.txt(2KB)