parseur.server

Attributes

Functions

start_flask(app)

Run Flask silently (no dev warning, no werkzeug logs).

start_localtunnel()

Start localtunnel via npx and parse 'your url is:' output.

check_localtunnel()

Verify that npx and localtunnel are installed.

create_app([redirect_url, silent])

Create and configure a Flask app that:

run_listener(event, mailbox_id, table_field_id, ...[, ...])

  • Check localtunnel installation

Module Contents

parseur.server.LOCAL_PORT = 31313[source]
parseur.server.start_flask(app)[source]

Run Flask silently (no dev warning, no werkzeug logs).

parseur.server.start_localtunnel()[source]

Start localtunnel via npx and parse ‘your url is:’ output.

parseur.server.check_localtunnel()[source]

Verify that npx and localtunnel are installed.

parseur.server.create_app(redirect_url=None, silent=False)[source]

Create and configure a Flask app that: - Logs incoming webhook events - Optionally forwards them to redirect_url

parseur.server.run_listener(event, mailbox_id, table_field_id, headers, name, redirect_url=None, silent=False)[source]
  • Check localtunnel installation

  • Start Flask server

  • Start localtunnel and get public URL

  • Create webhook in Parseur with provided options

  • Print and forward live events