Download lib/python3.12/site-packages/fastapi/cli.py from parallel-reasoner/env-full: direct link, hf CLI and curl.
- Browser
- Download file 418 Bytes
-
https://huggingface.co/parallel-reasoner/env-full/resolve/9f0e63b2e46f3a372dd6bc7efd242955efef55b6/lib/python3.12/site-packages/fastapi/cli.py
- Command line
-
hf download hf://parallel-reasoner/env-full@9f0e63b2e46f3a372dd6bc7efd242955efef55b6/lib/python3.12/site-packages/fastapi/cli.py
-
curl -L -o cli.py https://huggingface.co/parallel-reasoner/env-full/resolve/9f0e63b2e46f3a372dd6bc7efd242955efef55b6/lib/python3.12/site-packages/fastapi/cli.py
418 Bytes
| try: | |
| from fastapi_cli.cli import main as cli_main | |
| except ImportError: # pragma: no cover | |
| cli_main = None # type: ignore | |
| def main() -> None: | |
| if not cli_main: # type: ignore[truthy-function] | |
| message = 'To use the fastapi command, please install "fastapi[standard]":\n\n\tpip install "fastapi[standard]"\n' | |
| print(message) | |
| raise RuntimeError(message) # noqa: B904 | |
| cli_main() | |