Sebastian è il creatore di FastAPI, l'ho incontrato al PyCon Italia 2025 e ho avuto la possibilità di intervistarlo.

Un framework "hipster" a cui pochi prestano attenzione - Intervista a Sebastián Ramírez alias tiangolo

09-07-2025

Sono stato al PyCon Italia 2025 ed ho avuto la possibilità di incontrare sviluppatori famosi, ascoltare i loro talk e aprirmi a punti di vista differenti dal mio.

Puoi leggere della mia esperienza in questo articolo: Prima volta al PyCon Italia.

Ho avuto modo di conoscere Sebastián Ramírez. Immagino che per molti non servano altre presentazioni, ma per i pochi che ancora non lo conoscono: è maggiormente noto come il creatore di FastAPI, ma è anche dietro ad altri progetti come Typer, SQLModel.

Dopo aver scattato il selfie in copertina gli ho chiesto se fosse interessato a rilasciarmi una breve intervista da pubblicare sul mio blog. Sebastián si è dimostrato fin da subito molto entusiasta e ci siamo scambiati i contatti.

Sebastián Ramírez
Sebastián Ramírez (click per ingrandire)

Dopo l’evento appena sono tornato a casa gli ho scritto una email, ricordandogli del nostro incontro e di quanto ci eravamo detti. Mi ha risposto dopo qualche giorno confermando il suo entusiasmo e rispondendo a tutte le mie domande ❤️

Prima di scrivere le domande mi sono documentato molto, ho letto e visto tante altre sue interviste precedenti con altri creator e quasi tutti si focalizzano sul perchè lui abbia deciso di creare FastAPI, perchè abbia scelto Python e non altri linguaggi di programmazione, sulle performance di FastAPI… Insomma, aspetti molto tecnici!

Nessuno aveva mai affrontato l’aspetto “emotivo” e tutto quello che c’è dietro l’aspetto tecnico. Così ho deciso di farlo io e spero che sia interessante per molti.

Ci siamo scritti in inglese, riporterò sia domanda che risposta in originale con una traduzione in italiano.


How much time passed from when FastAPI was just a project on your PC to when it started getting attention from the community and companies?

Did you adopt any specific strategies to help it spread?

  1. Quanto tempo è passato da quando FastAPI era solo un progetto sul tuo PC al momento in cui ha iniziato a ricevere attenzione dalla community e dalle aziende?
  2. Hai adottato strategie particolari per favorirne la diffusione?

I was building it on my free time and weekends, it was still a work in progress, but the company I was working for adopted it right away. There was an urgent deadline, and the speedup building the product was necessary, despite the risk of adopting something new (or that didn’t even fully exist 😂).

But I suspect it was solving a problem that was important to many, because 2 or 3 months after making it public, it was already being used by companies like Microsoft.

The main “strategy” I had was to have great docs and a great developer experience, the things I wish I had when I was starting to learn how to use these things. And it seems that was appreciated by others too!

Lo stavo sviluppando nel mio tempo libero e durante i fine settimana, era ancora in piena fase di sviluppo, ma l’azienda per cui lavoravo all’epoca lo adottò immediatamente. C’era una scadenza molto stretta ed era necessario accelerare lo sviluppo del prodotto, nonostante il rischio di adottare qualcosa di nuovo (o che di fatto non esisteva ancora del tutto 😂).

Ma ho il sospetto che stesse risolvendo un problema sentito da molti, perché 2 o 3 mesi dopo averlo reso pubblico, veniva già utilizzato da aziende come Microsoft.

La mia “strategia” principale è stata quella di fornire una documentazione eccellente e un’ottima developer experience, in pratica le cose che avrei voluto avere io quando ho iniziato a imparare a usare questi strumenti. E a quanto pare, è una cosa che è stata apprezzata anche dagli altri!


What emotions did you feel seeing FastAPI grow so quickly?

I imagine there was an initial hype, but then? Pride, anxiety, fear?

  1. Come ti sei sentito nel vedere FastAPI crescere così rapidamente?
  2. C’è stato un momento di hype iniziale immagino, ma poi? Orgoglio, ansia, paura

I thought I could make something that would solve the specific problems I cared about. I thought I could do it for myself, and I wanted to use it in the projects I worked on. I hoped it could help others as well. But I never expected it to grow this way.

I thought it could become one of those hipster frameworks that 50 people around the world rave about and no one else pays attention. 😅 That already felt like “success” to me, in my imagination, if I could help others with it.

Although I hoped that if I managed to make something really good, it could help many others, too. But I never expected to get to this point, the success of FastAPI went way beyond what I had imagined.

I did indeed have all those emotions, and they keep coming.

The impostor syndrome is also real 😅 Inside, I feel I don’t deserve all the appreciation I receive, but I’m very glad and fortunate that people and luck have been so good to me. I don’t feel like I had any type of birthright to make something this successful and useful. I don’t feel like I have all the answers to everything or that I know everything to the smallest detail. I’m constantly studying and learning new things, there’s so much I don’t know yet.

But I have also had the chance to meet many of my heroes, and to take a peek under the hood to understand how it all works. And I have seen over and over that the main component to building things that are useful to others is just hard work, rolling up your sleeves, and solving a problem that is important to you and others. So, in the end, the feelings that are overwhelming don’t matter that much if you’re willing to do that, work hard on solving a problem that you care about.

Pensavo di poter creare qualcosa che risolvesse i problemi specifici che mi stavano a cuore. Pensavo di poterlo fare per me stesso, e volevo usarlo nei progetti a cui lavoravo. Speravo che potesse aiutare anche altri. Ma non mi sarei mai aspettato che crescesse in questo modo.

Credevo che potesse diventare uno di quei framework “hipster” di cui cinquanta persone in tutto il mondo parlano con entusiasmo e a cui nessun altro presta attenzione 😅 Quello, nella mia immaginazione, mi sembrava già un “successo”, se fossi riuscito ad aiutare altre persone.

Certo, speravo che se fossi riuscito a creare qualcosa di veramente valido, avrebbe potuto aiutare anche molti altri. Ma non mi sarei mai aspettato di arrivare a questo punto; il successo di FastAPI è andato ben oltre ciò che avevo immaginato.

Ho provato davvero tutte quelle emozioni, e continuano ad arrivare.

Anche la sindrome dell’impostore è reale 😅 Dentro di me, sento di non meritare tutto l’apprezzamento che ricevo, ma sono molto felice e fortunato che le persone e la sorte siano state così buone con me. Non sento di avere avuto alcun tipo di diritto di nascita per creare qualcosa di così utile e di successo. Non sento di avere la risposta a tutto o di conoscere ogni cosa nei minimi dettagli. Studio e imparo costantemente cose nuove, c’è così tanto che ancora non so.

Ma ho anche avuto la possibilità di incontrare molti dei miei eroi e di dare un’occhiata “sotto il cofano” per capire come funziona il tutto. E ho visto più e più volte che la componente principale per costruire cose che siano utili agli altri è semplicemente il duro lavoro, rimboccarsi le maniche e risolvere un problema che sta a cuore a te e agli altri. Quindi, alla fine, i sentimenti travolgenti non contano poi così tanto se sei disposto a fare proprio questo: lavorare sodo per risolvere un problema a cui tieni.


The technical part is just one side of the project: who supported you, if anyone, in managing the entrepreneurial aspects, such as growth, partnerships, or financial sustainability?

  1. La parte tecnica è solo un lato del progetto: chi ti ha supportato, se c’è stato qualcuno, nella gestione degli aspetti imprenditoriali, come la crescita, le partnership o la sostenibilità economica?

That was and has not been a solved problem for any open source project. In my case it was juggling my free time and weekends, trying to get open source time from work, etc.

On 2023 I got the chance to be the first Fellow in the Sequoia Open Source Fellowship, they covered my expenses and I could work full time on open source that year. That was great, I was able to have continuous focus on hard problems and solve things that I wouldn’t have been able otherwise. But that was an extremely privileged position for me. In most of the cases, and for most open source projects, it’s just a delicate arrangement that normally just leans on a handful of people’s voluntary work on their free time.

Questo è un problema che non è mai stato risolto per nessun progetto open source. Nel mio caso, si trattava di destreggiarsi tra il tempo libero e i fine settimana, cercare di ritagliare del tempo da dedicare all’open source durante l’orario di lavoro, ecc.

Nel 2023 ho avuto l’opportunità di essere il primo Fellow della Sequoia Open Source Fellowship, hanno coperto le mie spese e per quell’anno ho potuto lavorare a tempo pieno sull’open source. È stato fantastico, ho potuto concentrarmi senza interruzioni su problemi complessi e risolvere questioni che altrimenti non avrei potuto affrontare. Ma quella è stata una posizione privilegiata per me. Nella maggior parte dei casi, e per la maggior parte dei progetti open source, si tratta solo di un delicato equilibrio che normalmente si regge unicamente sul lavoro volontario di una manciata di persone, svolto nel loro tempo libero.


What has been the most meaningful recognition you’ve received for the work you’ve done over the years?

Not just financial, I mean something that made you feel the gratitude of the community or the companies using FastAPI.

  1. Quale è il miglior riconoscimento che hai avuto per il lavoro che hai svolto in tutti questi anni?
  2. Non parlo necessariamente di riconoscimenti economici, intendo qualcosa che ti ha fatto percepire la gratitudine della community o delle aziende che utilizzano FastAPI

It’s probably when someone comes and tells me how FastAPI was useful for them, that’s awesome. For example, to find a job, build a product before a deadline, pass a study exam. Also when people tell me the products and companies where they are using FastAPI, it’s great to hear all those use cases where FastAPI is useful. And also, sometimes people have given me very flattering compliments that make me blush. 😊

But probably those cases where someone just tells me how FastAPI helped them in their work, build a product, make money for them and their family and close ones, and that it was much easier and faster with FastAPI, that feels great.

I love hearing all these things, it’s very energizing and motivating. Sometimes I go back and read some of these things just to motivate myself.

Probabilmente è quando qualcuno viene a dirmi quanto FastAPI sia stato utile per lui, è una sensazione fantastica. Ad esempio, per trovare un lavoro, creare un prodotto entro una scadenza, superare un esame. Anche quando le persone mi raccontano in quali prodotti e aziende stanno usando FastAPI, è bellissimo sentire tutti quei casi d’uso in cui si rivela utile. E poi, a volte le persone mi hanno fatto dei complimenti così lusinghieri da farmi arrossire 😊

Ma forse i casi più belli sono quelli in cui qualcuno mi racconta semplicemente di come FastAPI lo abbia aiutato nel suo lavoro, a creare un prodotto, a guadagnare per sé, per la sua famiglia e per i suoi cari, e di come sia stato tutto molto più facile e veloce grazie a FastAPI… ecco, quella è una sensazione meravigliosa.

Adoro sentire queste cose, mi dà un’energia e una motivazione incredibili. A volte vado a rileggere alcuni di questi messaggi solo per darmi la carica.


I imagine that today you’re mainly focused on the development of FastAPI Cloud, which you presented at the recent PyCon Italia.

Besides FastAPI Cloud, what other projects are you currently working on?

Do you tend to focus on one project at a time, or do you work on multiple things in parallel?

How do you organize your workday? Do you have tools or techniques that help you stay productive?

  1. Ad oggi immagino che tu sia principalmente impegnato nello sviluppo di FastAPI Cloud che hai presentato al recente PyCon Italia.
  2. Oltre a FastAPI Cloud, su quali altri progetti stai lavorando attualmente?
  3. Tendi a concentrarti su un progetto per volta, o lavori in parallelo su più cose?
  4. Come organizzi la tua giornata lavorativa? Hai strumenti o tecniche che ti aiutano nella produttività?

I’m still figuring out how to manage time, attention, and effort. I try to balance and put the focus on whatever would have the biggest and most important impact. But that the same time I need to make sure everything keeps working in parallel. Fortunately, I have an amazing team, so everyone is autonomously making sure each project continues making progress. But it’s still important to pay attention to everything. And also many coding projects, features, etc., that I work on directly.

I have tried many, many productivity tools and techniques. I can’t say that there’s one flawless trick, productivity tip or workflow, or tool that works perfectly… none of them do the tasks for me. 😂 I guess it’s useful to experiment with different things and figure out what helps and what doesn’t, and try to adapt and use the things that help.

Sto ancora cercando di capire come gestire tempo, attenzione ed energie. Cerco di trovare un equilibrio e di concentrarmi su ciò che può avere l’impatto più grande e importante. Ma allo stesso tempo devo assicurarmi che tutto continui a funzionare in parallelo. Per fortuna ho un team fantastico, quindi ognuno si assicura in autonomia che ogni progetto continui a fare progressi. Ma è comunque importante prestare attenzione a tutto, e anche ai molti progetti di codice, funzionalità, ecc., a cui lavoro direttamente.

Ho provato moltissimi strumenti e tecniche di produttività. Non posso dire che esista un trucco impeccabile, un consiglio, un flusso di lavoro o uno strumento che funzioni alla perfezione… nessuno di loro fa il lavoro al posto mio. 😂 Immagino sia utile sperimentare con cose diverse, capire cosa aiuta e cosa no, e cercare di adattarsi e usare gli strumenti che si rivelano davvero utili.


Have you ever gone through a period of intense pressure or stress that almost made you want to give up?

What keeps your motivation so high to keep going?

Maybe now it’s easier to stay motivated given FastAPI’s popularity, but has it always been like that?

  1. Hai mai affrontato un periodo di forte pressione o stress che ti ha quasi fatto venire la voglia di mollare tutto?
  2. Cosa tiene così alta la tua motivazione nell’andare avanti?
  3. Magari adesso è più facile mantenere alta la motivazione vista la popolarità che sta riscuotendo FastAPI, ma è sempre stato così?

I have been through periods of pressure and stress, definitely. Also, periods of having to focus a bit more on one thing and then a bit less on the others.

I don’t always have my motivation high enough. For example, although most of the conversations are positive, the negative ones, especially bitter or critical, affect a lot and drain a lot. That’s not just for me, for most people. So that affects. Fortunately, there are very highly positive conversations that help balance that out and bring the motivation up again.

With FastAPI and the other tools, a lot of the motivation was to get out there the ideas I had, that I thought could be valuable to others, and I felt it would be great to have them out there. For example, for the docs, or the design of the tools, I was just building the thing I wish existed when I was learning about it.

As an example, with SQLModel, I wanted to explain the concepts, but not just how to use the library, but also what for, which meant also explaining a bit of SQL, and that meant explaining a bit about databases. I wish I had that when I was starting, so that motivated me to write the library that way, and all the docs with diagrams, etc, explaining everything.

I wanted others to have the thing I wished I had, so that motivated me to build it. And then, I kept using the tools I built, so I keep optimizing how to use them with features and things that I know could be improved and I wish were there, also paying attention to how others are using them. It’s also that I’m the first user, I’m solving problems for myself, that always helps a lot in guiding and motivating everything.

Ho attraversato periodi di pressione e di stress, assolutamente sì. E anche periodi in cui ho dovuto concentrarmi un po' di più su una cosa e un po' di meno sulle altre.

La mia motivazione non è sempre al massimo. Ad esempio, anche se la maggior parte delle conversazioni sono positive, quelle negative, specialmente se astiose o critiche, hanno un grande impatto e prosciugano molte energie. Questo non vale solo per me, ma per la maggior parte delle persone. Quindi è un fattore che pesa. Per fortuna, ci sono conversazioni estremamente positive che aiutano a bilanciare la situazione e a far risalire la motivazione.

Con FastAPI e gli altri strumenti, gran parte della spinta veniva dal voler tirare fuori le idee che avevo, che pensavo potessero essere preziose per gli altri, e sentivo che sarebbe stato fantastico renderle pubbliche. Ad esempio, per la documentazione o per il design degli strumenti, stavo semplicemente costruendo ciò che avrei voluto esistesse quando stavo imparando.

Un esempio: con SQLModel, volevo spiegare i concetti, ma non solo come usare la libreria, ma anche a cosa serve. E questo significava spiegare anche un po' di SQL, che a sua volta significava spiegare un po' i database. Avrei voluto avere io una risorsa del genere quando stavo iniziando, e questo mi ha motivato a scrivere la libreria in quel modo, con tutta la documentazione, i diagrammi, ecc., per spiegare ogni cosa.

Volevo che gli altri avessero ciò che io avrei voluto avere, e questo mi ha spinto a crearlo. E poi, dato che continuo a usare gli strumenti che ho creato, continuo anche a ottimizzarli con funzionalità e migliorie che so essere utili o che vorrei ci fossero, prestando sempre attenzione a come li usano gli altri. Il fatto è che sono io il primo utente, risolvo problemi prima di tutto per me stesso: questo aiuta sempre molto a guidare e a motivare l’intero processo.


Ringrazio infinitamente Sebastián per la sua interessante intervista e per il suo amore per l’open source.

Sono davvero contento per il sostegno che la community che è riuscito a costruire gli restituisce. Lo ammiro tantissimo per tutto quello che è riuscito a fare e dovremmo tutti seguire il suo esempio: tanto studio, tanta curiosità e la voglia di creare qualcosa di utile anche per altri può soltanto portare a traguardi positivi per tutti.

AP

Antonio Porcelli @progressify

Antonio Porcelli

@progressify

Commenta l'articolo

Se non visualizzi il blocco dei commenti è perchè non hai accettato i cookies.
Cancella le preferenze del tuo browser per questo sito, aggiorna la pagina ed accetta i cookies.