Quart

Languages and libraries

web framework

SHOW HN2018

173points
42comments
#220of 2,155 in 2018
Top 11%of 2018 by points

How HN took it

CuriousMostly questions and neutral comments

3 positive, 7 neutral or asking, 0 mixed, 4 critical, out of 14 comments about the project. Thread score -0.02.

Execution: 0 for, 2 againstIdea: 1 for, 0 againstDesign: 0 for, 1 againstDocs: 1 for, 0 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

  • Flask compatibility is useful

    From 2 comments
    • This looks really nice, and Flask compatibility is great. One question, in the asyncio docs (really nice BTW, I hadn't tried that out yet and instantly grasped your example) you…
      mcintyre1994 on HN
    • Sanic is Flask-like, whereas Quart is the Flask-API (some Flask extensions work with Quart https://pgjones.gitlab.io/quart/flask_extensions.html#supported-extensions). The key…
      pgjones on HN
  • Docs are clear

    From 1 comment
    • This looks really nice, and Flask compatibility is great. One question, in the asyncio docs (really nice BTW, I hadn't tried that out yet and instantly grasped your example) you…
      mcintyre1994 on HN
  • Faster than Flask with uvloop

    From 1 comment
    • It isn't compared with other languages, however Quart sits well in the Python ecosystem, especially with uvloop. I wrote some of this up…
      pgjones on HN

Objections

  • No async database layer; SQLAlchemy ORM incompatible

    From 2 comments
    • I think this is all well and good, especially the compatibility with Flask. However, the biggest issue is the data access layer. Most flask apps will use an ORM like…
      gamesbrainiac on HN
    • The sqlalchemy orm and asyncio are incompatible. There are packages like aiopg that allow for sqlalchemy to be used as a functional sql layer. If you want to use the orm parts of…
      dfee on HN
  • asyncio is hard to understand

    From 2 comments
    • > asyncio is just one (really really poor) implementation of async/await coroutines on Python. Are there other implementations or is it just that the one existing (asyncio) is…
      BrandoElFollito on HN
    • What's wrong with asyncio? For those of us not in the loop.
      emmelaich on HN
  • Asyncio not fast enough for speed-focused users

    From 1 comment
    • Cool! Might try this for some smaller project. It's a shame that asyncio is so slow though, this framework isn't going to win any speed awards I guess.
      friend-monoid on HN

Requests

  • Adopt ASGI as common interface

    From 1 comment
    • Neat, good to see more `asyncio` frameworks coming along. Python's going to have a bit of an awkward time with two completely different sets of ecosystem for threaded vs. asyncio…
      tomchristie on HN
  • SQLAlchemy integration docs

    From 1 comment
    • could you add sqlalchemy integration docs as well ? because that is where I get stuck when thinking about async. How does psycogreen work with you asyncio apis ?
      sandGorgon on HN

Questions

  • Why host on GitLab instead of GitHub

    From 1 comment
  • Do await calls on request properties need brackets

    From 1 comment
    • This looks really nice, and Flask compatibility is great. One question, in the asyncio docs (really nice BTW, I hadn't tried that out yet and instantly grasped your example) you…
      mcintyre1994 on HN

Alternatives named

  • Sanic

    From 1 comment
    • Isn't this what sanic was supposed to be? https://github.com/channelcat/sanic
      mixmastamyk on HN
  • Flask

    From 1 comment
    • I've seen a few libraries like this now. Are they supposed to supersede the non asyncio versions? Is there any reason to still use flask? Will they be maintained like forks?
      cup-of-tea on HN
  • GINO and Peewee-Async

    From 1 comment
    • Have you any experience with GINO (https://github.com/fantix/gino) or Peewee-Async (https://github.com/05bit/peewee-async)? These look to be feasible alternatives.
      pgjones on HN
  • Trio and Curio

    From 1 comment
    • There are other implementations, such as Curio (https://github.com/dabeaz/curio) or Trio (https://github.com/python-trio/trio). Both are simpler and more hand-holdy (and less…
      Fukkaudeku 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/16902896)