Skip to main content

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

Metadata

Release files for cyclopy 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cyclopy 1.1
File Size Uploaded Provenance Actions
cyclopy-1.1.tar.gz 3.1 kB Without provenance Details for cyclopy-1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cyclopy 1.1
File Interpreter ABI Platform Actions
cyclopy-1.1-py3-none-any.whl Python 3 none any Details for cyclopy-1.1-py3-none-any.whl

Total release size: 6.4 kB

Release files / cyclopy-1.1.tar.gz

Download URL cyclopy-1.1.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0e231e01669411aa6421a7d36388304762e534fbe54d17364ed3edbb709fda2a
BLAKE2b-256 checksum
How to use checksums
6f9749af14faae43c81c1fe1e72f66fb6c52689879181c3dbf53d89644e96745
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.9 CPython/3.8.6 Linux/5.4.74-1-MANJARO

Release files / cyclopy-1.1-py3-none-any.whl

Download URL cyclopy-1.1-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fddd6c777c6b43dc9d5de974623e8aef4fd42f01dffffbfdcb3de6def3c1f6cc
BLAKE2b-256 checksum
How to use checksums
33fa08db18fc43f10074e3133bf9e7bbd3b69aff598c0a890e04d3b09d4525f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.9 CPython/3.8.6 Linux/5.4.74-1-MANJARO

Security for cyclopy 1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page