r/FastAPI • • Nov 26 '22

Question Is FastAPI missing contributors?

Post image
65 Upvotes

54 comments sorted by

View all comments

23

u/IMissEloquent75 Nov 26 '22

FastAPI seems to rely only on one person, why?

17

u/cant-find-user-name Nov 26 '22

That's how tiangolo operates. If i remember correctly all his repos have only him as the contributor. One of the main reasons there's a lot of open issues.

32

u/IMissEloquent75 Nov 26 '22

The man is impressive, but with 50k stars on GitHub, FastAPI should be maintained and improved by and with the community. Don't you think?

18

u/throw_away_17381 Nov 26 '22

This has been the concern and issue for a long time.

8

u/IMissEloquent75 Nov 26 '22

Did he ever explained why?

0

u/[deleted] Nov 26 '22

[deleted]

15

u/IMissEloquent75 Nov 26 '22

At this point, it is worrying... Linus Torvald, Taylor Otwell, and many others were considered dictators with code quality. Still, they accepted the community for what it could bring to their projects.

3

u/[deleted] Nov 27 '22

Yes. Pull requests have the discussion section and "approve" button to allow teamwork while keeping code quality high. Not being able to use these features is bad leadership.

14

u/[deleted] Nov 26 '22

We use FastAPI and it's great, but I've been eyeing Starlite just in case

2

u/XxDirectxX Nov 27 '22

Hey, how difficult do you think the switch from fastapi to starlite would be, and do you know whether there's good support for addons and all? kind of in the same boat.

2

u/[deleted] Nov 27 '22

Honestly? No clue. But if you’ve standardized your APIs at all, it may not be that difficult to convert. We’ve been using Jinja2 in order to generate a lot of boiler plate code. If the concepts in Fastapi conceptionally mapped to starlite it shouldn’t be that difficult to create some sort of translation.

2

u/monorepo Dec 23 '22

Starlite had a conversion example guide for {flask,fastapi,etc} -> starlite if it helps.

https://starlite-api.github.io/starlite/migration/

→ More replies (2)
→ More replies (1)

11

u/cant-find-user-name Nov 26 '22

It is a major concern. Fasapi having only one contributor is the main reason I don't want to use it anymore.

→ More replies (4)

4

u/Jonasks Nov 26 '22

https://news.ycombinator.com/item?id=29470729#29471609

If you create a high quality PR it will be looked at within reasonable time. You can contribute in many ways, such as reviewing PRs.

6

u/dmuth Nov 27 '22

There are 424 PRs going back to 2020.

I am pessimistic that submitting PRs is gonna help here.

9

u/IMissEloquent75 Nov 26 '22

No he’s not. 423 PR are currently open on GitHub. He’s only merging the PR with translations...

-7

u/Jonasks Nov 26 '22

How many did you help review? 😊

8

u/IMissEloquent75 Nov 26 '22

I’d like to, but with the current setup, the code will die waiting for approval, like the 423 other PR.

That's how you let the second-best contributors to your (excellent) package at 36 commits.

2

u/bdbsje Nov 26 '22

Can you just fork it and create a community version of fastapi?

8

u/IMissEloquent75 Nov 26 '22

I prefer to convince tiangolo to listen to the community first. His work is fantastic, but no one can build a cathedral without help.

→ More replies (2)

2

u/papertrailer Nov 26 '22

Writing code is more fun and exciting than managing a project.

Communicating ideas efficiently to other people can be more work than doing it yourself.

If it was such a big deal, forking is always a possibility.

None of these points contradict your basic point, with which I agree.

1

u/IMissEloquent75 Nov 26 '22

I don't think a fork would work here. When I discovered FastAPI, I saw enormous potential if the library became a framework like Ruby on Rails, Django, or my favorite, Laravel.

EloquentORM is the next step, and tiangolo has unique skills; I like diving into his source code and seeing how he built such an excellent proposal.

What I don't see is where it is going for the future, what we can expect and do (technically speaking) to help him make this rocket, together.

2

u/papertrailer Nov 26 '22

The one thing that is really missing from an enterprise point of view is an amin interface comparable to Django, but that supports multiple database backends.

I've actually been thinking about how to build such a thing.

2

u/jowilf Nov 30 '22

2

u/papertrailer Nov 30 '22

Fuck yeah!! 😘😘😘😘😘