Example of an API defined in multiple Python modules and combined together
using the extend_api() helper.
Run with hug -f api.py. There are three API endpoints:
http://localhost:8000/–say_hi()fromapi.pyhttp://localhost:8000/part1–part1()frompart_1.pyhttp://localhost:8000/part2–part2()frompart_2.py