Skip to main content

flake8 stats visualised

Installation

$ pip install flake8-chart

Dependencies

  • click

  • pygal

Help

$ flake8chart --help
Usage: flake8chart [OPTIONS]

Options:
  --chart-type [PIE|BAR]  type of chart (default: 'PIE')
  --chart-title TEXT      title of chart (default: 'flake8 stats')
  --chart-output TEXT     name of SVG file to export (default:
                          'flake8_stats.svg')
  --csv-output TEXT       name of CSV file to export
  --help                  Show this message and exit.

Usage

flake8chart takes the output of flake8 as an input. Make sure the --statistics flag is on with flake8.

$ flake8 --statistics ~/devel/projs/fn.py | \
> flake8chart \
> --chart-type=PIE --chart-output=stats_pie.svg \
> --csv-output=stats.csv

Chart Examples

Versions Tested

  • Python 2.7

  • Python 3.4

  • Python 3.5

License

MIT

Metadata

Release files for flake8-chart 0.1.5

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

Source distribution (sdist)

Source distribution for flake8-chart 0.1.5
File Size Uploaded Provenance
flake8-chart-0.1.5.tar.gz 3.7 kB Without provenance Details

Release files / flake8-chart-0.1.5.tar.gz

Download URL flake8-chart-0.1.5.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d2cac8ead63212d76a3d8530c9277649e1225f75adc6727e53a4c7888a774855
BLAKE2b-256 checksum
How to use checksums
325e4098414a885b9986743c1d4536a6a3f2f2b657d3aa2fae345a313d4784e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for flake8-chart 0.1.5

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.

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