Skip to main content

A tool for calculating the cyclomatic complexity of projects written in python

Project description

A tool for calculating the cyclomatic complexity of projects written in python

Installation

pip3 install cyclopy

Calculation in a local directory

single file:

cyclopy -f "./cc.py"

single file example

project:

cyclopy -s path_to_project_src

example local dir

Computing from git repository

cyclopy -g "https://github.com/Split174/financial-accounting"

git example

Calculate with limit flag

cyclopy -g "https://github.com/Split174/financial-accounting" -l 5

limit flag example

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

cyclopy-1.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cyclopy-1.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file cyclopy-1.1.tar.gz.

File metadata

  • Download URL: cyclopy-1.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.9 CPython/3.8.6 Linux/5.4.74-1-MANJARO

File hashes

Hashes for cyclopy-1.1.tar.gz
Algorithm Hash digest
SHA256 0e231e01669411aa6421a7d36388304762e534fbe54d17364ed3edbb709fda2a
MD5 22ee1fc74a2d5ad5a2d5e0789b167f77
BLAKE2b-256 6f9749af14faae43c81c1fe1e72f66fb6c52689879181c3dbf53d89644e96745

See more details on using hashes here.

File details

Details for the file cyclopy-1.1-py3-none-any.whl.

File metadata

  • Download URL: cyclopy-1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.9 CPython/3.8.6 Linux/5.4.74-1-MANJARO

File hashes

Hashes for cyclopy-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fddd6c777c6b43dc9d5de974623e8aef4fd42f01dffffbfdcb3de6def3c1f6cc
MD5 6b813b434a48083500053ebd674eee13
BLAKE2b-256 33fa08db18fc43f10074e3133bf9e7bbd3b69aff598c0a890e04d3b09d4525f8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page