pkg.soopen package index

brew / Rang 3378

py-spy mit Homebrew, apk, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für py-spy in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install py-spy

local Homebrew formula metadata

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add py-spy

Alpine Linux edge package indexes · py-spy · Quelle: dl-cdn.alpinelinux.org

Nixverifiziert · 92%
nix profile install nixpkgs#py-spy

nixpkgs package indexes · pkgs/by-name/py/py-spy/package.nix · Quelle: api.github.com

Überblick

Paketzusammenfassung

Sampling profiler for Python programs

Befehle und Aliase

  • py-spy

Verlauf

Projektgeschichte und Nutzung

py-spy is a Rust-based sampling profiler that observes running Python programs with low overhead and without modifying their code.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 2018: Early public py-spy releases established the external Python sampling-profiler workflow.
  • 2026: Version 0.4.2 added Python 3.14 support and further platform fixes.

Related projects

  • rbspy directly inspired py-spy's approach.
  • FlameGraph and speedscope are supported output and visualization ecosystems.
  • Traditional Python profilers provide related functionality but commonly execute inside the profiled process.

Quellen

  • Official releases: https://github.com/benfred/py-spy/releases
  • Official repository README: https://github.com/benfred/py-spy#readme
  • source_facts.package-manager

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Build-Metadaten listen 1 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
py-spycliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-09-19
Manager-Version0.4.2
Manager aktualisiert2026-09-13
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv0.4.2

https://github.com/benfred/py-spy

  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:py-spy
Version0.4.2
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/py-spy
Homepagehttps://github.com/benfred/py-spy
Repositoryhttps://github.com/benfred/py-spy
LizenzMIT
Quellarchivhttps://github.com/benfred/py-spy/archive/refs/tags/v0.4.2.tar.gz
Zuletzt aktualisiert2026-09-13T13:03:28Z
Pulseupdated
Build-Abhängigkeitenrust
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepy-spy
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

py-spy

nix profile install nixpkgs#py-spy
  • normalized package name match
  • Abgeglichen nach: Py Spy
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/py/py-spy/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

py-spy 0.3.14-r3

Sampling profiler for Python programs

https://github.com/benfred/py-spy

sudo apk add py-spy
  • License: MIT
  • Architecture: x86_64
  • Source Package: py-spy
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Py Spy
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: py-spy from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

py-spy-bash-completion 0.3.14-r3

Bash completions for py-spy

https://github.com/benfred/py-spy

sudo apk add py-spy-bash-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: py-spy
  • normalized package name match
  • Abgeglichen nach: Py Spy
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: py-spy-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

py-spy-doc 0.3.14-r3

Sampling profiler for Python programs (documentation)

https://github.com/benfred/py-spy

sudo apk add py-spy-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: py-spy
  • normalized package name match
  • Abgeglichen nach: Py Spy
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: py-spy-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

py-spy-fish-completion 0.3.14-r3

Fish completions for py-spy

https://github.com/benfred/py-spy

sudo apk add py-spy-fish-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: py-spy
  • normalized package name match
  • Abgeglichen nach: Py Spy
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: py-spy-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

py-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
  • License: MIT
  • Architecture: x86_64
  • Source Package: py-spy
  • normalized package name match
  • Abgeglichen nach: Py Spy
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: py-spy-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

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