pkg.soopen package index

brew / 順位 1626

fastapi を Homebrew, apt でインストール

fastapi のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install fastapi

local Homebrew formula metadata

Linux

Debian apt確認済み · 92%
sudo apt install python3-fastapi

Debian stable package indexes · python3-fastapi · ソース: deb.debian.org

概要

パッケージ概要

CLI for FastAPI framework

コマンドとエイリアス

  • fastapi

履歴

プロジェクトの歴史と使われ方

FastAPI is a Python web framework for building APIs with standard type hints, automatic validation, OpenAPI generation, and ASGI performance. The Homebrew package is notable because it packages the FastAPI command-line interface as a first-class developer tool rather than only a Python library dependency.

プロジェクトの歴史

FastAPI was created after its author spent years building APIs with earlier Python frameworks and libraries, including Flask, Django REST Framework, Marshmallow, Webargs, APISpec, Starlette, and Pydantic. The official history says the project combined ideas from these tools with Python 3.6+ type hints, OpenAPI, JSON Schema, OAuth2, and editor-aware design.

The framework's core design paired Starlette for ASGI web behavior with Pydantic for data validation and serialization. That combination made request parsing, response models, dependency injection, and generated documentation feel like ordinary typed Python code instead of separate schema files.

FastAPI's early public release cycle accelerated in 2019, with release notes showing frequent additions for WebSockets, background tasks, security utilities, testing, SQL/database examples, file uploads, OpenAPI customization, and documentation. By 2023, version 0.100.0 added Pydantic v2 support while maintaining a migration path from Pydantic v1.

The `fastapi` command arrived later as a CLI for serving and managing FastAPI apps. Official CLI documentation describes `fastapi dev` for development, `fastapi run` for production-style serving, automatic app discovery, and optional entrypoint configuration in `pyproject.toml`.

採用の歴史

FastAPI gained adoption because it solved a package-manager-era problem: teams wanted Python APIs with automatic OpenAPI docs, runtime validation, async support, and editor assistance without stitching together many plugins. The official README foregrounds production use, high performance, and compatibility with OpenAPI and JSON Schema.

The project's own README highlights adoption stories from large organizations and open-source projects, including Microsoft use for machine-learning services, Uber's Ludwig project, Netflix Dispatch, and Cisco API-first tooling. Those examples are presented by the project as evidence that FastAPI moved beyond hobby usage into production service infrastructure.

Packaging broadened beyond PyPI. The Homebrew formula exposes the CLI to macOS and Linux users, while Debian and Ubuntu package the Python library as `python3-fastapi`, making FastAPI visible in both Python-specific and system package ecosystems.

使われ方

A common FastAPI workflow starts with a typed `FastAPI()` app in `main.py`, path operation decorators such as `@app.get`, and type-annotated parameters or Pydantic models. Running `fastapi dev` starts a local development server and exposes generated API docs at `/docs`.

In production, users typically run ASGI servers such as Uvicorn, often behind a reverse proxy or container platform. The FastAPI CLI wraps common Uvicorn usage and can discover an app object automatically, while allowing explicit entrypoint configuration when projects grow beyond a single `main.py`.

FastAPI is especially common for JSON APIs, machine-learning inference services, internal platform APIs, and microservices where validation and generated client-facing documentation matter as much as raw request handling.

パッケージ好きにとっての重要性

FastAPI matters to package nerds because it sits at the intersection of Python packaging, ASGI servers, type-checking culture, generated OpenAPI schemas, and CLI ergonomics. Installing it is not just installing a library; it pulls together a modern Python API stack around Starlette, Pydantic, Uvicorn, and Typer-style command-line UX.

The 2024 split around `fastapi[standard]` and standard optional dependencies is packaging-significant. It made the dependency surface more explicit, avoiding forcing all standard runtime extras on every base install while still preserving a simple recommended install path for application developers.

タイムライン

  • 2018: The public GitHub repository was created.
  • 2019: Early release notes show rapid additions across WebSockets, background tasks, security, OpenAPI, and testing.
  • 2023: Version 0.100.0 added support for Pydantic v2.
  • 2024: The FastAPI CLI was added as the new `fastapi` command.
  • 2025: Release notes describe FastAPI Cloud deployment integration through the CLI.
  • 2026: The official README advertises FastAPI Conf 2026, reflecting a mature project community.

Related projects

  • Starlette provides FastAPI's underlying ASGI web toolkit.
  • Pydantic provides the validation and model layer that shaped FastAPI's typed API design.
  • Uvicorn is the ASGI server used by the FastAPI CLI.
  • Typer is described by the project as FastAPI's CLI-oriented sibling.

セキュリティ状態

保護ツール対応はまだ見つかっていません

fastapi に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • Homebrew bottle メタデータは記録されていません。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
fastapi実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-08-03
マネージャ版0.141.1
マネージャ更新日2026-07-30
ローカルデータ不明
上流利用不可
検出された最新未検出
  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:fastapi
バージョン0.141.1
パッケージマネージャHomebrew
ホームページhttps://fastapi.tiangolo.com/
最終更新2026-07-30T18:22:00Z
Pulseupdated
Bottle未記録
サービス宣言なし

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

python3-fastapi 0.115.11-4

modern, fast, web framework for building APIs, based on type hints

https://github.com/tiangolo/fastapi

sudo apt install python3-fastapi
  • Section: python
  • Architecture: all
  • Source Package: fastapi
  • 5 依存関係
  • normalized package name match
  • 一致条件: Fastapi
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-fastapi from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

python3-fastapi 0.101.0-3

modern, fast, web framework for building APIs, based on type hints

https://github.com/tiangolo/fastapi

sudo apt install python3-fastapi
  • Section: universe/python
  • Architecture: all
  • Source Package: fastapi
  • 5 依存関係
  • normalized package name match
  • 一致条件: Fastapi
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-fastapi from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation