Skip to main content

A development tool to measure, monitor and analyze the memory behavior of Python objects.

Project description

README for pympler

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

By pympling a Python application, detailed insight in the size and the lifetime of Python objects can be obtained. Undesirable or unexpected runtime behavior like memory bloat and other "pymples" can easily be identified.

Pympler integrates three previously separate projects into a single, comprehensive profiling tool. Asizeof provides basic size information for one or several Python objects, muppy is used for on-line monitoring of a Python application and the class tracker provides off-line analysis of the lifetime of selected Python objects. A web profiling frontend exposes process statistics, garbage visualisation and class tracker statistics.

Pympler is written entirely in Python, with no dependencies to external libraries. It has been tested with Python 3.5, 3.6, 3.7, 3.8, 3.9, 3.10 on Linux, Windows and MacOS X.

Installation from PyPI

To install the latest version of Pympler from the Python package index run:

pip install Pympler

Installation from source

Before installing Pympler, try it with your Python version:

python setup.py try

If any errors are reported, check whether your Python version is supported. Pympler is written entirely in Python, with no dependencies other than standard Python modules and libraries. Pympler works with Python 3.6, 3.7, 3.8, 3.9 and 3.10.

For a system-wide installation from source run:

pip install .

Test the installed Pympler package:

python setup.py test

Usage

The usage of pympler is described in the documentation. It is available either in this distribution at doc/index.html or you can read it online.

Contributing

You can post wishes, bug reports or patches at our issue tracker or write an email to pympler-dev@googlegroups.com.

Latest Version License Coverage Status

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Pympler-1.0.tar.gz (681.0 kB view details)

Uploaded Source

Built Distribution

Pympler-1.0-py3-none-any.whl (164.8 kB view details)

Uploaded Python 3

File details

Details for the file Pympler-1.0.tar.gz.

File metadata

  • Download URL: Pympler-1.0.tar.gz
  • Upload date:
  • Size: 681.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.10

File hashes

Hashes for Pympler-1.0.tar.gz
Algorithm Hash digest
SHA256 f2e82c3e33835d0378ed95fffabc00806f4070f00decaa38b340ca99b1aca25c
MD5 520d8978eee903e247367d4865ccf309
BLAKE2b-256 d2b1c0a6dded9beb12169a8acdccb284bb5c2059b7255296f4a2c7eb0188f700

See more details on using hashes here.

Provenance

File details

Details for the file Pympler-1.0-py3-none-any.whl.

File metadata

  • Download URL: Pympler-1.0-py3-none-any.whl
  • Upload date:
  • Size: 164.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.10

File hashes

Hashes for Pympler-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca09ce58074a374a76328c27f0bb8a4e8d3964db1cbd1f9d3fd4c0d0746a9d16
MD5 f2d4520e6844b2491248b3bb0788ee9d
BLAKE2b-256 c63aadc167bec2750913b41f8a10054b3d3de0c65e888857c1e2dba8d6aef1cc

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page