FastAPI

FastAPI β€” созданиС своих асинхронных сСрвисов/API

Main Page: https://fastapi.tiangolo.com

Π‘Ρ‚Ρ€ΡƒΠΊΡ‚ΡƒΡ€Π° ΠΏΡ€ΠΎΠ΅ΠΊΡ‚Π°

.
β”œβ”€β”€ app                  # "app" is a Python package
β”‚   β”œβ”€β”€ __init__.py      # this file makes "app" a "Python package"
β”‚   β”œβ”€β”€ main.py          # "main" module, e.g. import app.main
β”‚   β”œβ”€β”€ dependencies.py  # "dependencies" module, e.g. import app.dependencies
β”‚   └── routers          # "routers" is a "Python subpackage"
β”‚   β”‚   β”œβ”€β”€ __init__.py  # makes "routers" a "Python subpackage"
β”‚   β”‚   β”œβ”€β”€ items.py     # "items" submodule, e.g. import app.routers.items
β”‚   β”‚   └── users.py     # "users" submodule, e.g. import app.routers.users
β”‚   └── internal         # "internal" is a "Python subpackage"
β”‚       β”œβ”€β”€ __init__.py  # makes "internal" a "Python subpackage"
β”‚       └── admin.py     # "admin" submodule, e.g. import app.internal.admin
β”‚   β”œβ”€β”€ requirements.txt
β”‚   β”œβ”€β”€ README.md

Last updated