Bug#726715: ITP: python-parse -- Parse provides the reverse function for format()
Package: wnpp
Severity: wishlist
Owner: Arthur Vuillard <arthur@hashbang.fr>
* Package name : python-parse
Version : 1.6.3
Upstream Author : Richard Jones <rjones@ekit-inc.com>
* URL : https://github.com/r1chardj0n3s/parse
* License : BSD
Programming Lang: Python
Description : Parse provides the reverse function for format()
Parse strings using a specification based on the Python format() syntax.
``parse()`` is the opposite of ``format()``
The module is set up to only export ``parse()``, ``search()`` and
``findall()`` when ``import *`` is used:
>>> from parse import *
>From there it's a simple thing to parse a string:
>>> parse("It's {}, I love it!", "It's spam, I love it!")
<Result ('spam',) {}>
>>> _[0]
'spam'
Reply to: