# pympler/pympler

Development tool to measure, monitor and analyze the memory behavior of Python objects in a running Python application.

Repository: https://github.com/pympler/pympler
Canonical: https://ross.abutalabs.com/products/pympler
Language: Python
License: Apache-2.0
License Family: permissive
Last push: 2025-06-07T07:19:44+00:00

## Health v2 (maintenance only)
Score: 44/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 25, release rhythm 35, longevity 100
- inputs: {"age_days": 5081, "days_push": 452, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1410, forks 93 (observed 2026-08-28T04:04:38.873200+00:00)

## What it is
Pympler is a pure-Python development library for measuring, monitoring, and analyzing the memory behavior of Python objects in a running application. It combines object size measurement (asizeof), online monitoring (mumpy), class tracking, and a web profiling frontend for garbage visualization.

## Use cases
- find memory leaks in a python application
- measure the size of python objects in bytes
- track object lifetimes and memory bloat over time
- monitor memory usage of a running python process
- visualize garbage collector statistics
- profile which classes consume the most memory

## When to choose
- you need to debug memory bloat or leaks in pure Python code
- you want object-level size and lifetime analysis without native dependencies
- you need a zero-dependency memory profiling tool on Linux or macOS

## When to avoid
- you need C-level or native heap profiling (use valgrind or memray instead)
- you need production APM or continuous memory monitoring
- your project requires active feature development

## Facets
- artifact type: library
- maturity: maintenance
- function: monitoring, developer-tools, benchmarking
- domain: developer-tools, performance
- platform: python, windows, cross-platform
- tags: memory-profiling, memory-analysis, object-size, garbage-collection, profiling, python, linux, macos

## Member repositories
- pympler/pympler (main) score 44

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:38.873200+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:38:29.823727+00:00, confidence not recorded.
  - readme: https://github.com/pympler/pympler (fetched 2026-08-28T04:04:38.873200+00:00, sha d0123d3394e2)
  - registry_pypi: https://pypi.org/pypi/pympler/json (fetched 2026-08-29T11:51:54.955606+00:00, sha 2c548c178b3f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
