Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Add FastAPI CLI, the new fastapi command #11522

Merged
merged 9 commits into from
May 2, 2024
Merged

✨ Add FastAPI CLI, the new fastapi command #11522

merged 9 commits into from
May 2, 2024

Conversation

tiangolo
Copy link
Owner

@tiangolo tiangolo commented May 2, 2024

✨ Add FastAPI CLI, the new fastapi command

@tiangolo tiangolo added the feature New feature or request label May 2, 2024
@tiangolo
Copy link
Owner Author

tiangolo commented May 2, 2024

📝 Docs preview for commit c98c151 at: https://a98e0cab.fastapitiangolo.pages.dev

@tiangolo tiangolo changed the title ✨ Add FastAPI CLI support, with the new fastapi command ✨ Add FastAPI CLI, the new fastapi command May 2, 2024
@tiangolo tiangolo merged commit d71be59 into master May 2, 2024
44 checks passed
@tiangolo tiangolo deleted the fastapi-cli branch May 2, 2024 22:37
@rafalkrupinski
Copy link

So now my servers will depend on some CLI packages? 🤔

@Olegt0rr
Copy link

Olegt0rr commented May 3, 2024

Thanks for this great feature.

It also would be nice to support module's __main__.py as well as main.py

@zoola969
Copy link

zoola969 commented May 3, 2024

Why do we need it for production? Could you make it optional dependency?

@JuanPerdomo00
Copy link
Contributor

Thanks for this functionality, it really is great. fastapi fan. @tiangolo 🏆

n8sty added a commit to n8sty/titiler that referenced this pull request May 6, 2024
vincentsarago pushed a commit to developmentseed/titiler that referenced this pull request May 7, 2024
@metakot
Copy link

metakot commented May 7, 2024

Really, why, of all the things...

@parfeniukink
Copy link

So now my servers will depend on some CLI packages? 🤔

I think you still available to run pip install fastapi --no-deps if this is an issue for you.
Probably, it depends on the package manager that you use, but anyway, I guess that piptools, poetry or pipenv allow you to achieve that, aren't they?

@rafalkrupinski
Copy link

rafalkrupinski commented May 21, 2024

@parfeniukink poetry doesn't, besides, I don't want to manage dependencies myself.

I'm migrating over to Litestar, it has more than one maintainer.

hsuanchi pushed a commit to hsuanchi/fastapi that referenced this pull request May 26, 2024
@parfeniukink
Copy link

@parfeniukink poetry doesn't, besides, I don't want to manage dependencies myself.

I'm migrating over to Litestar, it has more than one maintainer.

Good choice I guess :)
I've heart that it is quite stable.

@rafalkrupinski
Copy link

Good choice I guess :)
I've heart that it is quite stable.

We'll see ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants