History and release notes
2.2 - 2025-09-12
Dropped support for Python 3.7, 3.8 which are past EOL
Various docs and type hint updates
2.1 - 2023-02-22
Dropped support for Python 3.7
Test against Python 3.11
Added docstrings and basic type hints to all primitives and main methods
2.0 - 2022-09-08
Dropped support for Python < 3.6
Added
Parser.until(). Thanks @mcdeoliveira!Parser.optional()now supports an optional default argument to be returned instead ofNone.
1.4.0 - 2021-11-15
Documentation improvements.
Added
groupparameter toregex()- thanks @camerondm9.Added
forward_declaration.
1.3.0 - 2019-08-03
Documentation improvements.
Removed Python 3.3 support
Added Python 3.7 support
Parser.combine_dict()now strips keys that start with_.
1.2.0 - 2017-11-15
Added
transformargument tostring()andstring_from().Made
Parser.combine_dict()accept lists of name value pairs, and filter out keys with valueNone.Added
from_enum().
1.1.0 - 2017-11-05
Added
Parser.optional().Added
Parser.tag().Added
seq()keyword argument version (Python 3.6)Added
Parser.combine_dict().Documented
Parser.mark().Documentation improvements.
1.0.0 - 2017-10-10
Improved parse failure messages of
@generateparsers. Previously the parser was given a default description of the function name, which hides all useful internal info there might be.Added
Parser.sep_by()Added
test_char()Added
char_from()Added
string_from()Added
any_charAdded
decimal_digitAdded
Parser.concat()Fixed parsy so that it can again work with tokens as well as strings, allowing it to be used as both a lexer or parser or both, with docs and tests.
Added
test_item()Added
match_item()Added
Parser.should_fail()
0.9.0 - 2017-09-28
Better error reporting of failed parses.
Documentation overhaul and expansion.
Added
Parser.combine().
0.0.4 - 2014-12-28
See git logs for changes before this point.