www/py-fastapi 0.138.0_1 MidnightBSD
High-performance Python API Framework
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- www, python
Description
FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.
The key features are:
* Fast: Very high performance, on par with NodeJS and Go.
* Fast to code: Increase the speed to develop features by about 200% to 300%.
* Fewer bugs: Reduce about 40% of human (developer) induced errors.
* Intuitive: Great editor support. Completion everywhere. Less time debugging.
* Easy: Designed to be easy to use and learn. Less time reading docs.
* Short: Minimize code duplication. Multiple features from each parameter declaration. Fewer bugs.
* Robust: Get production-ready code. With automatic interactive documentation.
* Standards-based: Based on (and fully compatible with) the open standards for APIs: OpenAPI (previously known as Swagger) and JSON Schema.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | www/py-fastapi | 0.138.0_1 |
| FreeBSD | www/py-fastapi | 0.142.2_1 |
| OpenBSD | www/py-fastapi | 0.141.1 |
| DragonFly | www/py-fastapi | 0.115.12 |
| HardenedBSD | www/py-fastapi | 0.141.1 |
| GhostBSD | www/py-fastapi | 0.141.1 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}fastapi
From mports:
cd /usr/mports/www/py-fastapi && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fastapi>0:www/py-fastapi
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}hatchling>=0: devel/py-hatchling${PYTHON_PKGNAMEPREFIX}pdm-backend>=0: devel/py-pdm-backend
Runtime 5
${PYTHON_PKGNAMEPREFIX}pydantic2>=2.9.0: devel/py-pydantic2${PYTHON_PKGNAMEPREFIX}starlette>=0.46.0: www/py-starlette${PYTHON_PKGNAMEPREFIX}uvicorn>=0: www/py-uvicorn${PYTHON_PKGNAMEPREFIX}annotated-doc>=0.0.2: devel/py-annotated-doc${PYTHON_PKGNAMEPREFIX}typing-inspection>=0.4.2: devel/py-typing-inspection
Test 9
${PYTHON_PKGNAMEPREFIX}inline-snapshot>=0: devel/py-inline-snapshot${PYTHON_PKGNAMEPREFIX}typer>=0: devel/py-typer${PYTHON_PKGNAMEPREFIX}ujson>=0: devel/py-ujson${PYTHON_PKGNAMEPREFIX}a2wsgi>=0: www/py-a2wsgi${PYTHON_PKGNAMEPREFIX}pyjwt>=2.9.0: www/py-pyjwt${PYTHON_PKGNAMEPREFIX}flask>=0: www/py-flask${PYTHON_PKGNAMEPREFIX}strawberry-graphql>=0: devel/py-strawberry-graphql${PYTHON_PKGNAMEPREFIX}pydantic-settings>=0: devel/py-pydantic-settings${PYTHON_PKGNAMEPREFIX}sqlmodel>=0: databases/py-sqlmodel
Build dependencies 2
Run dependencies 5
Required by 2
Configuration
No options to configure.
- USES
- cpe python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| fastapi-0.138.0.tar.gz | 419240 | d445a4877636ad191e7053e08c9bf98cb921a6756776848400bb773d1740c061 |
Master sites 1
- PYPI