After tearing my hair out writing JavaScript the last few days how close are we to Python in the browser?

This page summarizes the projects mentioned and recommended in the original post on /r/Python

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • nicegui

    Create web-based user interfaces with Python. The nice way.

  • Yes, we like Streamlit, too. But it is really painful when it comes to state handling and customizations. Thats why we created https://nicegui.io, which offers a very gentle learning curve for beginners (like Streamlit) but also provides advanced customization for experienced programmers, ensuring ease-of-use for basic UI plus feasibility for complex projects.

  • reflex

    🕸️ Web apps in pure Python 🐍

  • Check out pynecone

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • pyvibe

    Generate styled HTML pages from Python

  • I’ve noticed some new projects out there that are wrapping JavaScript, html and css in Python. Generally they seem to be based off Plotly Dash concepts, but those would be one way of writing a website using only Python. Here’s a repo that also names a couple other examples that may be of interest: https://github.com/pycob/pyvibe

  • MicroPyScript

    Discontinued MicroPyScript: A test harness for multiple runtimes in PyScript

  • Transcrypt

    Python 3.9 to JavaScript compiler - Lean, fast, open! -

  • Transcrypt is pretty usable for this.

  • textual

    The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser.

  • I don't think it is exactly what you're looking for, but Textual will be supporting something close to what I think you're after, soon. https://github.com/Textualize/textual

  • Svelte

    Cybernetically enhanced web apps

  • I agree with this! I found Svelte much much easier to learn than React and Vue (at least in terms of syntax) 🧡

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • starfyre

    A reactive, WASM based SSR Python Web Framework for Front-End Applications

  • pyscript

    Try PyScript: https://pyscript.com Examples: https://tinyurl.com/pyscript-examples Community: https://discord.gg/HxvBtukrg2

  • PyScript started as a usability layer around Pyodide for those not used to working in JS. It's now working on things like incorporating the Micropython runtime as an alternative, moving the interpreter to a worker thread, adding a plugins ecosystem, easier events API's, and more.

  • flet

    Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.

  • You might check out flet.dev. I haven't built any yet with it but it looks good. Flet is python to flutter. Works well.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts