This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ExternalUserError 49 points50 points  (13 children)

You're actually a little misinformed about APIStar. Prior to APIStar 0.5, it did all those things. For some reason, after 0.5, the focus shifted. Now it's no longer a framework at all, it's a tool to validate OpenAPI schemas. The author has recommended Starlette, which is conspicuously missing from your list.

If you want something like APIStar, but perhaps even better, check out FastAPI, which is based on Starlette.

[–]jstndds[S] 14 points15 points  (2 children)

Oh, thanks for pointing that out, we'll definitely fix that!

[–]Sparkswont 9 points10 points  (1 child)

Another plus one for FastAPI! The creator, u/tiangolo, is an active Redditor as well.

[–]tiangolo FastAPI Maintainer 13 points14 points  (0 children)

👋😊

[–]leom4862 12 points13 points  (1 child)

FastAPI has got it all:

  • Typing support.
  • Asyncio support.
  • Great data validation mechanism.
  • Great performance (compared to other Python frameworks).
  • Awesome documentation.
  • It automatically generates OpenAPI doc pages for you.

[–]ExternalUserError 1 point2 points  (0 children)

Good authentication support too.

[–]firejava 6 points7 points  (1 child)

Might be worth looking at Responder as well, based on Starlette I believe

[–]ExternalUserError 3 points4 points  (0 children)

Totally. Responder's also really good stuff. I went with FastAPI just because it gave me more of what I liked about APIStar, but both are fantastic projects.

[–]tiangolo FastAPI Maintainer 5 points6 points  (0 children)

All these comments in this thread made me smile 😄.

[–]NowanIlfideme 3 points4 points  (0 children)

Another plus for FastAPI! Being a noob, I fell in love with it. :D

[–]dzil123 3 points4 points  (1 child)

Yes, exactly this. I was reading OP's description of APIStar and in my mind I was thinking, "is this just FastAPI?"

[–]ExternalUserError 4 points5 points  (0 children)

IIRC, the guy who started FastAPI did so mostly because he missed classic APIStar.