fastapi-cli
Run and manage FastAPI apps from the command line with FastAPI CLI. ๐
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
โCITATION.cff file
Found CITATION.cff file -
โcodemeta.json file
Found codemeta.json file -
โ.zenodo.json file
Found .zenodo.json file -
โDOI references
-
โAcademic publication links
-
โCommitters with academic emails
-
โInstitutional organization owner
-
โJOSS paper metadata
-
โScientific vocabulary similarity
Low similarity (13.1%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
Run and manage FastAPI apps from the command line with FastAPI CLI. ๐
Basic Info
Statistics
- Stars: 497
- Watchers: 6
- Forks: 61
- Open Issues: 18
- Releases: 9
Topics
Metadata Files
README.md
FastAPI CLI
Source Code: https://github.com/fastapi/fastapi-cli
Run and manage FastAPI apps from the command line with FastAPI CLI. ๐
Description
FastAPI CLI is a command line program fastapi that you can use to serve your FastAPI app, manage your FastAPI project, and more.
When you install FastAPI (e.g. with pip install "fastapi[standard]"), it includes a package called fastapi-cli, this package provides the fastapi command in the terminal.
To run your FastAPI app for development, you can use the fastapi dev command:
That command line program called fastapi is FastAPI CLI.
FastAPI CLI takes the path to your Python program and automatically detects the variable with the FastAPI (commonly named app) and how to import it, and then serves it.
For production you would use fastapi run instead. ๐
Internally, FastAPI CLI uses Uvicorn, a high-performance, production-ready, ASGI server. ๐
fastapi dev
When you run fastapi dev, it will run on development mode.
By default, it will have auto-reload enabled, so it will automatically reload the server when you make changes to your code. This is resource intensive and could be less stable than without it, you should only use it for development.
By default it will listen on the IP address 127.0.0.1, which is the IP for your machine to communicate with itself alone (localhost).
fastapi run
When you run fastapi run, it will run on production mode by default.
It will have auto-reload disabled by default.
It will listen on the IP address 0.0.0.0, which means all the available IP addresses, this way it will be publicly accessible to anyone that can communicate with the machine. This is how you would normally run it in production, for example, in a container.
In most cases you would (and should) have a "termination proxy" handling HTTPS for you on top, this will depend on how you deploy your application, your provider might do this for you, or you might need to set it up yourself. You can learn more about it in the FastAPI Deployment documentation.
License
This project is licensed under the terms of the MIT license.
Owner
- Name: FastAPI
- Login: fastapi
- Kind: organization
- Website: https://tiangolo.com/github-fastapi/
- Twitter: fastapi
- Repositories: 6
- Profile: https://github.com/fastapi
FastAPI and friends open source projects. Created and managed by @tiangolo.
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: FastAPI CLI
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Sebastiรกn
family-names: Ramรญrez
email: tiangolo@gmail.com
identifiers:
repository-code: 'https://github.com/fastapi/fastapi-cli'
url: 'https://fastapi.tiangolo.com'
abstract: >-
Run and manage FastAPI apps from the command line with FastAPI CLI. ๐
keywords:
- fastapi
- typer
- fastapi-cli
license: MIT
GitHub Events
Total
- Create event: 62
- Issues event: 1
- Release event: 3
- Watch event: 147
- Delete event: 58
- Issue comment event: 82
- Push event: 106
- Pull request review comment event: 2
- Pull request review event: 12
- Pull request event: 137
- Fork event: 26
Last Year
- Create event: 62
- Issues event: 1
- Release event: 3
- Watch event: 147
- Delete event: 58
- Issue comment event: 82
- Push event: 106
- Pull request review comment event: 2
- Pull request review event: 12
- Pull request event: 137
- Fork event: 26
Committers
Last synced: 8 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Sebastiรกn Ramรญrez | t****o@g****m | 75 |
| github-actions | g****s@g****m | 58 |
| dependabot[bot] | 4****] | 21 |
| pre-commit-ci[bot] | 6****] | 3 |
| Patrick Arminio | p****o@g****m | 3 |
| Sofie Van Landeghem | s****g | 1 |
| PokkaKiyo | 3****o | 1 |
| Peter Kraft | p****t@g****m | 1 |
| Pedro Impulcetto | p****o@g****m | 1 |
| Flavien | c****t@f****r | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 4 months ago
All Time
- Total issues: 3
- Total pull requests: 252
- Average time to close issues: about 3 hours
- Average time to close pull requests: 15 days
- Total issue authors: 3
- Total pull request authors: 26
- Average comments per issue: 0.0
- Average comments per pull request: 0.69
- Merged pull requests: 93
- Bot issues: 0
- Bot pull requests: 156
Past Year
- Issues: 2
- Pull requests: 146
- Average time to close issues: N/A
- Average time to close pull requests: 15 days
- Issue authors: 2
- Pull request authors: 13
- Average comments per issue: 0.0
- Average comments per pull request: 0.66
- Merged pull requests: 38
- Bot issues: 0
- Bot pull requests: 108
Top Authors
Issue Authors
- tiangolo (1)
- patrick91 (1)
- twibster (1)
Pull Request Authors
- dependabot[bot] (148)
- tiangolo (45)
- patrick91 (9)
- pre-commit-ci[bot] (8)
- AliYmn (4)
- hafid-Qa (4)
- mattmess1221 (3)
- 07pepa (3)
- FlavienRx (3)
- mlasevich (2)
- rasputyashka (2)
- JoelYoung01 (2)
- smarcelloc (2)
- dutyrok (2)
- svlandeg (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 2
-
Total downloads:
- pypi 18,823,059 last-month
-
Total dependent packages: 7
(may contain duplicates) -
Total dependent repositories: 1
(may contain duplicates) - Total versions: 20
- Total maintainers: 1
pypi.org: fastapi-cli
Run and manage FastAPI apps from the command line with FastAPI CLI. ๐
- Homepage: https://github.com/fastapi/fastapi-cli
- Documentation: https://fastapi.tiangolo.com/fastapi-cli/
- License: MIT
-
Latest release: 0.0.10
published 4 months ago
Rankings
Maintainers (1)
pypi.org: fastapi-cli-slim
Run and manage FastAPI apps from the command line with FastAPI CLI. ๐
- Homepage: https://github.com/fastapi/fastapi-cli
- Documentation: https://fastapi.tiangolo.com/fastapi-cli/
- License: MIT
-
Latest release: 0.0.10
published 4 months ago
Rankings
Maintainers (1)
Dependencies
- tiangolo/issue-manager 0.5.0 composite
- actions/checkout v4 composite
- docker://tiangolo/latest-changes 0.3.0 composite
- mxschmitt/action-tmate v3 composite
- actions/checkout v4 composite
- actions/setup-python v5 composite
- pypa/gh-action-pypi-publish v1.8.11 composite
- actions/setup-python v5 composite
- dawidd6/action-download-artifact v3.1.4 composite
- actions/checkout v4 composite
- actions/setup-python v5 composite
- actions/cache v3 composite
- actions/checkout v4 composite
- actions/download-artifact v3 composite
- actions/setup-python v5 composite
- actions/upload-artifact v3 composite
- mxschmitt/action-tmate v3 composite
- re-actors/alls-green release/v1 composite
- typer >= 0.12.3
- coverage >=6.2,<8.0 test
- mypy ==1.4.1 test
- pytest >=4.4.0,<8.0.0 test
- ruff ==0.2.0 test
- pre-commit >=2.17.0,<4.0.0