macOS
brew install py-spylocal Homebrew formula metadata
brew / rang 3378
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de py-spy pour les workflows d'agents IA.
installation
brew install py-spylocal Homebrew formula metadata
sudo apk add py-spyAlpine Linux edge package indexes · py-spy · Source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#py-spynixpkgs package indexes · pkgs/by-name/py/py-spy/package.nix · Source: api.github.com
aperçu
Sampling profiler for Python programs
historique
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.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
py-spy | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/benfred/py-spy
métadonnées d'installation
| Clé du paquet | brew:py-spy |
|---|---|
| Version | 0.4.2 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/py-spy |
| Page d'accueil | https://github.com/benfred/py-spy |
| Dépôt | https://github.com/benfred/py-spy |
| Licence | MIT |
| Archive source | https://github.com/benfred/py-spy/archive/refs/tags/v0.4.2.tar.gz |
| Dernière mise à jour | 2026-09-13T13:03:28Z |
| Pulse | updated |
| Dépendances de compilation | rust |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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-completionpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.