prodigy.web.app¶
The Prodigy web GUI (prodigy web).
A small Flask application: one page (templates/app.html with the ES modules in
static/app) and a JSON API:
|
version, engines, loop strategies with their parameters |
|
diagnostics (syntax/type errors with positions) and outline |
|
starts an analysis in its own process, returns a job id |
|
state, new console output, progress, result when done |
|
cancels the analysis |
|
the example library ( |
|
source of an example and a suggested setup |
The server binds to localhost by default. Requests to the API must be JSON and come from
the page itself (Host and Origin are checked), which keeps other web sites from using a
local server. Analyses parse expressions with SymPy, which evaluates code; do not expose
the server publicly without sandboxing (see docs/gui.md).
- create_app(*, time_limit=120.0, max_jobs=2, memory_limit=None, examples_dir=None, default_engine='sympy', host='127.0.0.1', allowed_hosts=())[source]¶