csvlineparser-0.0.4
توضیحات
A csv parser. Can be advised to clean columns by type too...
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | csvlineparser-0.0.4 |
| نام | csvlineparser |
| نسخه کتابخانه | 0.0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | raoulsson |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/csvlineparser/ |
| مجوز | - |
# csvlineparser
Based on https://secondboyet.com/articles/csvparser.html by Julian M Bucknall, rewritten in Python by raoulsson.
BNF Grammar:
csvFile ::= (csvRecord)* 'EOF'
csvRecord ::= csvStringList ('\n' | 'EOF')
csvStringList ::= rawString [',' csvStringList]
rawString := optionalSpaces [rawField optionalSpaces)]
optionalSpaces ::= whitespace*
whitespace ::= ' ' | '\t'
rawField ::= simpleField | quotedField
simpleField ::= (any char except \n, EOF, \t, space, comma or double quote)+
quotedField ::= '"' escapedField '"'
escapedField ::= subField ['"' '"' escapedField]
subField ::= (any char except double quote or EOF)+
## Intsallation
pip install csvlineparser
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl csvlineparser-0.0.4:
pip install csvlineparser-0.0.4.whl
نصب پکیج tar.gz csvlineparser-0.0.4:
pip install csvlineparser-0.0.4.tar.gz