Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

Files for pychurn, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size pychurn-0.2.0-py2.py3-none-any.whl (10.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size pychurn-0.2.0.tar.gz (6.6 kB) File type Source Python version None Upload date Hashes View hashes

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