Skip to main content

A Sampling Profiler for Python

Project description

py-spy-kw is a project forked from benfred/py-spy (https://github.com/Rosyuku/py-spy/releases/tag/v0.3.3).

Installation

Prebuilt binary wheels can be installed from PyPI with:

pip install py-spy-kw

Usage

py-spy-kw supports additional one subcommand log which can output stack trace jsonfiles of python process automatically every sampling. Following code is a sample command that launches myprogram.py and outputs stack trace jsonfiles to ./log 10 times per second until the process ends.

py-spy-kw log -o ./log -r 10 -- python myprogram.py
log output

log output

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

py_spy_kw-0.1.4-py2.py3-none-win_amd64.whl (3.6 MB view hashes)

Uploaded Python 2 Python 3 Windows x86-64

py_spy_kw-0.1.4-py2.py3-none-manylinux1_x86_64.whl (2.6 MB view hashes)

Uploaded Python 2 Python 3

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