<filename>pynab_monzo/__main__.py
import os

from .app import app

if __name__ == "__main__":
    port = int(os.environ.get("PORT", 5000))
    app.run(port=port)

<filename>pynab_monzo/__main__.py
import os

from .app import app

if __name__ == "__main__":
    port = int(os.environ.get("PORT", 5000))
    app.run(port=port)
