{
  "id": "task_libraries:dashboard/python",
  "path": "/exapedia/python-dashboard-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "Python dashboard libraries",
  "answer": [
    {
      "t": "text",
      "text": "Python dashboard libraries build interactive web apps with charts, tables, and input widgets from Python code. The library serves a browser front end and runs Python code again when a user changes an input. These libraries let data teams share models and analyses as web apps without writing JavaScript."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "Python dashboard libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#streamlit",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F140"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F141"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F147"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F144"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#dash",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F155"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F159"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F157"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#bokeh",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F170"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F179"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#gradio",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F187"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F188"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F196"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#nicegui",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F204"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F208"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#panel",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F221"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F225"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#shiny",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F236"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F237"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F245"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F240"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F238"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#reflex",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F253"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F254"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F262"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F257"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F255"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "PyPI"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#streamlit",
          "label": [
            {
              "t": "text",
              "text": "Streamlit"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F141"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Plotly figure display",
            "Inline notebook apps"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#streamlit",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F140"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#dash",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F155"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F163"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F164"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#bokeh",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F170"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F180"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F181"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#gradio",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F187"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F197"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F198"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#nicegui",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F204"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F214"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F215"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#panel",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F221"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#shiny",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F236"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F246"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F247"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#reflex",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F253"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F263"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F264"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "streamlit",
          "name": [
            {
              "t": "fact",
              "fact": "F140"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/streamlit/streamlit"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/streamlit"
            },
            {
              "label": "Docs",
              "href": "https://docs.streamlit.io/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F13"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F141"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F147"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://docs.streamlit.io/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F140"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F20"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F21"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F22"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F23"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F153"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F154"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/langchain-ai/streamlit-agent",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F153"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "@st.cache_data(ttl=\"2h\")\ndef load_data(uploaded_file):\n    try:\n        ext = os.path.splitext(uploaded_file.name)[1][1:].lower()\n    except:\n        ext = uploaded_file.split(\".\")[-1]\n    if ext in file_formats:\n        return file_formats[ext](uploaded_file)\n    else:\n        st.error(f\"Unsupported file format: {ext}\")\n        return None",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/langchain-ai/streamlit-agent/blob/634e1cecf23d7ca3a4c5e708944673e057765b2a/streamlit_agent/chat_pandas_df.py#L27-L37",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F152"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20streamlit%20for%20cached%20file%20loading%2C%20dashboard%20filters%2C%20resizable%20data%20views%20and%20model-parameter%20controls&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F140"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import streamlit as st\n\nx = st.slider(\"Select a value\")\nst.write(x, \"squared is\", x * x)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://pypi.org/pypi/streamlit/1.67.0/json#info.description",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F145"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "dash",
          "name": [
            {
              "t": "fact",
              "fact": "F155"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/plotly/dash"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/dash"
            },
            {
              "label": "Docs",
              "href": "https://dash.plotly.com"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F41"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F157"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://dash.plotly.com",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F155"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F44"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F45"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F46"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F47"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F48"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F49"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/plotly/dash-sample-apps",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F168"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def generate_control_card():\n    \"\"\"\n\n    :return: A Div containing controls for graphs.\n    \"\"\"\n    return html.Div(\n        id=\"control-card\",\n        children=[\n            html.P(\"Select Clinic\"),\n            dcc.Dropdown(\n                id=\"clinic-select\",\n                options=[{\"label\": i, \"value\": i} for i in clinic_list],\n                value=clinic_list[0],\n            ),\n            html.Br(),\n            html.P(\"Select Check-In Time\"),\n            dcc.DatePickerRange(\n                id=\"date-picker-select\",\n                start_date=dt(2014, 1, 1),\n                end_date=dt(2014, 1, 15),\n                min_date_allowed=dt(2014, 1, 1),\n                max_date_allowed=dt(2014, 12, 31),\n                initial_visible_month=dt(2014, 1, 1),\n            ),\n            html.Br(),\n            html.Br(),\n            html.P(\"Select Admit Source\"),\n            dcc.Dropdown(\n                id=\"admit-select\",\n                options=[{\"label\": i, \"value\": i} for i in admit_list],\n                value=admit_list[:],\n                multi=True,\n            ),\n            html.Br(),\n            # html.Div(\n            #     id=\"reset-btn-outer\",\n            #     children=html.Button(id=\"reset-btn\", children=\"Reset\", n_clicks=0),\n            # ),\n        ],\n    )",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/plotly/dash-sample-apps/blob/ebabf377d3be3d08752d53dfd04d1a59d7d164f1/apps/dash-clinical-analytics/app.py#L86-L125",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F167"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20dash%20for%20cached%20file%20loading%2C%20dashboard%20filters%2C%20resizable%20data%20views%20and%20model-parameter%20controls&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F155"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from dash import Dash, html\napp = Dash()\napp.layout = html.Div('Hello, Dash!')\napp.run()\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://dash.plotly.com/minimal-app",
                  "label": [
                    {
                      "t": "text",
                      "text": "minimal-app.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F160"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "bokeh",
          "name": [
            {
              "t": "fact",
              "fact": "F170"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/bokeh/bokeh"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/bokeh"
            },
            {
              "label": "Docs",
              "href": "https://docs.bokeh.org"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F177"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F179"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://docs.bokeh.org",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F170"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/holoviz/panel",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F185"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def autoload_js_script(doc, resources, token, element_id, app_path, absolute_url, absolute=False):\n    resources = Resources.from_bokeh(resources, absolute=absolute)\n    bundle = bundle_resources(doc.roots, resources)\n\n    render_items = [RenderItem(token=token, elementid=element_id, use_for_title=False)]\n    bundle.add(Script(script_for_render_items({}, render_items, app_path=app_path, absolute_url=absolute_url)))\n\n    return AUTOLOAD_JS.render(bundle=bundle, elementid=element_id)",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/holoviz/panel/blob/f8308d077e9836b00b39e8cca7e0a50d43e3d2bf/panel/io/server.py#L510-L517",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F184"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=bokeh%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F170"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from bokeh.plotting import figure, show\np = figure()\np.line([1, 2, 3], [1, 4, 9])\nshow(p)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://docs.bokeh.org/en/latest/docs/first_steps/first_steps_1.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F175"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "gradio",
          "name": [
            {
              "t": "fact",
              "fact": "F187"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/gradio-app/gradio"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/gradio"
            },
            {
              "label": "Docs",
              "href": "https://pypi.org/project/gradio/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F194"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F188"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F196"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/project/gradio/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F187"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/huggingface/smolagents",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F202"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def create_app(self):\n        import gradio as gr\n\n        # Gradio 5.x requires type=\"messages\", but Gradio 6 removed this parameter\n        type_messages_kwarg = {\"type\": \"messages\"} if gr.__version__.startswith(\"5\") else {}\n\n        chatbot = gr.Chatbot(\n            label=\"Agent\",\n            avatar_images=(\n                None,\n                \"https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/smolagents/mascot_smol.png\",\n            ),\n            latex_delimiters=[\n                {\"left\": r\"$$\", \"right\": r\"$$\", \"display\": True},\n                {\"left\": r\"$\", \"right\": r\"$\", \"display\": False},\n                {\"left\": r\"\\[\", \"right\": r\"\\]\", \"display\": True},\n                {\"left\": r\"\\(\", \"right\": r\"\\)\", \"display\": False},\n            ],\n            **type_messages_kwarg,\n        )\n\n        demo = gr.ChatInterface(\n            fn=self._stream_response,\n            chatbot=chatbot,\n            title=self.name.replace(\"_\", \" \").capitalize(),\n            multimodal=self.file_upload_folder is not None,\n            save_history=True,\n            **type_messages_kwarg,\n        )\n        return demo",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/huggingface/smolagents/blob/2689e450364d451a0afa0a5e883d12a031c125dd/src/smolagents/gradio_ui.py#L432-L461",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F201"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=gradio%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F187"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import gradio as gr\n\ndef greet(name, intensity):\n return \"Hello, \" + name + \"!\" * int(intensity)\n\ndemo = gr.Interface(\n fn=greet,\n inputs=[\"text\", \"slider\"],\n outputs=[\"text\"],\n api_name=\"predict\"\n)\n\ndemo.launch()\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://pypi.org/pypi/gradio/6.32.0/json#info.description",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F192"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "nicegui",
          "name": [
            {
              "t": "fact",
              "fact": "F204"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/zauberzeug/nicegui"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/nicegui"
            },
            {
              "label": "Docs",
              "href": "https://nicegui.io/documentation"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F211"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F207"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://nicegui.io/documentation",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F204"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F219"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/daya0576/beaverhabits",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F219"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "async def settings_page(user: User):\n    configs = await views.get_user_configs(user)\n\n    async def update_custom_css(e):\n        await views.update_custom_css(user, e.value)\n        views.apply_theme_style()\n\n    def toggle_dark_mode(value: bool):\n        set_user_dark_mode(value)\n        if value:\n            ui.dark_mode().enable()\n        else:\n            ui.dark_mode().disable()\n\n    with layout(title=\"Settings\"):\n        with ui.column().classes(\"w-[600px]\"):\n            # ui.label(\"Darkmode\").classes(\"text-lg font-bold\")\n            # with ui.row():\n            #     ui.button(\"Dark\", on_click=lambda: toggle_dark_mode(True))\n            #     ui.button(\"Light\", on_click=lambda: toggle_dark_mode(False))\n\n            ui.label(\"Custom CSS\").classes(\"text-lg font-bold\")\n            editor = ui.codemirror(\n                configs.custom_css or EDIT_ME, language=\"CSS\", theme=\"githubDark\"\n            ).classes(\"h-96\")\n            editor.on_value_change(update_custom_css)\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/daya0576/beaverhabits/blob/78b4cee1945387eca6bd8fad09d4226261a9fdd1/beaverhabits/frontend/settings_page.py#L16-L41",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F218"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=nicegui%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F204"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from nicegui import ui\n\nui.label('Hello NiceGUI!')\nui.button('BUTTON', on_click=lambda: ui.notify('button was pressed'))\n\nui.run()\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://pypi.org/pypi/nicegui/4.0.0/json#info.description",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F209"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "panel",
          "name": [
            {
              "t": "fact",
              "fact": "F221"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/holoviz/panel"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/panel"
            },
            {
              "label": "Docs",
              "href": "https://pypi.org/project/panel/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F68"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/project/panel/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F221"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F69"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F70"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F71"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F72"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F73"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F74"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F75"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F76"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F234"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/holoviz/lumen",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F234"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def _execute_pending_query_with(self, user_prompt, old_sources):\n    \"\"\"Execute a query after files have been uploaded.\"\"\"\n    # Remove views from widget\n    with edit_readonly(self._chat_input):\n        self._chat_input.param.update(\n            value_input=\"\",\n            value_uploaded={},\n            views=[],\n        )\n\n    # Build message with new sources info\n    new_sources = [\n        source for source in self.context.get(\"sources\", [])\n        if source not in old_sources\n    ]\n    source_names = [f\"**{src.name}**: {', '.join(src.get_tables())}\" for src in new_sources]\n    source_view = Markdown(\n        \"Added sources:\\n\" + \"\\n\".join(f\"- {name}\" for name in source_names),\n        sizing_mode=\"stretch_width\"\n    ) if new_sources else None\n\n    self._update_main_view()\n    msg = Column(user_prompt, source_view) if source_view else user_prompt\n    self.interface.send(msg, respond=True)",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/holoviz/lumen/blob/91bcc5ab53c0ad1db5c708170f4a30580a9d2a26/lumen/ai/ui.py#L1016-L1039",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F233"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20panel%20for%20cached%20file%20loading%2C%20dashboard%20filters%2C%20resizable%20data%20views%20and%20model-parameter%20controls&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F221"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import panel as pn\npn.extension()\npn.pane.Markdown('Hello, Panel!').servable()\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://panel.holoviz.org/getting_started/build_app.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "build_app.html"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F226"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "shiny",
          "name": [
            {
              "t": "fact",
              "fact": "F236"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/posit-dev/py-shiny"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/shiny"
            },
            {
              "label": "Docs",
              "href": "https://shiny.posit.co/py/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F243"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F237"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F245"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F239"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F238"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://shiny.posit.co/py/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F236"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F251"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F252"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/posit-dev/querychat",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F251"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def app_ui(request):\n            drawer_children = [\n                ui.card(\n                    ui.card_header(\n                        bs_icon(\"table\"),\n                        \" Data — \",\n                        ui.output_text(\"data_card_header_text\", inline=True),\n                    ),\n                    ui.output_data_frame(\"dt\"),\n                    show_query_footer(\n                        target=\"sql_query_section\",\n                        content=ui.output_ui(\"sql_output\"),\n                        right=ui.output_ui(\"ui_reset\", inline=True),\n                    ),\n                )\n            ]\n            if multi_table:\n                drawer_children.append(\n                    ui.accordion(\n                        *[\n                            ui.accordion_panel(\n                                tags.span(\n                                    name,\n                                    ui.output_ui(f\"active_badge_{name}\", inline=True),\n                                ),\n                                ui.output_data_frame(f\"dt_{name}\"),\n                                show_query_footer(\n                                    target=f\"sql_query_section_{name}\",\n                                    content=ui.output_ui(f\"sql_view_{name}\"),\n                                ),\n                                value=name,\n                            )\n                            for name in table_names\n                        ],\n                        id=\"data_sources_accordion\",\n                        open=False,\n                    )\n                )\n            return self.page(\n                ui.span(\"querychat with \", ui.code(first_table_name)),\n                window_title=\"querychat\",\n                drawer=chat_drawer(\n                    *drawer_children,\n                    title=\"Data Sources\",\n                    open=False,\n                    width=DRAWER_WIDTH,\n                ),\n            )",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/posit-dev/querychat/blob/a4da2b1624fb78bd4d1bb8123947f30839bca0de/pkg-py/src/querychat/_shiny.py#L369-L416",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F250"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=shiny%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F236"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from shiny import  App, Inputs, Outputs, Session, ui\napp_ui = ui.page_fluid(\"Hello Shiny!\")\ndef server(input: Inputs, output: Outputs, session: Session):\n    pass\napp = App(app_ui, server)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://shiny.posit.co/py/api/core/App.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "App.html"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F241"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "reflex",
          "name": [
            {
              "t": "fact",
              "fact": "F253"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/reflex-dev/reflex"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/reflex"
            },
            {
              "label": "Docs",
              "href": "https://reflex.dev/docs/getting-started/introduction"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F260"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F254"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F262"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F256"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F255"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://reflex.dev/docs/getting-started/introduction",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F253"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F268"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F269"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/reflex-dev/reflex-chat",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F268"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def action_bar() -> rx.Component:\n    \"\"\"The action bar to send a new message.\"\"\"\n    return rx.center(\n        rx.vstack(\n            rx.form(\n                rx.hstack(\n                    rx.input(\n                        rx.input.slot(\n                            rx.tooltip(\n                                rx.icon(\"info\", size=18),\n                                content=\"Enter a question to get a response.\",\n                            )\n                        ),\n                        placeholder=\"Type something...\",\n                        id=\"question\",\n                        flex=\"1\",\n                    ),\n                    rx.button(\n                        \"Send\",\n                        loading=State.processing,\n                        disabled=State.processing,\n                        type=\"submit\",\n                    ),\n                    max_width=\"50em\",\n                    margin=\"0 auto\",\n                    align_items=\"center\",\n                ),\n                reset_on_submit=True,\n                on_submit=State.process_question,\n            ),\n            rx.text(\n                \"ReflexGPT may return factually incorrect or misleading responses. Use discretion.\",\n                text_align=\"center\",\n                font_size=\".75em\",\n                color=rx.color(\"mauve\", 10),\n            ),\n            rx.logo(margin_block=\"-1em\"),\n            width=\"100%\",\n            padding_x=\"16px\",\n            align=\"stretch\",\n        ),\n        position=\"sticky\",\n        bottom=\"0\",\n        left=\"0\",\n        padding_y=\"16px\",\n        backdrop_filter=\"auto\",\n        backdrop_blur=\"lg\",\n        border_top=f\"1px solid {rx.color('mauve', 3)}\",\n        background_color=rx.color(\"mauve\", 2),\n        align=\"stretch\",\n        width=\"100%\",\n    )",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/reflex-dev/reflex-chat/blob/b5c02280292a5e9550974cc242a3096ba67099b0/chat/components/chat.py#L61-L112",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F267"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=reflex%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F253"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import reflex as rx\n\ndef index():\n    return rx.heading('Hello, Reflex!')\n\napp = rx.App()\napp.add_page(index)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://reflex.dev/docs/getting-started/introduction/",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F258"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which Python dashboard library should I use?",
      "a": [
        {
          "t": "link",
          "href": "#streamlit",
          "label": [
            {
              "t": "text",
              "text": "Streamlit"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits quick data apps written as one script. "
        },
        {
          "t": "link",
          "href": "#dash",
          "label": [
            {
              "t": "text",
              "text": "Dash"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits apps that need explicit callbacks between components. "
        },
        {
          "t": "link",
          "href": "#gradio",
          "label": [
            {
              "t": "text",
              "text": "Gradio"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits demos of trained machine learning models."
        }
      ]
    },
    {
      "q": "What is Streamlit?",
      "a": [
        {
          "t": "link",
          "href": "#streamlit",
          "label": [
            {
              "t": "text",
              "text": "Streamlit"
            }
          ]
        },
        {
          "t": "text",
          "text": " builds data apps from a Python script. It reruns the script after each user interaction."
        }
      ]
    },
    {
      "q": "What is Bokeh?",
      "a": [
        {
          "t": "link",
          "href": "#bokeh",
          "label": [
            {
              "t": "text",
              "text": "Bokeh"
            }
          ]
        },
        {
          "t": "text",
          "text": " builds interactive plots and applications in the browser from Python. Its Python models serialize to BokehJS for drawing in the browser."
        }
      ]
    },
    {
      "q": "What is Plotly Dash?",
      "a": [
        {
          "t": "link",
          "href": "#dash",
          "label": [
            {
              "t": "text",
              "text": "Dash"
            }
          ]
        },
        {
          "t": "text",
          "text": " is the Plotly framework for reactive web apps in Python. Declared input and output callbacks update chart and component properties."
        }
      ]
    },
    {
      "q": "What is NiceGUI?",
      "a": [
        {
          "t": "link",
          "href": "#nicegui",
          "label": [
            {
              "t": "text",
              "text": "NiceGUI"
            }
          ]
        },
        {
          "t": "text",
          "text": " creates browser user interfaces from Python with a backend-first model. It serves the interface through FastAPI."
        }
      ]
    },
    {
      "q": "Gradio vs Streamlit: which should I use?",
      "a": [
        {
          "t": "link",
          "href": "#gradio",
          "label": [
            {
              "t": "text",
              "text": "Gradio"
            }
          ]
        },
        {
          "t": "text",
          "text": " builds interfaces for trained machine learning models, plus custom Blocks apps. "
        },
        {
          "t": "link",
          "href": "#streamlit",
          "label": [
            {
              "t": "text",
              "text": "Streamlit"
            }
          ]
        },
        {
          "t": "text",
          "text": " builds general data apps from a script that reruns on each interaction."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, streamlit",
      "display": "Streamlit",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, streamlit",
      "display": "23.0M",
      "asOf": "2026-11-16"
    },
    "F3": {
      "label": "License, streamlit",
      "display": "Apache-2.0",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, streamlit",
      "display": "1.67.0, Nov 2026",
      "asOf": "2026-11-05"
    },
    "F5": {
      "label": "Package release date, streamlit",
      "display": "Nov 2026",
      "asOf": "2026-11-05"
    },
    "F6": {
      "label": "Repository stars, streamlit",
      "display": "46.4K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Reactive updates, streamlit",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Data tables, streamlit",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Plotly charts, streamlit",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Multi-page apps, streamlit",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Output formats, streamlit",
      "display": "CSV",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "Install, streamlit",
      "display": "pip install streamlit",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "What it does, streamlit",
      "display": "Builds interactive data applications from Python scripts.",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths lead, streamlit",
      "display": "Builds interfaces from Python scripts",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths, streamlit",
      "display": "Add interactive data tables, charts, and controls to a Python script.",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths lead, streamlit",
      "display": "Caches reusable data and resources",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "strengths, streamlit",
      "display": "Keep expensive results or shared resource objects across script reruns.",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "strengths lead, streamlit",
      "display": "Includes dataframe CSV downloads",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "strengths, streamlit",
      "display": "Let users export the displayed data table as CSV.",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "limitations lead, streamlit",
      "display": "Interactions can rerun the script",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "limitations, streamlit",
      "display": "Cache expensive work when default full-script reruns repeat too much computation.",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "limitations lead, streamlit",
      "display": "Shared resources need thread safety",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "limitations, streamlit",
      "display": "Keep globally cached clients and models thread safe across concurrent user sessions.",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Quickstart, streamlit",
      "display": "import sqlite3\n\nimport numpy as np\nimport pandas as pd\nimport streamlit as st\n\nst.title(\"Demand plan\")\n\n\n@st.cache_data\ndef load_actuals() -> pd.DataFrame:\n    # Swap in your own query, e.g. st.connection(\"snowflake\").query(\"...\")\n    months = pd.date_range(\"2025-01-01\", periods=12, freq=\"MS\")\n    units = 1_000 + 40 * np.arange(12) + np.random.default_rng(0).normal(0, 50, 12)\n    return pd.DataFrame({\"month\": months, \"actual\": units.round()})\n\n\nactuals = load_actuals()\ngrowth = st.slider(\"Monthly growth (%)\", -5.0, 10.0, 2.0, step=0.5)\n\nmonths = pd.date_range(\"2026-01-01\", periods=6, freq=\"MS\")\nbaseline = actuals[\"actual\"].iloc[-1] * (1 + growth / 100) ** np.arange(1, 7)\nforecast = pd.DataFrame({\"month\": months, \"forecast\": baseline.round()})\n\n# Planners edit the forecast, and the chart follows\nplan = st.data_editor(forecast, disabled=[\"month\"], hide_index=True)\nst.line_chart(pd.concat([actuals, plan]), x=\"month\")\n\nif st.button(\"Submit for sign-off\", type=\"primary\"):\n    with sqlite3.connect(\"plans.db\") as db:  # Or your warehouse\n        plan.to_sql(\"plans\", db, if_exists=\"append\", index=False)\n    st.success(f\"Submitted {len(plan)} months for sign-off.\")\n",
      "asOf": "2026-11-17"
    },
    "F25": {
      "label": "Project function, streamlit",
      "display": "@st.cache_data(ttl=\"2h\")\ndef load_data(uploaded_file):\n    try:\n        ext = os.path.splitext(uploaded_file.name)[1][1:].lower()\n    except:\n        ext = uploaded_file.split(\".\")[-1]\n    if ext in file_formats:\n        return file_formats[ext](uploaded_file)\n    else:\n        st.error(f\"Unsupported file format: {ext}\")\n        return None\n",
      "asOf": "2026-11-17"
    },
    "F26": {
      "label": "Project function reference, streamlit",
      "display": "chat_pandas_df.py · load_data()",
      "asOf": "2026-11-17"
    },
    "F27": {
      "label": "Project repository, streamlit",
      "display": "langchain-ai/streamlit-agent",
      "asOf": "2026-11-17"
    },
    "F28": {
      "label": "Project stars, langchain-ai/streamlit-agent",
      "display": "1.6K",
      "asOf": "2026-11-17"
    },
    "F29": {
      "label": "Project push date, langchain-ai/streamlit-agent",
      "display": "Aug 2024",
      "asOf": "2024-08-04"
    },
    "F30": {
      "label": "Library name, dash",
      "display": "Dash",
      "asOf": "2026-11-17"
    },
    "F31": {
      "label": "Monthly downloads, dash",
      "display": "7.9M",
      "asOf": "2026-11-16"
    },
    "F32": {
      "label": "License, dash",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "Package release, dash",
      "display": "4.5.0, Oct 2026",
      "asOf": "2026-10-29"
    },
    "F34": {
      "label": "Package release date, dash",
      "display": "Oct 2026",
      "asOf": "2026-10-29"
    },
    "F35": {
      "label": "Repository stars, dash",
      "display": "24.5K",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "Reactive updates, dash",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "Data tables, dash",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "Plotly charts, dash",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "Multi-page apps, dash",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "Install, dash",
      "display": "pip install dash\npip install pandas",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "What it does, dash",
      "display": "Builds reactive Python web applications with explicit component callbacks.",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "strengths lead, dash",
      "display": "Connects controls with explicit callbacks",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "strengths, dash",
      "display": "Map component inputs to the outputs a Python function should update.",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "strengths lead, dash",
      "display": "Includes Plotly graph components",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "strengths, dash",
      "display": "Display Plotly-powered charts through the bundled Graph component.",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "limitations lead, dash",
      "display": "Legacy DataTable is deprecated",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "limitations, dash",
      "display": "Use Dash AG Grid for new editable table interfaces.",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "limitations lead, dash",
      "display": "Worker memory stays separate",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "limitations, dash",
      "display": "Store shared callback state outside mutable process-local global variables.",
      "asOf": "2026-11-17"
    },
    "F50": {
      "label": "Quickstart, dash",
      "display": "from dash import Dash, html, dcc, callback, Output, Input\nimport plotly.express as px\nimport pandas as pd\n\ndf = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/gapminder_unfiltered.csv')\n\napp = Dash()\n\n# Requires Dash 2.17.0 or later\napp.layout = [\n    html.H1(children='Title of Dash App', style={'textAlign':'center'}),\n    dcc.Dropdown(df.country.unique(), 'Canada', id='dropdown-selection'),\n    dcc.Graph(id='graph-content')\n]\n\n@callback(\n    Output('graph-content', 'figure'),\n    Input('dropdown-selection', 'value')\n)\ndef update_graph(value):\n    dff = df[df.country==value]\n    return px.line(dff, x='year', y='pop')\n\nif __name__ == '__main__':\n    app.run(debug=True)\n\n",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Project function, dash",
      "display": "def generate_control_card():\n    # ...\n    return html.Div(\n        id=\"control-card\",\n        children=[\n            html.P(\"Select Clinic\"),\n            dcc.Dropdown(\n                id=\"clinic-select\",\n                options=[{\"label\": i, \"value\": i} for i in clinic_list],\n                value=clinic_list[0],\n            ),\n            html.Br(),\n            html.P(\"Select Check-In Time\"),\n            dcc.DatePickerRange(\n                id=\"date-picker-select\",\n                start_date=dt(2014, 1, 1),\n                end_date=dt(2014, 1, 15),\n                min_date_allowed=dt(2014, 1, 1),\n                max_date_allowed=dt(2014, 12, 31),\n                initial_visible_month=dt(2014, 1, 1),\n            ),\n            html.Br(),\n            html.Br(),\n            html.P(\"Select Admit Source\"),\n            dcc.Dropdown(\n                id=\"admit-select\",\n                options=[{\"label\": i, \"value\": i} for i in admit_list],\n                value=admit_list[:],\n                multi=True,\n            ),\n            html.Br(),\n            # html.Div(\n            #     id=\"reset-btn-outer\",\n            #     children=html.Button(id=\"reset-btn\", children=\"Reset\", n_clicks=0),\n            # ),\n        ],\n    )\n",
      "asOf": "2026-11-17"
    },
    "F52": {
      "label": "Project function reference, dash",
      "display": "app.py · generate_control_card()",
      "asOf": "2026-11-17"
    },
    "F53": {
      "label": "Project repository, dash",
      "display": "plotly/dash-sample-apps",
      "asOf": "2026-11-17"
    },
    "F54": {
      "label": "Project stars, plotly/dash-sample-apps",
      "display": "3.3K",
      "asOf": "2026-11-17"
    },
    "F55": {
      "label": "Project push date, plotly/dash-sample-apps",
      "display": "Jan 2025",
      "asOf": "2025-01-15"
    },
    "F56": {
      "label": "Library name, panel",
      "display": "Panel",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "Monthly downloads, panel",
      "display": "1.2M",
      "asOf": "2026-11-16"
    },
    "F58": {
      "label": "License, panel",
      "display": "BSD",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "Package release, panel",
      "display": "1.10.0, Oct 2026",
      "asOf": "2026-10-23"
    },
    "F60": {
      "label": "Package release date, panel",
      "display": "Oct 2026",
      "asOf": "2026-10-23"
    },
    "F61": {
      "label": "Repository stars, panel",
      "display": "5.8K",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "Reactive updates, panel",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "Data tables, panel",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "Plotly charts, panel",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "Multi-page apps, panel",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "Output formats, panel",
      "display": "HTML, PNG",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "Install, panel",
      "display": "pip install panel hvplot",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "What it does, panel",
      "display": "Builds interactive dashboards from Python widgets, plots, and layouts.",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "strengths lead, panel",
      "display": "Binds widgets to Python functions",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "strengths, panel",
      "display": "Update a displayed function result when its bound widget values change.",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "strengths lead, panel",
      "display": "Saves standalone HTML snapshots",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "strengths, panel",
      "display": "Export an application snapshot without requiring an active application server.",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "limitations lead, panel",
      "display": "Static interaction needs bounded state",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "limitations, panel",
      "display": "Embed predefined widget states when the exported page must work without Python.",
      "asOf": "2026-11-17"
    },
    "F75": {
      "label": "limitations lead, panel",
      "display": "PNG export needs browser dependencies",
      "asOf": "2026-11-17"
    },
    "F76": {
      "label": "limitations, panel",
      "display": "Install the required browser export dependencies before saving a PNG snapshot.",
      "asOf": "2026-11-17"
    },
    "F77": {
      "label": "Quickstart, panel",
      "display": "import hvplot.pandas\nimport numpy as np\nimport pandas as pd\nimport panel as pn\n\nPRIMARY_COLOR = \"#0072B5\"\nSECONDARY_COLOR = \"#B54300\"\nCSV_FILE = (\n    \"https://raw.githubusercontent.com/holoviz/panel/main/examples/assets/occupancy.csv\"\n)\n\npn.extension(design=\"material\", sizing_mode=\"stretch_width\")\n\n@pn.cache\ndef get_data():\n  return pd.read_csv(CSV_FILE, parse_dates=[\"date\"], index_col=\"date\")\n\ndata = get_data()\n\ndef transform_data(variable, window, sigma):\n    \"\"\"Calculates the rolling average and identifies outliers\"\"\"\n    avg = data[variable].rolling(window=window).mean()\n    residual = data[variable] - avg\n    std = residual.rolling(window=window).std()\n    outliers = np.abs(residual) > std * sigma\n    return avg, avg[outliers]\n\ndef get_plot(variable=\"Temperature\", window=30, sigma=10):\n    \"\"\"Plots the rolling average and the outliers\"\"\"\n    avg, highlight = transform_data(variable, window, sigma)\n    return avg.hvplot(\n        height=300, legend=False, color=PRIMARY_COLOR\n    ) * highlight.hvplot.scatter(color=SECONDARY_COLOR, padding=0.1, legend=False)\n\nvariable_widget = pn.widgets.Select(label=\"variable\", value=\"Temperature\", options=list(data.columns))\nwindow_widget = pn.widgets.IntSlider(label=\"window\", value=30, start=1, end=60)\nsigma_widget = pn.widgets.IntSlider(label=\"sigma\", value=10, start=0, end=20)\n\nbound_plot = pn.bind(\n    get_plot, variable=variable_widget, window=window_widget, sigma=sigma_widget\n)\n\npn.template.MaterialTemplate(\n    site=\"Panel\",\n    title=\"Getting Started App\",\n    sidebar=[variable_widget, window_widget, sigma_widget],\n    main=[bound_plot],\n).servable(); # The ; is needed in the notebook to not display the template. Its not needed in a script\n\n",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "Project function, panel",
      "display": "def _execute_pending_query_with(self, user_prompt, old_sources):\n    # ...\n    # Remove views from widget\n    with edit_readonly(self._chat_input):\n        self._chat_input.param.update(\n            value_input=\"\",\n            value_uploaded={},\n            views=[],\n        )\n\n    # Build message with new sources info\n    new_sources = [\n        source for source in self.context.get(\"sources\", [])\n        if source not in old_sources\n    ]\n    source_names = [f\"**{src.name}**: {', '.join(src.get_tables())}\" for src in new_sources]\n    source_view = Markdown(\n        \"Added sources:\\n\" + \"\\n\".join(f\"- {name}\" for name in source_names),\n        sizing_mode=\"stretch_width\"\n    ) if new_sources else None\n\n    self._update_main_view()\n    msg = Column(user_prompt, source_view) if source_view else user_prompt\n    self.interface.send(msg, respond=True)\n",
      "asOf": "2026-11-17"
    },
    "F79": {
      "label": "Project function reference, panel",
      "display": "ui.py · _execute_pending_query_with()",
      "asOf": "2026-11-17"
    },
    "F80": {
      "label": "Project repository, panel",
      "display": "holoviz/lumen",
      "asOf": "2026-11-17"
    },
    "F81": {
      "label": "Project stars, holoviz/lumen",
      "display": "332",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "Project push date, holoviz/lumen",
      "display": "Nov 2026",
      "asOf": "2026-11-13"
    },
    "F83": {
      "label": "Library name, solara",
      "display": "Solara",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "Monthly downloads, solara",
      "display": "62.8K",
      "asOf": "2026-11-16"
    },
    "F85": {
      "label": "License, solara",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "Package release, solara",
      "display": "1.66.3, Nov 2026",
      "asOf": "2026-11-10"
    },
    "F87": {
      "label": "Package release date, solara",
      "display": "Nov 2026",
      "asOf": "2026-11-10"
    },
    "F88": {
      "label": "Repository stars, solara",
      "display": "2.2K",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "Reactive updates, solara",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "Data tables, solara",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "Plotly charts, solara",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "Multi-page apps, solara",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "Install, solara",
      "display": "pip install solara",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "What it does, solara",
      "display": "Builds reactive Python web interfaces from reusable components and state.",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "strengths lead, solara",
      "display": "Updates components from reactive values",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "strengths, solara",
      "display": "Rerender components automatically when the reactive values they use change.",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "strengths lead, solara",
      "display": "Separates reactive state by session",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "strengths, solara",
      "display": "Keep each browser tab or user session’s reactive values independent.",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "limitations lead, solara",
      "display": "Hooks need stable call order",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "limitations, solara",
      "display": "Call hooks at component top level, outside conditions, loops, and nested functions.",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "limitations lead, solara",
      "display": "Widget pages retain their state",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "limitations, solara",
      "display": "Regular ipywidget pages run once and retain state when users navigate back.",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Quickstart, solara",
      "display": "import solara\n\n# Declare reactive variables at the top level. Components using these variables\n# will be re-executed when their values change.\nsentence = solara.reactive(\"Solara makes our team more productive.\")\nword_limit = solara.reactive(10)\n\n\n@solara.component\ndef Page():\n    # Calculate word_count within the component to ensure re-execution when reactive variables change.\n    word_count = len(sentence.value.split())\n\n    solara.SliderInt(\"Word limit\", value=word_limit, min=2, max=20)\n    solara.InputText(label=\"Your sentence\", value=sentence, continuous_update=True)\n\n    # Display messages based on the current word count and word limit.\n    if word_count >= int(word_limit.value):\n        solara.Error(f\"With {word_count} words, you passed the word limit of {word_limit.value}.\")\n    elif word_count >= int(0.8 * word_limit.value):\n        solara.Warning(f\"With {word_count} words, you are close to the word limit of {word_limit.value}.\")\n    else:\n        solara.Success(\"Great short writing!\")\n\n\n# The following line is required only when running the code in a Jupyter notebook:\nPage()\n",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Project function, solara",
      "display": "@solara.component\ndef UserInputs(user_params, on_change=None):\n    # ...\n    for name, options in user_params.items():\n\n        def change_handler(value, name=name):\n            on_change(name, value)\n\n        if isinstance(options, Slider):\n            slider_class = (\n                solara.SliderFloat if options.is_float_slider else solara.SliderInt\n            )\n            slider_class(\n                options.label,\n                value=options.value,\n                on_value=change_handler,\n                min=options.min,\n                max=options.max,\n                step=options.step,\n            )\n            continue\n\n        # label for the input is \"label\" from options or name\n        label = options.get(\"label\", name)\n        input_type = options.get(\"type\")\n        if input_type == \"SliderInt\":\n            solara.SliderInt(\n                label,\n                value=options.get(\"value\"),\n                on_value=change_handler,\n                min=options.get(\"min\"),\n                max=options.get(\"max\"),\n                step=options.get(\"step\"),\n            )\n        elif input_type == \"SliderFloat\":\n            solara.SliderFloat(\n                label,\n                value=options.get(\"value\"),\n                on_value=change_handler,\n                min=options.get(\"min\"),\n                max=options.get(\"max\"),\n                step=options.get(\"step\"),\n            )\n        elif input_type == \"Select\":\n            solara.Select(\n                label,\n                value=options.get(\"value\"),\n                on_value=change_handler,\n                values=options.get(\"values\"),\n            )\n        elif input_type == \"Checkbox\":\n            solara.Checkbox(\n                label=label,\n                on_value=change_handler,\n                value=options.get(\"value\"),\n            )\n\n        elif input_type == \"InputText\":\n\n            def input_change_handler(value, name=name):\n                converted = value\n                with contextlib.suppress(ValueError, TypeError):\n                    converted = int(value)\n                    on_change(name, converted)\n                    return\n                with contextlib.suppress(ValueError, TypeError):\n                    converted = float(value)\n                on_change(name, converted)\n\n            solara.InputText(\n                label=label,\n                on_value=input_change_handler,\n                value=str(options.get(\"value\")),\n            )\n        else:\n            raise ValueError(f\"{input_type} is not a supported input type\")\n",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Project function reference, solara",
      "display": "solara_viz.py · UserInputs()",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "Project repository, solara",
      "display": "mesa/mesa",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Project stars, mesa/mesa",
      "display": "4.0K",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Project push date, mesa/mesa",
      "display": "Nov 2026",
      "asOf": "2026-11-15"
    },
    "F109": {
      "label": "Developer need",
      "display": "Script-based data apps",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "Why choose streamlit",
      "display": "Python-script interface construction",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "Developer need in introduction",
      "display": "script-based data apps",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "When to consider dash",
      "display": "explicit component callbacks fit the interaction model better",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "Developer need",
      "display": "Explicit component-to-component callbacks",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "Why choose dash",
      "display": "declared callback inputs and outputs",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "Developer need in introduction",
      "display": "explicit component-to-component callbacks",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "When to consider panel",
      "display": "existing Python functions should bind directly to widgets",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "Developer need",
      "display": "Existing functions and widget controls",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "Why choose panel",
      "display": "reactive function binding",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "Developer need in introduction",
      "display": "existing functions and widget controls",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "When to consider solara",
      "display": "reusable reactive components fit the interface structure",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "Developer need",
      "display": "Reusable reactive components",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "Why choose solara",
      "display": "component updates driven by reactive values",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "Developer need in introduction",
      "display": "reusable reactive components",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "Page introduction",
      "display": "Python dashboard libraries let web developers arrange application widgets into dashboard layouts.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "FAQ: What is the best dashboard library for Python?",
      "display": "Streamlit updates script-based interfaces through its rerun model.",
      "asOf": "2026-11-17"
    },
    "F126": {
      "label": "FAQ: What is the best dashboard library for Python?",
      "display": "Dash connects component values through callbacks.",
      "asOf": "2026-11-17"
    },
    "F127": {
      "label": "FAQ: What is the best dashboard library for Python?",
      "display": "Panel binds widget values to ordinary Python functions.",
      "asOf": "2026-11-17"
    },
    "F128": {
      "label": "FAQ: What is the best dashboard library for Python?",
      "display": "Solara rerenders components when the reactive values they use change.",
      "asOf": "2026-11-17"
    },
    "F129": {
      "label": "FAQ: Does Streamlit rerun the whole script after every interaction?",
      "display": "A full-script rerun is the default for widget interactions; individual widgets and other execution controls can change that behavior.",
      "asOf": "2026-11-17"
    },
    "F130": {
      "label": "FAQ: Are Streamlit cached resources shared between users?",
      "display": "Cached values are available to all users by default; session-scoped caching or Session State can isolate them.",
      "asOf": "2026-11-17"
    },
    "F131": {
      "label": "FAQ: Are Streamlit cached resources shared between users?",
      "display": "Globally cached resource objects must be thread safe across concurrent sessions.",
      "asOf": "2026-11-17"
    },
    "F132": {
      "label": "FAQ: Should a new Dash app use DataTable or AG Grid?",
      "display": "Dash DataTable is deprecated; the project recommends migrating to the separately installed Dash AG Grid package.",
      "asOf": "2026-11-17"
    },
    "F133": {
      "label": "FAQ: Can Dash callbacks share mutable global variables?",
      "display": "Callbacks must not modify global variables; worker processes do not share memory, so changes are not synchronized.",
      "asOf": "2026-11-17"
    },
    "F134": {
      "label": "FAQ: Can I save a Python dashboard as a standalone HTML file?",
      "display": "Panel saves standalone HTML snapshots and can embed a bounded set of widget states.",
      "asOf": "2026-11-17"
    },
    "F135": {
      "label": "FAQ: Can I save a Python dashboard as a standalone HTML file?",
      "display": "General Python-backed interactions still need a running kernel or server unless their states can be embedded.",
      "asOf": "2026-11-17"
    },
    "F136": {
      "label": "FAQ: Why does a Solara hook fail inside a conditional?",
      "display": "Hooks depend on stable call order and must stay at component or custom-hook top level.",
      "asOf": "2026-11-17"
    },
    "F137": {
      "label": "FAQ: Do these frameworks support Plotly charts?",
      "display": "Streamlit exposes plotly_chart and requires the Plotly package.",
      "asOf": "2026-11-17"
    },
    "F138": {
      "label": "FAQ: Do these frameworks support Plotly charts?",
      "display": "Panel has a Plotly pane.",
      "asOf": "2026-11-17"
    },
    "F139": {
      "label": "FAQ: Do these frameworks support Plotly charts?",
      "display": "Solara renders Plotly figure objects with event support.",
      "asOf": "2026-11-17"
    },
    "F140": {
      "label": "Library name, streamlit",
      "display": "Streamlit",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Monthly downloads, streamlit",
      "display": "23.9M",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "License, streamlit",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "Package release, streamlit",
      "display": "1.67.0",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "Package release date, streamlit",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Install, streamlit",
      "display": "pip install streamlit",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "Quickstart, streamlit",
      "display": "import streamlit as st\n\nx = st.slider(\"Select a value\")\nst.write(x, \"squared is\", x * x)\n",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Repository stars, streamlit",
      "display": "46.4K",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Plotly figure display, streamlit",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Inline notebook apps, streamlit",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Execution model, streamlit",
      "display": "Python script reruns after interactions",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Project function, streamlit",
      "display": "@st.cache_data(ttl=\"2h\")\ndef load_data(uploaded_file):\n    try:\n        ext = os.path.splitext(uploaded_file.name)[1][1:].lower()\n    except:\n        ext = uploaded_file.split(\".\")[-1]\n    if ext in file_formats:\n        return file_formats[ext](uploaded_file)\n    else:\n        st.error(f\"Unsupported file format: {ext}\")\n        return None",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Project source file, streamlit",
      "display": "streamlit_agent/chat_pandas_df.py",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "Project full_name, streamlit",
      "display": "langchain-ai/streamlit-agent",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Project stargazers_count, streamlit",
      "display": "1.6K",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Library name, dash",
      "display": "Dash",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Monthly downloads, dash",
      "display": "8.2M",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "License, dash",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Package release, dash",
      "display": "4.5.0",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Package release date, dash",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Install, dash",
      "display": "pip install dash",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Quickstart, dash",
      "display": "from dash import Dash, html\napp = Dash()\napp.layout = html.Div('Hello, Dash!')\napp.run()\n",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "Repository stars, dash",
      "display": "24.5K",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Plotly figure display, dash",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Inline notebook apps, dash",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Interaction model, dash",
      "display": "Declared input/output callbacks update chart/component properties",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Project function, dash",
      "display": "def generate_control_card():\n    \"\"\"\n\n    :return: A Div containing controls for graphs.\n    \"\"\"\n    return html.Div(\n        id=\"control-card\",\n        children=[\n            html.P(\"Select Clinic\"),\n            dcc.Dropdown(\n                id=\"clinic-select\",\n                options=[{\"label\": i, \"value\": i} for i in clinic_list],\n                value=clinic_list[0],\n            ),\n            html.Br(),\n            html.P(\"Select Check-In Time\"),\n            dcc.DatePickerRange(\n                id=\"date-picker-select\",\n                start_date=dt(2014, 1, 1),\n                end_date=dt(2014, 1, 15),\n                min_date_allowed=dt(2014, 1, 1),\n                max_date_allowed=dt(2014, 12, 31),\n                initial_visible_month=dt(2014, 1, 1),\n            ),\n            html.Br(),\n            html.Br(),\n            html.P(\"Select Admit Source\"),\n            dcc.Dropdown(\n                id=\"admit-select\",\n                options=[{\"label\": i, \"value\": i} for i in admit_list],\n                value=admit_list[:],\n                multi=True,\n            ),\n            html.Br(),\n            # html.Div(\n            #     id=\"reset-btn-outer\",\n            #     children=html.Button(id=\"reset-btn\", children=\"Reset\", n_clicks=0),\n            # ),\n        ],\n    )",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Project source file, dash",
      "display": "apps/dash-clinical-analytics/app.py",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Project full_name, dash",
      "display": "plotly/dash-sample-apps",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Project stargazers_count, dash",
      "display": "3.3K",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Library name, bokeh",
      "display": "Bokeh",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "Monthly downloads, bokeh",
      "display": "6.5M",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "License, bokeh",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Package release, bokeh",
      "display": "3.10.2",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Package release date, bokeh",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Install, bokeh",
      "display": "pip install bokeh",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "Quickstart, bokeh",
      "display": "from bokeh.plotting import figure, show\np = figure()\np.line([1, 2, 3], [1, 4, 9])\nshow(p)\n",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Official description, bokeh",
      "display": "Builds interactive plots and applications in the browser from Python.",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Quickstart source file, bokeh",
      "display": "first_steps/first_steps_1 (API recipe)",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Repository stars, bokeh",
      "display": "20.5K",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Plotly figure display, bokeh",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Inline notebook apps, bokeh",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Rendering model, bokeh",
      "display": "Bokeh models serialize to BokehJS in browser",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Project function, bokeh",
      "display": "def autoload_js_script(doc, resources, token, element_id, app_path, absolute_url, absolute=False):\n    resources = Resources.from_bokeh(resources, absolute=absolute)\n    bundle = bundle_resources(doc.roots, resources)\n\n    render_items = [RenderItem(token=token, elementid=element_id, use_for_title=False)]\n    bundle.add(Script(script_for_render_items({}, render_items, app_path=app_path, absolute_url=absolute_url)))\n\n    return AUTOLOAD_JS.render(bundle=bundle, elementid=element_id)",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Project source file, bokeh",
      "display": "panel/io/server.py",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "Project full_name, bokeh",
      "display": "holoviz/panel",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Project stargazers_count, bokeh",
      "display": "5.8K",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Library name, gradio",
      "display": "Gradio",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Monthly downloads, gradio",
      "display": "6.3M",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "License, gradio",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Package release, gradio",
      "display": "6.32.0",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Package release date, gradio",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Install, gradio",
      "display": "pip install gradio",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "Quickstart, gradio",
      "display": "import gradio as gr\n\ndef greet(name, intensity):\n return \"Hello, \" + name + \"!\" * int(intensity)\n\ndemo = gr.Interface(\n fn=greet,\n inputs=[\"text\", \"slider\"],\n outputs=[\"text\"],\n api_name=\"predict\"\n)\n\ndemo.launch()\n",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Official description, gradio",
      "display": "Builds interfaces for interacting with trained machine learning models.",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Quickstart source file, gradio",
      "display": "info.description (published README first demo)",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "Repository stars, gradio",
      "display": "44.1K",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "Plotly figure display, gradio",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Inline notebook apps, gradio",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "App role, gradio",
      "display": "Interactive interfaces and custom Blocks apps",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Project function, gradio",
      "display": "def create_app(self):\n        import gradio as gr\n\n        # Gradio 5.x requires type=\"messages\", but Gradio 6 removed this parameter\n        type_messages_kwarg = {\"type\": \"messages\"} if gr.__version__.startswith(\"5\") else {}\n\n        chatbot = gr.Chatbot(\n            label=\"Agent\",\n            avatar_images=(\n                None,\n                \"https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/smolagents/mascot_smol.png\",\n            ),\n            latex_delimiters=[\n                {\"left\": r\"$$\", \"right\": r\"$$\", \"display\": True},\n                {\"left\": r\"$\", \"right\": r\"$\", \"display\": False},\n                {\"left\": r\"\\[\", \"right\": r\"\\]\", \"display\": True},\n                {\"left\": r\"\\(\", \"right\": r\"\\)\", \"display\": False},\n            ],\n            **type_messages_kwarg,\n        )\n\n        demo = gr.ChatInterface(\n            fn=self._stream_response,\n            chatbot=chatbot,\n            title=self.name.replace(\"_\", \" \").capitalize(),\n            multimodal=self.file_upload_folder is not None,\n            save_history=True,\n            **type_messages_kwarg,\n        )\n        return demo",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Project source file, gradio",
      "display": "src/smolagents/gradio_ui.py",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Project full_name, gradio",
      "display": "huggingface/smolagents",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Project stargazers_count, gradio",
      "display": "30.5K",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Library name, nicegui",
      "display": "NiceGUI",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "Monthly downloads, nicegui",
      "display": "1.3M",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "License, nicegui",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Package release, nicegui",
      "display": "4.0.0",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Package release date, nicegui",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Install, nicegui",
      "display": "pip install nicegui",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Quickstart, nicegui",
      "display": "from nicegui import ui\n\nui.label('Hello NiceGUI!')\nui.button('BUTTON', on_click=lambda: ui.notify('button was pressed'))\n\nui.run()\n",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "Official description, nicegui",
      "display": "Creates web-based user interfaces with Python.",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Quickstart source file, nicegui",
      "display": "info.description (published README usage)",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "Repository stars, nicegui",
      "display": "16.3K",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Plotly figure display, nicegui",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Inline notebook apps, nicegui",
      "display": "Undocumented",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Execution model, nicegui",
      "display": "Backend-first browser UI served by FastAPI",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "Project function, nicegui",
      "display": "async def settings_page(user: User):\n    configs = await views.get_user_configs(user)\n\n    async def update_custom_css(e):\n        await views.update_custom_css(user, e.value)\n        views.apply_theme_style()\n\n    def toggle_dark_mode(value: bool):\n        set_user_dark_mode(value)\n        if value:\n            ui.dark_mode().enable()\n        else:\n            ui.dark_mode().disable()\n\n    with layout(title=\"Settings\"):\n        with ui.column().classes(\"w-[600px]\"):\n            # ui.label(\"Darkmode\").classes(\"text-lg font-bold\")\n            # with ui.row():\n            #     ui.button(\"Dark\", on_click=lambda: toggle_dark_mode(True))\n            #     ui.button(\"Light\", on_click=lambda: toggle_dark_mode(False))\n\n            ui.label(\"Custom CSS\").classes(\"text-lg font-bold\")\n            editor = ui.codemirror(\n                configs.custom_css or EDIT_ME, language=\"CSS\", theme=\"githubDark\"\n            ).classes(\"h-96\")\n            editor.on_value_change(update_custom_css)\n",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Project source file, nicegui",
      "display": "beaverhabits/frontend/settings_page.py",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Project full_name, nicegui",
      "display": "daya0576/beaverhabits",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Project stargazers_count, nicegui",
      "display": "1.9K",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "Library name, panel",
      "display": "Panel",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "Monthly downloads, panel",
      "display": "1.2M",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "License, panel",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "Package release, panel",
      "display": "1.10.0",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "Package release date, panel",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Install, panel",
      "display": "pip install panel",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Quickstart, panel",
      "display": "import panel as pn\npn.extension()\npn.pane.Markdown('Hello, Panel!').servable()\n",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "Repository stars, panel",
      "display": "5.8K",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Plotly figure display, panel",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "Inline notebook apps, panel",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Static publishing, panel",
      "display": "HTML export can embed a finite widget state space",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Project function, panel",
      "display": "def _execute_pending_query_with(self, user_prompt, old_sources):\n    \"\"\"Execute a query after files have been uploaded.\"\"\"\n    # Remove views from widget\n    with edit_readonly(self._chat_input):\n        self._chat_input.param.update(\n            value_input=\"\",\n            value_uploaded={},\n            views=[],\n        )\n\n    # Build message with new sources info\n    new_sources = [\n        source for source in self.context.get(\"sources\", [])\n        if source not in old_sources\n    ]\n    source_names = [f\"**{src.name}**: {', '.join(src.get_tables())}\" for src in new_sources]\n    source_view = Markdown(\n        \"Added sources:\\n\" + \"\\n\".join(f\"- {name}\" for name in source_names),\n        sizing_mode=\"stretch_width\"\n    ) if new_sources else None\n\n    self._update_main_view()\n    msg = Column(user_prompt, source_view) if source_view else user_prompt\n    self.interface.send(msg, respond=True)",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Project source file, panel",
      "display": "lumen/ai/ui.py",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "Project full_name, panel",
      "display": "holoviz/lumen",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Project stargazers_count, panel",
      "display": "332",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "Library name, shiny",
      "display": "Shiny for Python",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "Monthly downloads, shiny",
      "display": "314.0K",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "License, shiny",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "Package release, shiny",
      "display": "1.9.0",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "Package release date, shiny",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "Install, shiny",
      "display": "pip install shiny",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "Quickstart, shiny",
      "display": "from shiny import  App, Inputs, Outputs, Session, ui\napp_ui = ui.page_fluid(\"Hello Shiny!\")\ndef server(input: Inputs, output: Outputs, session: Session):\n    pass\napp = App(app_ui, server)\n",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "Official description, shiny",
      "display": "Provides a web development framework for Python.",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "Quickstart source file, shiny",
      "display": "api/core/App (official example)",
      "asOf": "2026-11-20"
    },
    "F245": {
      "label": "Repository stars, shiny",
      "display": "1.8K",
      "asOf": "2026-11-20"
    },
    "F246": {
      "label": "Plotly figure display, shiny",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F247": {
      "label": "Inline notebook apps, shiny",
      "display": "Undocumented",
      "asOf": "2026-11-20"
    },
    "F248": {
      "label": "Static hosting alternative, shiny",
      "display": "Shinylive runs Python in browser through WebAssembly/Pyodide",
      "asOf": "2026-11-20"
    },
    "F249": {
      "label": "Project function, shiny",
      "display": "def app_ui(request):\n            drawer_children = [\n                ui.card(\n                    ui.card_header(\n                        bs_icon(\"table\"),\n                        \" Data — \",\n                        ui.output_text(\"data_card_header_text\", inline=True),\n                    ),\n                    ui.output_data_frame(\"dt\"),\n                    show_query_footer(\n                        target=\"sql_query_section\",\n                        content=ui.output_ui(\"sql_output\"),\n                        right=ui.output_ui(\"ui_reset\", inline=True),\n                    ),\n                )\n            ]\n            if multi_table:\n                drawer_children.append(\n                    ui.accordion(\n                        *[\n                            ui.accordion_panel(\n                                tags.span(\n                                    name,\n                                    ui.output_ui(f\"active_badge_{name}\", inline=True),\n                                ),\n                                ui.output_data_frame(f\"dt_{name}\"),\n                                show_query_footer(\n                                    target=f\"sql_query_section_{name}\",\n                                    content=ui.output_ui(f\"sql_view_{name}\"),\n                                ),\n                                value=name,\n                            )\n                            for name in table_names\n                        ],\n                        id=\"data_sources_accordion\",\n                        open=False,\n                    )\n                )\n            return self.page(\n                ui.span(\"querychat with \", ui.code(first_table_name)),\n                window_title=\"querychat\",\n                drawer=chat_drawer(\n                    *drawer_children,\n                    title=\"Data Sources\",\n                    open=False,\n                    width=DRAWER_WIDTH,\n                ),\n            )",
      "asOf": "2026-11-20"
    },
    "F250": {
      "label": "Project source file, shiny",
      "display": "pkg-py/src/querychat/_shiny.py",
      "asOf": "2026-11-20"
    },
    "F251": {
      "label": "Project full_name, shiny",
      "display": "posit-dev/querychat",
      "asOf": "2026-11-20"
    },
    "F252": {
      "label": "Project stargazers_count, shiny",
      "display": "213",
      "asOf": "2026-11-20"
    },
    "F253": {
      "label": "Library name, reflex",
      "display": "Reflex",
      "asOf": "2026-11-20"
    },
    "F254": {
      "label": "Monthly downloads, reflex",
      "display": "287.7K",
      "asOf": "2026-11-20"
    },
    "F255": {
      "label": "License, reflex",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F256": {
      "label": "Package release, reflex",
      "display": "0.11.0",
      "asOf": "2026-11-20"
    },
    "F257": {
      "label": "Package release date, reflex",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F258": {
      "label": "Install, reflex",
      "display": "pip install reflex",
      "asOf": "2026-11-20"
    },
    "F259": {
      "label": "Quickstart, reflex",
      "display": "import reflex as rx\n\ndef index():\n    return rx.heading('Hello, Reflex!')\n\napp = rx.App()\napp.add_page(index)\n",
      "asOf": "2026-11-20"
    },
    "F260": {
      "label": "Official description, reflex",
      "display": "Builds web apps in pure Python.",
      "asOf": "2026-11-20"
    },
    "F261": {
      "label": "Quickstart source file, reflex",
      "display": "getting-started/introduction (API recipe)",
      "asOf": "2026-11-20"
    },
    "F262": {
      "label": "Repository stars, reflex",
      "display": "29.0K",
      "asOf": "2026-11-20"
    },
    "F263": {
      "label": "Plotly figure display, reflex",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F264": {
      "label": "Inline notebook apps, reflex",
      "display": "Undocumented",
      "asOf": "2026-11-20"
    },
    "F265": {
      "label": "Hosting boundary, reflex",
      "display": "Static frontend plus separate Python state/event backend",
      "asOf": "2026-11-20"
    },
    "F266": {
      "label": "Project function, reflex",
      "display": "def action_bar() -> rx.Component:\n    \"\"\"The action bar to send a new message.\"\"\"\n    return rx.center(\n        rx.vstack(\n            rx.form(\n                rx.hstack(\n                    rx.input(\n                        rx.input.slot(\n                            rx.tooltip(\n                                rx.icon(\"info\", size=18),\n                                content=\"Enter a question to get a response.\",\n                            )\n                        ),\n                        placeholder=\"Type something...\",\n                        id=\"question\",\n                        flex=\"1\",\n                    ),\n                    rx.button(\n                        \"Send\",\n                        loading=State.processing,\n                        disabled=State.processing,\n                        type=\"submit\",\n                    ),\n                    max_width=\"50em\",\n                    margin=\"0 auto\",\n                    align_items=\"center\",\n                ),\n                reset_on_submit=True,\n                on_submit=State.process_question,\n            ),\n            rx.text(\n                \"ReflexGPT may return factually incorrect or misleading responses. Use discretion.\",\n                text_align=\"center\",\n                font_size=\".75em\",\n                color=rx.color(\"mauve\", 10),\n            ),\n            rx.logo(margin_block=\"-1em\"),\n            width=\"100%\",\n            padding_x=\"16px\",\n            align=\"stretch\",\n        ),\n        position=\"sticky\",\n        bottom=\"0\",\n        left=\"0\",\n        padding_y=\"16px\",\n        backdrop_filter=\"auto\",\n        backdrop_blur=\"lg\",\n        border_top=f\"1px solid {rx.color('mauve', 3)}\",\n        background_color=rx.color(\"mauve\", 2),\n        align=\"stretch\",\n        width=\"100%\",\n    )",
      "asOf": "2026-11-20"
    },
    "F267": {
      "label": "Project source file, reflex",
      "display": "chat/components/chat.py",
      "asOf": "2026-11-20"
    },
    "F268": {
      "label": "Project full_name, reflex",
      "display": "reflex-dev/reflex-chat",
      "asOf": "2026-11-20"
    },
    "F269": {
      "label": "Project stargazers_count, reflex",
      "display": "342",
      "asOf": "2026-11-20"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best Python dashboard libraries Streamlit Dash Panel Solara data apps code examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
