Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

The python3 ast based control flow graph

Project description


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

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pycfg, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size pycfg-0.1.tar.gz (6.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page