Lark is a modern parsing library for Python. Lark can parse any context-free grammar.
Lark provides:
* Advanced grammar language, based on EBNF
* Three parsing algorithms to choose from: Earley, LALR(1) and CYK
* Automatic tree construction, inferred from your grammar
* Fast unicode lexer with regexp support, and automatic line-counting
ok sthen@
a date parsing library designed to parse dates from HTML pages:
* Generic parsing of dates in over 200 language locales plus numerous
formats in a language agnostic fashion.
* Generic parsing of relative dates like: '1 min ago', '2 weeks ago',
'3 months, 1 week and 1 day ago', 'in 2 days', 'tomorrow'.
* Generic parsing of dates with time zones abbreviations or UTC
offsets like: 'August 14, 2015 EST', 'July 4, 2013 PST',
'21 July 2013 10:15 pm +0500'.
* Date lookup in longer texts.
* Support for non-Gregorian calendar systems.
ok sthen@
TOML Kit is a 1.0.0-compliant TOML library.
It includes a parser that preserves all comments, indentations,
whitespace and internal element ordering, and makes them accessible and
editable via an intuitive API.
You can also create new TOML documents from scratch using the provided
helpers.
inflect.py provides plural inflections, singular noun inflections,
"a"/"an" selection for English words, and manipulation of numbers as
words.
Plural forms of all nouns, most verbs, and some adjectives are provided.
Where appropriate, "classical" variants (for example: "brother" ->
"brethren", "dogma" -> "dogmata", etc.) are also provided.
Single forms of nouns are also provided. The gender of singular pronouns
can be chosen (for example "they" -> "it" or "she" or "he" or "they").
Pronunciation-based "a"/"an" selection is provided for all English
words, and most initialisms.
It is also possible to inflect numerals (1,2,3) to ordinals (1st, 2nd,
3rd) and to English words ("one", "two", "three").
In generating these inflections, inflect.py follows the Oxford English
Dictionary and the guidelines in Fowler's Modern English Usage,
preferring the former where the two disagree.
This package provides handy routines for dealing with text, such as
wrapping, substitution, trimming, stripping, prefix and suffix removal,
line continuation, indentation, comment processing, identifier processing,
values parsing, case insensitive comparison, and more.
setuptools (it's used as a package locator but importlib.metadata in
newer Python core or the external importlib_metadata are preferred).
So drop the RDEP in that case (it's still kept for py27) and bump
revisions.