fastapi / typer

Typer, build great CLIs. Easy to code. Based on Python type hints.
https://typer.tiangolo.com/
MIT License
15.78k stars 672 forks source link

[QUESTION] Is the project still maintained? #300

Open jaklan opened 3 years ago

jaklan commented 3 years ago

Hi all,

quick question as in the title - is the project actually alive? The last change was commited on 16 Aug 2020, there's no active dev branch, there are 28 open pull requests with no answers, some crucial issues like no support for Click 8.x are not addressed... It looks very alarming. CLI is the crucial part of many apps, so if the project is abandon - it would be really valuable to say it out loud and recommend people to switch back to Click.

Cc: @tiangolo

austinbutler commented 3 years ago

https://github.com/tiangolo/typer/issues/263

stefanoborini commented 3 years ago

I wonder more what's the point of yet another library to handle CLI interaction when there's already a ton out there that could simply be improved.

We are tired of having to relearn a new API for the same problem again and again.

And no. I don't choose the library. Whatever project I have to modify choses it.

ssbarnea commented 3 years ago

While I really liked typer, but as the same time I am glad I used it only one experimental project so far, where it would not be more than a couple of hours to remove it.

Projects relying on a single person do have a high risk of suddenly becoming unmaintained. I know a couple of teams that questioned even maintainability and API stability of click itself. Sometimes is better to stick with argparse.

I hope the situation will change for the better.

eteq commented 3 years ago

I wonder more what's the point of yet another library to handle CLI interaction when there's already a ton out there that could simply be improved.

I for one thing typer has a fresh take on this. Yes there are other libraries (and for that matter, the stdlib itself has two!), but typer's reliance on type annotations to make the syntax clean and expressive I think is a different take on this that really isn't "yet another library" - it's a unique solution to an old problem.

With that in mind, I do think the question in this post is important to get answered: the long-term sustainability of this project is critical for people wanting to use it downstream. But I think it's totally legit for you to answer "I need some other contributors/maintainers to help out with maintaining it", @tiangolo. I know that can be hard - I've struggled with it myself as a maintainer of open source packages. But I hope the interest in this thread and all the PRs show that there's enough excitement with the great work here to make it happen. And regardless of the answer, thanks for your work on this @tiangolo - new carefully thought-out ideas like this are the beating heart of the Python community, IMHO!

septatrix commented 3 years ago

A recent tweet from @tiangolo leads me to believe that development might speed up again.

tiangolo commented 3 years ago

Hey all! Thanks for the interest and discussion.

Yep, Typer is still maintained, in fact, I just released Typer 0.4.0, which is compatible with both Click 7 and Click 8. :tada:

But of course, it all depends on how much time I have available to dedicate to it.

A lot of my time is spent handling issues, replying to questions, etc. (here and in the other projects).

If you would like to see faster progress, you could help by answering questions from others, sponsoring, etc. https://typer.tiangolo.com/help-typer/#help-others-with-issues-in-github

jaklan commented 3 years ago

@tiangolo great to hear you are still with us! 😄 You haven't mentioned adding new maintainers as an option - what's the reason?

alexreg commented 3 years ago

@tiangolo Thanks for the reply. Just thought I'd ask again to see if you've considered adding other maintainers... Perhaps you have some long-time contributors you know who you could rely on? I too know the feeling of how much of a strain it can be to maintain OSS, and the best decision I made was adding maintainers who'd submitted a few PRs before and shown an interest in keeping the project going! :-)

bristea commented 2 years ago

The lack of answer to the most important question combined stats from https://github.com/tiangolo/typer/graphs/contributors do show that there is no desire to transform this into a community project. Typer is a wonderful showcase/portfolio project of @tiangolo and is likely to remain like this forever.

The fact that is hosted under a personal account should be another clue. In the end, it would be up to each one to decide if they want to make it a dependency of not. Sadly very few authors mention clearly the scope of their projects as they like the fame but they don't fancy the cost of becoming popular.

alexreg commented 2 years ago

@bristea Yes, I believe you're right. It could nevertheless be forked and continued as a project. I have been considering that myself. (It helps that it's licensed under MIT.)

RomainBrault commented 10 months ago

@tiangolo it's been a year without update and some important PR are ready to be merged.

Would it be possible to add some maintainer, as suggested, to keep this nice project alive?

I'm sadly considering moving back to click on my projects due to slow maintenance.

alexreg commented 10 months ago

@RomainBrault FYI it's been a while since my last release, but if tiangolo is not keen (or able to) maintain this project, I'm happy to accept PRs or even freature requests on my fork. I've already enhanced functionality a fair bit, and fixed several important bugs.