www/py-fastapi 0.142.2_1
High-performance Python API Framework
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
7f7f8cca4b- License
- MIT
- Categories
- www, python
- Package size
- 271.9 KiB, 2071.3 KiB installed
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.
Install
As a binary package — by origin, or by package name:
pkg install www/py-fastapi
pkg install py312-fastapi
From the ports tree:
cd /usr/ports/www/py-fastapi/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-fastapi>0:www/py-fastapi
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.142.2_1 | 0.142.2_1 | 0.89.1 | 0.115.14 | 0.142.2_1 |
| FreeBSD:14:quarterly | 0.142.2_1 | 0.142.2_1 | n/a | 0.115.12 | 0.142.2_1 |
| FreeBSD:15:latest | 0.142.2_1 | 0.142.2_1 | n/a | 0.115.14 | 0.115.14 |
| FreeBSD:15:quarterly | 0.142.2_1 | 0.142.2_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.141.1 | 0.142.2_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
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>=1.7.4: devel/py-pydantic2${PYTHON_PKGNAMEPREFIX}starlette>=0.26.1: www/py-starlette${PYTHON_PKGNAMEPREFIX}uvicorn>=0: www/py-uvicorn${PYTHON_PKGNAMEPREFIX}annotated-doc>=0: devel/py-annotated-doc${PYTHON_PKGNAMEPREFIX}opentelemetry-api>=0: devel/py-opentelemetry-api
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
The full lists below include those, and their dependencies in turn.
All build dependencies 20
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pdm-backend
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
All run dependencies 37
- devel/gettext-runtime
- devel/libffi
- devel/py-Jinja2
- devel/py-annotated-doc
- devel/py-annotated-types
- devel/py-anyio
- devel/py-babel
- devel/py-click
- devel/py-opentelemetry-api
- devel/py-pydantic-core
- devel/py-pydantic2
- devel/py-pyyaml
- devel/py-typing-extensions
- devel/py-typing-inspection
- devel/readline
- dns/py-idna
- lang/python312
- math/mpdecimal
- net/py-h11
- net/py-socksio
- print/indexinfo
- security/py-certifi
- security/py-itsdangerous
- security/py-truststore
- textproc/expat2
- textproc/libyaml
- textproc/py-markupsafe
- www/py-h2
- www/py-hpack
- www/py-httpcore
- www/py-httpcore2
- www/py-httpx
- www/py-httpx2
- www/py-hyperframe
- www/py-python-multipart
- www/py-starlette
- www/py-uvicorn
Required by 129
- astro/indiwebmanagerapp
- astro/py-indiweb
- deskutils/py-qmd
- devel/py-azure-monitor-opentelemetry
- devel/py-opentelemetry-instrumentation-django
- devel/py-opentelemetry-instrumentation-flask
- devel/py-opentelemetry-instrumentation-wsgi
- finance/freqtrade
- finance/py-openbb
- finance/py-openbb-alpha-vantage
- finance/py-openbb-benzinga
- finance/py-openbb-biztoc
- finance/py-openbb-bls
- finance/py-openbb-cboe
- finance/py-openbb-cftc
- finance/py-openbb-charting
- finance/py-openbb-cli
- finance/py-openbb-commodity
- finance/py-openbb-congress-gov
- finance/py-openbb-core
- finance/py-openbb-crypto
- finance/py-openbb-currency
- finance/py-openbb-deribit
- finance/py-openbb-derivatives
- finance/py-openbb-ecb
- finance/py-openbb-econdb
- finance/py-openbb-econometrics
- finance/py-openbb-economy
- finance/py-openbb-equity
- finance/py-openbb-etf
- finance/py-openbb-famafrench
- finance/py-openbb-federal-reserve
- finance/py-openbb-finra
- finance/py-openbb-finviz
- finance/py-openbb-fixedincome
- finance/py-openbb-fmp
- finance/py-openbb-fred
- finance/py-openbb-government-us
- finance/py-openbb-imf
- finance/py-openbb-index
- finance/py-openbb-intrinio
- finance/py-openbb-jodi
- finance/py-openbb-mcp-server
- finance/py-openbb-multpl
- finance/py-openbb-nasdaq
- finance/py-openbb-news
- finance/py-openbb-oecd
- finance/py-openbb-platform-api
- finance/py-openbb-quantitative
- finance/py-openbb-regulators
- finance/py-openbb-sec
- finance/py-openbb-seeking-alpha
- finance/py-openbb-stockgrid
- finance/py-openbb-technical
- finance/py-openbb-tiingo
- finance/py-openbb-tmx
- finance/py-openbb-tradier
- finance/py-openbb-tradingeconomics
- finance/py-openbb-us-eia
- finance/py-openbb-wsj
- finance/py-openbb-yfinance
- graphics/py-olmocr
- misc/colibri
- misc/comfyui
- misc/hermes-agent
- misc/py-banks
- misc/py-compressed-tensors
- misc/py-kokoro
- misc/py-litellm
- misc/py-llama-cpp-python
- misc/py-llama-index-core
- misc/py-llama-index-embeddings-huggingface
- misc/py-llama-index-llms-ibm
- misc/py-llama-index-llms-openai
- misc/py-llama-index-llms-openai-like
- misc/py-mistral-common
- misc/py-mlflow-skinny
- misc/py-model-hosting-container-standards
- misc/py-optimum
- misc/py-peft
- misc/py-sagemaker
- misc/py-sagemaker-mlflow
- misc/py-sagemaker-mlops
- misc/py-sagemaker-serve
- misc/py-sagemaker-shim
- misc/py-sagemaker-train
- misc/py-sentence-transformers
- misc/py-transformers
- misc/py-vllm
- misc/py-xgrammar
- textproc/py-docling
- textproc/py-docling-agent
- textproc/py-docling-analysis-framework
- textproc/py-docling-core
- textproc/py-docling-cvat-tools
- textproc/py-docling-demo
- textproc/py-docling-enhanced
- textproc/py-docling-enhanced-onnx
- textproc/py-docling-eval
- textproc/py-docling-glm-ocr
The first 100 are listed.
Configuration
No options to configure.
- USES
- cpe python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| fastapi-0.142.2.tar.gz | 466721 | 06366626f2e70576367714d9ab2fe8472e6c8456dba69b399f9f797ab5e92570 |
Master sites 1
- PYPI
Commit history 4
| Date | Commit | Credits | Log message |
|---|---|---|---|
7f7f8cca4b |
Jochen Neumeister | www/py-fastapi: Add missing RUN_D PR: [email protected]
Reported by: 299185 |
|
66b0165af9 |
Wen Heping | www/py-fastapi: Update to 0.142.2 | |
739856ba73 |
Wen Heping | www/py-fastapi: Update to 0.141.1 | |
6972a3c8a7 |
Wen Heping | www/py-fastapi: Update to 0.139.0 |