A Python 3 utility that parses PDF of amendments bundle coming from http://www2.assemblee-nationale.fr/recherche/amendements and outputs a list of json objects containing the following keys:
number
: amendment numberauthors
: authors of the amendmentarticle
: target law project articletext
: text modification (the amendment)reason
: the reason of the amendment
(pip 9.0.1 works)
pip install amendments-bundle-parser --process-dependency-links
Common use (output to a json file)
amendments-bundle-parser.py <amendments.pdf> > <amendments.json>
Generic use (output to standard output)
amendments-bundle-parser.py <amendments.pdf>
License : BSD (3-Clause)