FastAPI

Languages and libraries

web framework

SHOW HN2019

88points
71comments
#546of 2,195 in 2019
Top 25%of 2019 by points

How HN took it

MixedNo clear lean

13 positive, 7 neutral or asking, 0 mixed, 4 critical, out of 24 comments about the project. Thread score +0.27.

Idea: 3 for, 3 againstDocs: 5 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

  • Documentation is clear and well done

    From 3 comments
    • Great documentation! The extra level of detail like explaining the command for running the server is super helpful for less experienced users.
      zedpm on HN
    • It's looks great. I've been looking for something like this. I like the documentation. It's very clear.
      darkwinx on HN
    • Best completion I've ever seen and a breath of fresh air. Love it.
      andres32a on HN
  • Works well in practice and looks polished

    From 2 comments
    • Been using it, works great.
      mahesh_rm on HN
    • Glad to hear that :)! Honestly, what you've built looks super solid and polished. In many ways, it's what I wanted hug to be - it's really inspiring to see someone build that.
      timothycrosley on HN

Objections

  • Go already offers equivalent validation and tooling

    From 2 comments
    • Another way to get Go like speed is to use Go. Go has an excellent built in http web server, and unlike Python it comes standard with a bug reducing type system and an easy and…
      ilovecaching on HN
    • > Yeah, the advantage here over Go would be to have automatic data validation, serialization, and documentation, all based on standards: OpenAPI and JSON Schema. Including…
      ilovecaching on HN
  • Another framework adds maintenance burden versus Django or Flask

    From 1 comment
    • honest,sincere question: i don't understand why people do this - build these frameworks. it's hundreds of independent labor hours and forgoes the key value prop of python (or…
      mlevental on HN

Questions

  • How does it compare to Falcon, Molten, or Flask?

    From 3 comments
    • Why should I use this instead of Falcon?
      rmdashrfstar on HN
    • How does this compare to https://moltenframework.com/? They both provide type hints and are inspired by API Star. Why should I use FastAPI over molten?
      qb on HN
    • For someone who is a little lost when somebody just says "API" ... Is this like flask but without jinja-templating?
      wodenokoto on HN

Alternatives named

  • Starlette

    From 1 comment
    • You should also check out starlette and other supporting projects that Tom Christie (of DRF fame) is working on right now. Both FastAPI and Responder are thin wrappers around…
      m_ke on HN
  • Molten

    From 1 comment
    • How does this compare to https://moltenframework.com/? They both provide type hints and are inspired by API Star. Why should I use FastAPI over molten?
      qb on HN
  • Flask

    From 1 comment
    • For someone who is a little lost when somebody just says "API" ... Is this like flask but without jinja-templating?
      wodenokoto on HN
  • Falcon

    From 1 comment
  • Hug

    From 1 comment
    • Yep, and Hug was one of the first tools I saw with this style of declaring parameters with types in the functions, along with APIStar. Great job! And thanks. It helped inspiring…
      tiangolo 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/19441195)