In T171960 we're creating a script that adds page numbers and the table of contents to a PDF file. The script will be written in Python. Once the script is ready, how should we expose it be used by other services/extensions? The goal is to take a PDF generated by ElectronRenderService and post-process it and provide the output to the requesting service.
In T171838 we are also building a script that concatenates a list of HTML pages into a book format. Together with the above script, this script can be exposed as some service.
== Outcomes
[] Decide on how to expose the scripts above. Should we use a WSGI server compliant python web framework such as [[ https://falconframework.org/ | Falcon ]] or [[ http://flask.pocoo.org/ | Flask ]]? Or should we just create a package, make it available via [[ https://pypi.python.org | Pypi ]], make it a dependency of Extension:Collection, and execute the scripts from PHP?
[] We document how we exposed the library