Skip to main content

Identifying hotspots in python code

Project description

Travis-CI

Installation

pip install -U pychurn

pychurn will use the pygit2 bindings for libgit2 if available, which significantly improves performance. To install, see the libgit2 docs.

Usage

Read the docs:

pychurn --help

Example usage:

pychurn report
pychurn report --path /path/to/repo --since 2016-01-01 --exclude '**test**'

Example output:

$ pychurn --debug report --path . --sort churn --count 5

code                                    churn    complexity
------------------------------------  -------  ------------
pychurn/version.py:get_churn                4            11
pychurn/cli.py:churn                        3             2
pychurn/complexity.py:get_complexity        3             8
pychurn/cli.py:cli                          2             2
pychurn/cli.py:report                       1             4

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pychurn-0.2.0-py2.py3-none-any.whl (10.6 kB) Copy SHA256 hash SHA256 Wheel py2.py3
pychurn-0.2.0.tar.gz (6.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page