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.

Source Distribution

pychurn-0.2.0.tar.gz (6.6 kB view hashes)

Uploaded source

Built Distribution

pychurn-0.2.0-py2.py3-none-any.whl (10.6 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page