view.py

Languages and libraries

web framework

SHOW HN2023

173points
113comments
#345of 3,109 in 2023
Top 12%of 2023 by points

How HN took it

CuriousMostly questions and neutral comments

4 positive, 18 neutral or asking, 0 mixed, 9 critical, out of 31 comments about the project. Thread score -0.09.

Idea: 2 for, 4 againstExecution: 0 for, 3 againstDocs: 0 for, 1 againstPerformance: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Simple like Flask with HTML in the same file

    From 1 comment
    • Wow I like it, simple like Flask, but with the HTML in the same file (as opposed to the jinja templates) which is a pattern I really like! Makes me wonder if you could integrate…
      evanharwin on HN
  • Good to see web stuff with Python

    From 1 comment
    • Wow I like it, simple like Flask, but with the HTML in the same file (as opposed to the jinja templates) which is a pattern I really like! Makes me wonder if you could integrate…
      evanharwin on HN

Objections

  • Not really a new framework; wraps existing servers like uvicorn

    From 1 comment
    • I briefly looked at the code and it seems like the actual server code is just based on third-party modules (e.g. uvicorn.) There's no socket code here and barely any mention of…
      Uptrenda on HN
  • Python is slow and has a high environmental footprint

    From 1 comment
    • Python is great when your goal is to have the highest environmental footprint.
      29athrowaway on HN
  • Unclear what 'modern' means in the description

    From 1 comment

Requests

  • Show a full site built with the framework beyond basic examples

    From 1 comment
    • Would like to see a simple site built on it besides basic examples (can even be used as a tutorial to the framework). The components seem interesting but feels like will quickly…
      forgotpwd16 on HN
  • Add a comparison with other Python web libraries

    From 1 comment
    • has someone wrote yet a good, brief comparison of this to the other Python web libs?
      syngrog66 on HN
  • Document the C-based performance hot paths in the readme

    From 1 comment
    • To what does it owe its lightning fast-ness, and how does it compare against other frameworks? Edit: It looks like some of the hot-paths are implemented in C. Interesting! (I…
      Retr0id on HN

Questions

  • Is it a web framework that compiles to JS, and how does state work?

    From 2 comments
    • I went over the docs and couldn’t find anything about state management and client/server actions. I’m guessing this would be similar to LiveView? If so, I’m not sure Python will…
      brap on HN
    • Then why compile to JS? And what happens when the client performs any actions, e.g clicks a button that should send an outgoing request either from the client or from the server?
      brap on HN
  • Why was it built and what makes it different?

    From 3 comments
    • Fantastic. Any working project brings value to the world. What did you learn from doing this one? What makes your framework different?
      lifeisstillgood on HN
    • Really cool! Why did you decide to start working on it? Because you wanted something simpler than what already exists, or just curiosity?
      zero-g on HN
    • Congrats on launching a working product! What's the rationale behind view.py?
      rmbyrro on HN
  • Is the author really 15 years old?

    From 1 comment
    • Are you really 15yrs old? is the biggest question here..
      dvektor on HN

Alternatives named

  • Flask

    From 1 comment
  • FastAPI

    From 1 comment
    • I would love something that combines FastAPI's simplicity for setup with Django-like completeness and integrations
      warthog on HN
  • Litestar

    From 1 comment
  • Django

    From 1 comment
    • You can use whatever you want, can't you? However, my opinion is that is a PITA that every Flask project has a different structure, unlike a "batteries included" framework like…
      nomdep on HN
  • web2py / py4web

    From 1 comment
    • It's in maintenance mode, and still has a role. However, the focus has moved to py4web [1] which has many of web2py's strengths (including the DAL), but with a more orthodox…
      glimmung on HN
  • Bottle

    From 1 comment
    • Bottle was decent before Flask. Couldn't we use that instead ?
      guggle on HN
  • Robyn

    From 1 comment
    • If I had to write a python webapp today, I’d probably try out robyn instead of flask. https://github.com/sparckles/robyn
      stock_toaster on HN
  • Streamsync

    From 1 comment
    • maybe streamsync [0] comes close to what you describe? "Streamsync is an open-source framework for creating data apps. Build user interfaces using a visual editor; write the…
      gobdovan on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/37448914)