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 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