Identifying hotspots in python code
Project description
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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file pychurn-0.2.0.tar.gz
.
File metadata
- Download URL: pychurn-0.2.0.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ef7dacc9a1508dcc7ae6401087d1304be2c5be10d4cca419b66e8fd02ab9d50 |
|
MD5 | cc82e785519b1274f56112ddfcb08c08 |
|
BLAKE2b-256 | 281646bbc30ddd703431ef1e10c1e3d5170e33c688c942be87a0195e819c2cdd |
File details
Details for the file pychurn-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pychurn-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 372016ed14e87311ee41183193227ee5120b9b1b1b0e3c98323b45a4f4fba532 |
|
MD5 | 914ac6d72afa4b8b6dbd6d15e4e9d2f2 |
|
BLAKE2b-256 | 18aaf27e378f0e2227e81b7ec79eaea427d7f5758ce12ec19a081f890ac297fb |