notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Volunteers wanted to help translate FreshPorts
Port details on branch 2026Q4
py-fastapi High-performance Python API Framework
0.142.2_1 www on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.142.2_1Version of this port present on the latest quarterly branch.
Maintainer: wen@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-10-07 09:36:05
Last Update: 2026-10-07 09:32:53
Commit Hash: 002d410
Also Listed In: python
License: MIT
WWW:
https://github.com/tiangolo/fastapi
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}fastapi>0:www/py-fastapi@${PY_FLAVOR}
To install the port:
cd /usr/ports/www/py-fastapi/ && make install clean
To add the package, run one of these commands:
  • pkg install www/py-fastapi
  • pkg install py312-fastapi
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py312-fastapi listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-fastapi
Package flavors (<flavor>: <package>)
  • py312: py312-fastapi
distinfo:
TIMESTAMP = 1790985153 SHA256 (fastapi-0.142.2.tar.gz) = 06366626f2e70576367714d9ab2fe8472e6c8456dba69b399f9f797ab5e92570 SIZE (fastapi-0.142.2.tar.gz) = 466721

Packages (timestamps in pop-ups are UTC):
py39-fastapi
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64leriscv64
FreeBSD:13:latest--n/an/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/an/a
FreeBSD:14:latest--0.89.1--0.96.1-0.96.1-
FreeBSD:14:quarterly------0.108.0_10.108.0_1-
FreeBSD:15:latest--n/a-n/an/a0.109.0--
FreeBSD:15:quarterly--n/a-n/an/a---
FreeBSD:16:latest--n/a-n/an/a---
 
py311-fastapi
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64leriscv64
FreeBSD:13:latest0.135.10.135.1n/an/an/an/an/an/an/a
FreeBSD:13:quarterly0.135.10.135.1n/an/an/an/an/an/an/a
FreeBSD:14:latest---0.115.14-----
FreeBSD:14:quarterly---0.115.12-----
FreeBSD:15:latest--n/a0.115.14n/an/a---
FreeBSD:15:quarterly--n/a-n/an/a---
FreeBSD:16:latest--n/a-n/an/a---
 
py312-fastapi
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64leriscv64
FreeBSD:13:latest--n/an/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/an/a
FreeBSD:14:latest0.141.10.141.1--0.142.2_1----
FreeBSD:14:quarterly0.139.00.139.0--0.142.2_1----
FreeBSD:15:latest0.141.10.142.2n/a-n/an/a---
FreeBSD:15:quarterly0.141.10.139.0n/a-n/an/a---
FreeBSD:16:latest0.141.10.142.2_1n/a-n/an/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py312-hatchling>=0 : devel/py-hatchling@py312
  2. py312-pdm-backend>=0 : devel/py-pdm-backend@py312
  3. python3.12 : lang/python312
  4. py312-build>=0 : devel/py-build@py312
  5. py312-installer>=0 : devel/py-installer@py312
Test dependencies:
  1. py312-inline-snapshot>=0 : devel/py-inline-snapshot@py312
  2. py312-typer>=0 : devel/py-typer@py312
  3. py312-ujson>=0 : devel/py-ujson@py312
  4. py312-a2wsgi>=0 : www/py-a2wsgi@py312
  5. py312-pyjwt>=2.9.0 : www/py-pyjwt@py312
  6. py312-flask>=0 : www/py-flask@py312
  7. py312-strawberry-graphql>=0 : devel/py-strawberry-graphql@py312
  8. py312-pydantic-settings>=0 : devel/py-pydantic-settings@py312
  9. py312-sqlmodel>=0 : databases/py-sqlmodel@py312
  10. py312-pytest>=7,1 : devel/py-pytest@py312
  11. python3.12 : lang/python312
Runtime dependencies:
  1. py312-pydantic2>=1.7.4 : devel/py-pydantic2@py312
  2. py312-starlette>=0.26.1 : www/py-starlette@py312
  3. py312-uvicorn>=0 : www/py-uvicorn@py312
  4. py312-annotated-doc>=0 : devel/py-annotated-doc@py312
  5. py312-opentelemetry-api>=0 : devel/py-opentelemetry-api@py312
  6. python3.12 : lang/python312
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
www_py-fastapi
USES:
cpe python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/f/fastapi/
  2. https://pypi.org/packages/source/f/fastapi/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.142.2_1
07 Oct 2026 09:32:53
commit hash: 002d41084ed6654711859049678edb69c2509235commit hash: 002d41084ed6654711859049678edb69c2509235commit hash: 002d41084ed6654711859049678edb69c2509235commit hash: 002d41084ed6654711859049678edb69c2509235 files touched by this commit
Wen Heping (wen) search for other commits by this committer
Author: Jochen Neumeister
www/py-fastapi: Add missing RUN_D

PR:		joneum@FreeBSD.org
Reported by:	299185

(cherry picked from commit 7f7f8cca4b4dd5c8b70fc2309bb01df584ddb36c)
0.142.2
07 Oct 2026 09:32:49
commit hash: 068aaee8d52ecd9ee99e36172d63a8e76734b2f9commit hash: 068aaee8d52ecd9ee99e36172d63a8e76734b2f9commit hash: 068aaee8d52ecd9ee99e36172d63a8e76734b2f9commit hash: 068aaee8d52ecd9ee99e36172d63a8e76734b2f9 files touched by this commit
Wen Heping (wen) search for other commits by this committer
www/py-fastapi: Update to 0.142.2

(cherry picked from commit 66b0165af9e521bc00087e0d6fc421131a1fd61c)

Number of commits found: 2