Skip to main content

This package generates a control flow graph of the passed python file based on the AST generated (rather than the bytecode). It supports only a few python statements at this point. Notably absent are exceptions and generators. Essentially, only those constructs found in example.py are supported.

Compatibility
-------------
It was tested on Python 3.6


To run
------

python pycfg/pycfg.py <program to be analyzed> -d
or
python pycfg/pycfg.py <program to be analyzed> -d -y <branch coverage file>

Inspect Makefile for a better idea

Release files for pycfg 0.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 pycfg 0.1
File Size Uploaded
pycfg-0.1.tar.gz 6.6 kB Details

Release files / pycfg-0.1.tar.gz

Download URL pycfg-0.1.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
26833dd006dea03040088d7f0da6a3a80350cf4c788c14d50d15d06d2026480f
BLAKE2b-256 checksum
How to use checksums
1b56e837ca7330163dd5834c0223adf8057513105081b0f7966bed305edac114
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

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