A small example package
Project description
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)+
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
csvlineparser-0.0.1.tar.gz
(7.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file csvlineparser-0.0.1.tar.gz.
File metadata
- Download URL: csvlineparser-0.0.1.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d64944133f2ac9207158aa7d50324f7d97d553edac2b5f1761e3f84d7892e4f
|
|
| MD5 |
e435c5d6c69fcea9ff1611d9b78552f0
|
|
| BLAKE2b-256 |
959ab364d0304b2564b15ab753e204f80a8e06fe6932a3d9ce0f90358ba17717
|
File details
Details for the file csvlineparser-0.0.1-py3-none-any.whl.
File metadata
- Download URL: csvlineparser-0.0.1-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9509d8f14932398a30c3b6a39dad94a7f34c62cb714b066e8ef85f9f751e6fff
|
|
| MD5 |
860bcf9f3374de1e436bae6a7dfe6053
|
|
| BLAKE2b-256 |
7262f07d730c14bced4df59479ad8de813142cd907533a0a985eb1a0f88dfc65
|