You can use:

import webbrowser url = 'editorial://' webbrowser.open(url)

with urls from apps that support x-callback-url like these apps and/or these apps.