macOS
brew install memraylocal Homebrew formula metadata
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de memray pour les workflows d'agents IA.
installation
brew install memraylocal Homebrew formula metadata
sudo apk add memrayAlpine Linux edge package indexes · memray · Source: dl-cdn.alpinelinux.org
sudo dnf install memrayFedora Rawhide package metadata · memray · Source: dl.fedoraproject.org
nix profile install nixpkgs#memraynixpkgs package indexes · pkgs/by-name/me/memray/package.nix · Source: api.github.com
sudo pacman -S memrayArch Linux sync databases · memray · Source: geo.mirror.pkgbuild.com
aperçu
Memory profiler for Python applications
historique
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.
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.
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.
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.
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.
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 |
|---|---|---|---|
memray | cli | exécutable global | |
memray3.14 | 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://bloomberg.github.io/memray/
métadonnées d'installation
| Clé du paquet | brew:memray |
|---|---|
| Version | 1.19.3 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/memray |
| Page d'accueil | https://bloomberg.github.io/memray/ |
| Dépôt | https://github.com/bloomberg/memray |
| Docs amont | https://bloomberg.github.io/memray |
| Licence | Apache-2.0 |
| Archive source | https://files.pythonhosted.org/packages/96/04/5b886a36df947599e0f37cd46e6e44e565299815f044e2303ab2ae9f8870/memray-1.19.3.tar.gz |
| Dernière mise à jour | 2026-06-22T14:05:27-07:00 |
| Pulse | updated |
| Dépendances | lz4, python@3.14 |
| 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 | memray |
| Version Scheme | 0 |
| Revision | 0 |
| 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.
memray
nix profile install nixpkgs#memraymemray 1.19.1-r2
Memray is a memory profiler for Python
https://bloomberg.github.io/memray/
sudo apk add memraymemray-pyc 1.19.1-r2
Precompiled Python bytecode for memray
https://bloomberg.github.io/memray/
sudo apk add memray-pycmemray 1.13.4-7.fc44
Memory profiler for Python applications
https://bloomberg.github.io/memray/
sudo dnf install memraymemray 1.19.3-1
A memory profiler for Python
https://github.com/bloomberg/memray
sudo pacman -S memraypiste 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.