Issues
- 0
Add a new parser API built on `attrs` for defining classes instantiated from scanned stanzas
#52 opened by jwodder - 0
- 0
Add a field type for storing parsing defects
#53 opened by jwodder - 0
- 0
Add a function or type for parsing RFC 822 dates
#50 opened by jwodder - 0
- 0
- 0
Add a scanner option for ignoring all blank lines
#44 opened by jwodder - 0
Add more tests
#48 opened by jwodder - 0
Allow two different named fields to have the same `dest` if they both have `multiple=True`
#47 opened by jwodder - 0
Add a scanner option for setting what counts as whitespace for folding purposes
#46 opened by jwodder - 0
- 0
Make `HeaderParser` take scanner options as a `scanner_opts: dict` argument instead of as `**kwargs`
#43 opened by jwodder - 0
- 0
- 0
Rewrite `Scanner` so that it's fed chunks of text piecemeal and spits out what it's scanned so far
#39 opened by jwodder - 0
Add a scanner option for controlling the behavior when `get_unscanned()` is called at a previously-unreached EOF
#38 opened by jwodder - 0
Add a scanner option for ignoring comment lines
#37 opened by jwodder - 0
Add a `ScannerConfig` class for holding scanner options instead of using keyword arguments
#36 opened by jwodder - 0
- 0
Rename `NormalizedDict.normalized_dict()` to something that doesn't imply it returns a `NormalizedDict`
#34 opened by jwodder - 0
- 0
Give `add_additional()` an option for whether to normalize additional header names before adding them to the dict
#32 opened by jwodder - 0
- 0
Add a function for unfolding a string if & only if the first line contains non-whitespace
#30 opened by jwodder - 0
- 0
- 0
- 0
Give `add_field()` an `i18n: bool` argument
#26 opened by jwodder - 0
- 0
Handle "From " lines
#24 opened by jwodder - 0
- 0
Add a scanner option for controlling handling of header lines with empty header names
#22 opened by jwodder - 0
- 0
- 0
Improve documentation & examples
#19 opened by jwodder - 0
Give `HeaderParser` a `dict` factory option
#18 opened by jwodder - 0
Process string `default` values using `type`
#17 opened by jwodder - 0
Give `add_field()` a `default_action=callable` option for controlling what to do when a header is absent
#16 opened by jwodder - 0
Create a `BODY` token to use as a `dict` key for storing bodies instead of storing them as an attribute
#15 opened by jwodder - 0
Give `HeaderParser` options for requiring or forbidding nonempty/non-whitespace bodies
#14 opened by jwodder - 0
Give the scanner methods for reading a body composed of a certain number of lines/bytes or until a regex matches
#13 opened by jwodder - 0
- 0
Add a scanner option for controlling handling of header lines without a colon or indentation
#11 opened by jwodder - 0
- 0
Use `attrs` to define exception classes
#10 opened by jwodder - 1
Add support for Lists
#2 opened by JakobDev