<story><title>FastAPI framework, high perf, easy to learn, fast to code, ready for production</title><url>https://fastapi.tiangolo.com/</url></story><parent_chain><item><author>scrollaway</author><text>Thanks for FastAPI. It&amp;#x27;s a super exciting project.&lt;p&gt;As a very long time Django developer I see the potential for it to finally replace Django in jamstack-type apps. But two things are direly missing for that to be the default IMO:&lt;p&gt;1. A flexible admin. Django&amp;#x27;s admin allows for super fast prototyping. I wrote an accounting&amp;#x2F;bookkeeping app recently which I used for myself, and I didn&amp;#x27;t write a UI for it at all for several &lt;i&gt;months&lt;/i&gt; because I could just get by with the admin. (Filed two quarterlies with just the admin as UI!)&lt;p&gt;2. An ORM that is as natural as Django&amp;#x27;s. I love SQLAlchemy but its syntax is a huge turnoff. I imagine the &amp;quot;right solution&amp;quot; combines the best of both worlds; maybe some Django-like syntax wrapper around SQLAlchemy. … with typings.&lt;p&gt;What do you think, is there progress in those areas?</text></item><item><author>tiangolo</author><text>Hey! FastAPI creator here&lt;p&gt;Nice surprise to find this shared on HN!&lt;p&gt;It&amp;#x27;s also great to see so many products&amp;#x2F;projects and companies using it successfuly in production!&lt;p&gt;I see a bunch of questions related to &amp;quot;how FastAPI compares to X&amp;quot;, FastAPI was built from the learnings from other awesome tools, and is built on top of great packages. You can read a lot more about it here: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;fastapi.tiangolo.com&amp;#x2F;alternatives&amp;#x2F;&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;fastapi.tiangolo.com&amp;#x2F;alternatives&amp;#x2F;&lt;/a&gt;&lt;p&gt;If you have questions or problems, you can ask in GitHub issues: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;tiangolo&amp;#x2F;fastapi&amp;#x2F;issues&amp;#x2F;new&amp;#x2F;choose&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;tiangolo&amp;#x2F;fastapi&amp;#x2F;issues&amp;#x2F;new&amp;#x2F;choose&lt;/a&gt;&lt;p&gt;There&amp;#x27;s also an official Discord chat: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;discord.gg&amp;#x2F;VQjSZaeJmf&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;discord.gg&amp;#x2F;VQjSZaeJmf&lt;/a&gt;&lt;p&gt;And finally, if you use FastAPI, I would love your input in the first user survey (you could win stickers ): &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;tripetto.app&amp;#x2F;run&amp;#x2F;RXZ6OLDBXX?s=hn&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;tripetto.app&amp;#x2F;run&amp;#x2F;RXZ6OLDBXX?s=hn&lt;/a&gt;</text></item></parent_chain><comment><author>tiangolo</author><text>Ha! You just described 2 of the main future projects I have planned!&lt;p&gt;1. An admin UI based on OpenAPI, which makes it independent of DB.&lt;p&gt;2. A mix between Pydantic and SQLAlchemy, to use the same Pydantic model for both (I have some experiment in progress).&lt;p&gt;I just need to find the time for it all, but it&amp;#x27;s certainly planned.</text></comment>
<story><title>FastAPI framework, high perf, easy to learn, fast to code, ready for production</title><url>https://fastapi.tiangolo.com/</url></story><parent_chain><item><author>scrollaway</author><text>Thanks for FastAPI. It&amp;#x27;s a super exciting project.&lt;p&gt;As a very long time Django developer I see the potential for it to finally replace Django in jamstack-type apps. But two things are direly missing for that to be the default IMO:&lt;p&gt;1. A flexible admin. Django&amp;#x27;s admin allows for super fast prototyping. I wrote an accounting&amp;#x2F;bookkeeping app recently which I used for myself, and I didn&amp;#x27;t write a UI for it at all for several &lt;i&gt;months&lt;/i&gt; because I could just get by with the admin. (Filed two quarterlies with just the admin as UI!)&lt;p&gt;2. An ORM that is as natural as Django&amp;#x27;s. I love SQLAlchemy but its syntax is a huge turnoff. I imagine the &amp;quot;right solution&amp;quot; combines the best of both worlds; maybe some Django-like syntax wrapper around SQLAlchemy. … with typings.&lt;p&gt;What do you think, is there progress in those areas?</text></item><item><author>tiangolo</author><text>Hey! FastAPI creator here&lt;p&gt;Nice surprise to find this shared on HN!&lt;p&gt;It&amp;#x27;s also great to see so many products&amp;#x2F;projects and companies using it successfuly in production!&lt;p&gt;I see a bunch of questions related to &amp;quot;how FastAPI compares to X&amp;quot;, FastAPI was built from the learnings from other awesome tools, and is built on top of great packages. You can read a lot more about it here: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;fastapi.tiangolo.com&amp;#x2F;alternatives&amp;#x2F;&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;fastapi.tiangolo.com&amp;#x2F;alternatives&amp;#x2F;&lt;/a&gt;&lt;p&gt;If you have questions or problems, you can ask in GitHub issues: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;tiangolo&amp;#x2F;fastapi&amp;#x2F;issues&amp;#x2F;new&amp;#x2F;choose&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;tiangolo&amp;#x2F;fastapi&amp;#x2F;issues&amp;#x2F;new&amp;#x2F;choose&lt;/a&gt;&lt;p&gt;There&amp;#x27;s also an official Discord chat: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;discord.gg&amp;#x2F;VQjSZaeJmf&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;discord.gg&amp;#x2F;VQjSZaeJmf&lt;/a&gt;&lt;p&gt;And finally, if you use FastAPI, I would love your input in the first user survey (you could win stickers ): &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;tripetto.app&amp;#x2F;run&amp;#x2F;RXZ6OLDBXX?s=hn&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;tripetto.app&amp;#x2F;run&amp;#x2F;RXZ6OLDBXX?s=hn&lt;/a&gt;</text></item></parent_chain><comment><author>Townley</author><text>Also a big django fan taking the plunge (we&amp;#x27;ve started using FastAPI in production at work, and really love it!)&lt;p&gt;An admin interface would be wonderful, but given such a heavy API focus, I find Insomnia or Postman to work well enough for those interactions, so I haven&amp;#x27;t missed it all that much.&lt;p&gt;Seconding the SQLAlchemy friction though. Built-in ORM support would really help cut down the boilerplate required to wire FastAPI&amp;#x2F;Starlette models into the database. I think django devs feel the issue more acutely since defining FastAPI objects feels so familiar to making django models. But at the end, rather than having to wire up DRF serializers and viewsets, you need to wire up the database.&lt;p&gt;One other benefit to taking a more opinionated approach to database interactions: with a sensible-defaults-but-customizable user model, FastAPI could offer token based authentication&amp;#x2F;authorization out of the box by implementing something similar to Django+DRF+Djoser endpoints&lt;p&gt;Anyway, seconding the gratitude for this wonderful project, and really looking forward to using it more!</text></comment>