Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6722893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T09:30:09+00:00 2026-05-26T09:30:09+00:00

I want to build a hybrid application (Web technologies embedded in a desktop app).

  • 0

I want to build a hybrid application (Web technologies embedded in a desktop app).

I will start with a Web version and the embed it using WebKit, but I don’t want the embedded version to service requests through a TCP port.

With WebKit (Qt,Gtk) I can intercept all URL requests and act on them.

What I’m missing is a way to invoke the Flask URL-to-callable dispatcher without going through TCP (or WSGI).

Any ideas better than analyzing the call stack with a debugger?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T09:30:10+00:00Added an answer on May 26, 2026 at 9:30 am

    Simon Sapin answered on the (quite active) Flask mailing list:

    Why not WSGI ?

    You have to get a Python interpreter somewhere. Then you need to call
    your application somehow with data from WebKit like the URL being
    requested, and get the response. WSGI is just that: a calling
    convention for Python functions (or other callable objects.)

    If WSGI is more complex than you’d like, you can use the test client:

    • http://flask.pocoo.org/docs/api/#flask.Flask.test_client
    • http://werkzeug.pocoo.org/docs/test/#werkzeug.test.Client
    • http://werkzeug.pocoo.org/docs/test/#werkzeug.test.EnvironBuilder

    That’s how I do it in Frozen-Flask. It simulates HTTP requests to a
    Flask app at the WSGI level and write the responses to static files.
    The test client is just an easier way to make WSGI calls:

    https://github.com/SimonSapin/Frozen-Flask/blob/master/flaskext/frozen/__init__.py#L228

    WSGI really is Flask’s “entry point”.

    Other than that if you’re interested in Flask inner workings start
    looking from here:

    https://github.com/mitsuhiko/flask/blob/master/flask/app.py#L1477

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to build a custom document management web application that ties in with
i want build a photography app with effects . e.g. old images with brown
I want build a sketch pad app on iPhone, I assume that this type
I want to build a web based front-end to manage/administer my Linux box. E.g.
Want to build an web based Instant Messaging system similar to www.chatzy.com The question
I want to build .NET solution using batch file. I am aware that I
I want to build web page with Graceful Degradation. That is, the web page
Hi everyone i want build a poem application so i want use to NavigationControlle
I want to build GQL query to get an object using its numeric id.
I want to build a back end of a general web form which contains

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.