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
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Sonar - Write Clean Python Code. Always.
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • Revelo Payroll - Free Global Payroll designed for tech teams
  • 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

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • 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

    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

    Textual is a Rapid Application Development framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and (coming soon) 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) 🧡

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • starfyre

    A reactive SSR Python Web Framework for Front-End Applications

  • pyscript

    Home Page: https://pyscript.net Examples: https://pyscript.net/examples

    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