Automic VaultAutomic Vault

brew

memray mit Homebrew, apk, dnf, Nix, pacman installieren

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

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install memray

local Homebrew formula metadata

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add memray

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

Fedora dnfverifiziert · 92%
sudo dnf install memray

Fedora Rawhide package metadata · memray · Quelle: dl.fedoraproject.org

Nixverifiziert · 92%
nix profile install nixpkgs#memray

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

Arch Linux pacmanverifiziert · 92%
sudo pacman -S memray

Arch Linux sync databases · memray · Quelle: geo.mirror.pkgbuild.com

Überblick

Paketzusammenfassung

Memory profiler for Python applications

Befehle und Aliase

  • memray
  • memray3.14

Verlauf

Projektgeschichte und Nutzung

Memray is a Bloomberg Python memory profiler that tracks allocations in Python code, native extension modules, and the Python interpreter, then renders reports such as flame graphs, terminal summaries, tables, trees, live views, and stats.

Projektgeschichte

Memray's README and documentation present it as a profiler for allocation tracing rather than sampling alone. It records function call stacks for allocations, can include native C/C++ frames, works with Python threads and native threads, and can be used both as a CLI and as a Python library.

The package entered public Python packaging with a 1.0.0 release on PyPI in April 2022. Its release stream continued through the 1.x line, with GitHub release notes and PyPI metadata showing active maintenance into 2026.

Adoptionsgeschichte

Memray is distributed through Python packaging and system package managers. The upstream README links PyPI, PyPI download statistics, conda-forge, GitHub Actions for wheels, and documentation; the batch input lists apk, Homebrew, Fedora, Nix, and Arch packages. The README also points to `pytest-memray`, which brought Memray into test-suite workflows as well as ad hoc command-line profiling.

Wie es verwendet wird

The common CLI workflow is `python3 -m memray run -o output.bin my_script.py`, followed by a reporter such as `python3 -m memray flamegraph output.bin`. Users can also run `memray run my_script.py`, use `memray run -m my_module`, enable native tracking with `--native`, attach to processes in supported scenarios, or use the API for finer-grained profiling.

Memray is limited to Linux and macOS. Because it includes a C extension and native tooling, source builds may require dependencies such as libdebuginfod, libunwind, and liblz4, while normal users are steered toward binary wheels from PyPI.

Warum Paket-Nerds sich dafür interessieren

Memray is notable because Python memory profiling often crosses the Python/native boundary. Packaging it means shipping compiled extensions, platform-specific wheels, and native library integration while still exposing a friendly CLI. It is also a useful package-index signal because it bridges Python developers, C-extension debugging, flamegraph tooling, and pytest integration.

Zeitleiste

  • 2022-04-09: memray 1.0.0 uploaded to PyPI.
  • 2022: README documents Linux and macOS support, PyPI installation, native allocation tracking, and multiple reporters.
  • 2026-04-08: v1.19.3 GitHub release published.

Related projects

  • Related projects include pytest-memray for test integration, PyPI and conda-forge as distribution channels, and native debugging/profiling dependencies such as libunwind, libdebuginfod, and liblz4.

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.
  • Installiert mit 2 Laufzeitabhä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
memraycliglobales Executable
memray3.14cliglobales 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-07-25
Manager-Version1.19.3
Manager aktualisiert2026-06-22
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://bloomberg.github.io/memray/

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:memray
Version1.19.3
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/memray
Homepagehttps://bloomberg.github.io/memray/
Repositoryhttps://github.com/bloomberg/memray
Upstream-Dokumentationhttps://bloomberg.github.io/memray
LizenzApache-2.0
Quellarchivhttps://files.pythonhosted.org/packages/96/04/5b886a36df947599e0f37cd46e6e44e565299815f044e2303ab2ae9f8870/memray-1.19.3.tar.gz
Zuletzt aktualisiert2026-06-22T14:05:27-07:00
Pulseupdated
Abhängigkeitenlz4, python@3.14
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 Namememray
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

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

Nix95%

memray

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

memray 1.19.1-r2

Memray is a memory profiler for Python

https://bloomberg.github.io/memray/

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

memray-pyc 1.19.1-r2

Precompiled Python bytecode for memray

https://bloomberg.github.io/memray/

sudo apk add memray-pyc
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: memray
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Memray
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: memray-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

memray 1.13.4-7.fc44

Memory profiler for Python applications

https://bloomberg.github.io/memray/

sudo dnf install memray
  • License: Apache-2.0 AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: python-memray
  • 2 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Memray
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: memray from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

memray 1.19.3-1

A memory profiler for Python

https://github.com/bloomberg/memray

sudo pacman -S memray
  • License: Apache-2.0
  • Architecture: x86_64
  • 7 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Memray
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: memray from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.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
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment