macOS
brew install py-spylocal Homebrew formula metadata
brew / 順位 3378
py-spy のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install py-spylocal Homebrew formula metadata
sudo apk add py-spyAlpine Linux edge package indexes · py-spy · ソース: dl-cdn.alpinelinux.org
nix profile install nixpkgs#py-spynixpkgs package indexes · pkgs/by-name/py/py-spy/package.nix · ソース: api.github.com
概要
Sampling profiler for Python programs
履歴
py-spy is a Rust-based sampling profiler that observes running Python programs with low overhead and without modifying their code.
Ben Frederickson created py-spy as a low-overhead sampling profiler inspired by rbspy. It reads CPython process memory externally, enabling profiling of an already-running program without restarting it or injecting profiling code.
py-spy is available as PyPI binary wheels, a Cargo package, a Homebrew formula, and packages for Alpine, Nix, and other ecosystems. Its prebuilt binaries and ability to attach to existing processes helped make production profiling accessible without application instrumentation.
Its record command produces flame graphs, speedscope profiles, or raw samples; top provides a live view; and dump captures thread stacks. Attaching to unrelated processes may require elevated privileges or ptrace capabilities, especially in containers and Kubernetes.
py-spy is notable for combining Python-aware profiling with a Rust implementation that runs outside the target interpreter. It gives operators flame graphs and live top-like views while avoiding the code changes and in-process overhead associated with many traditional Python profilers.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
py-spy | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/benfred/py-spy
インストールメタデータ
| パッケージキー | brew:py-spy |
|---|---|
| バージョン | 0.4.2 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/py-spy |
| ホームページ | https://github.com/benfred/py-spy |
| リポジトリ | https://github.com/benfred/py-spy |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/benfred/py-spy/archive/refs/tags/v0.4.2.tar.gz |
| 最終更新 | 2026-09-13T13:03:28Z |
| Pulse | updated |
| ビルド依存関係 | rust |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | py-spy |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
py-spy
nix profile install nixpkgs#py-spypy-spy 0.3.14-r3
Sampling profiler for Python programs
https://github.com/benfred/py-spy
sudo apk add py-spypy-spy-bash-completion 0.3.14-r3
Bash completions for py-spy
https://github.com/benfred/py-spy
sudo apk add py-spy-bash-completionpy-spy-doc 0.3.14-r3
Sampling profiler for Python programs (documentation)
https://github.com/benfred/py-spy
sudo apk add py-spy-docpy-spy-fish-completion 0.3.14-r3
Fish completions for py-spy
https://github.com/benfred/py-spy
sudo apk add py-spy-fish-completionpy-spy-zsh-completion 0.3.14-r3
Zsh completions for py-spy
https://github.com/benfred/py-spy
sudo apk add py-spy-zsh-completionソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.