Skip to main content

Quickly extract and count colors from CSS files.

Project description

css-colors-stats

PyPI - Python Version PyPI - Version Deployment

Quickly extract and count colors from CSS files using a python CLI tool.

Export result to:

  • json
  • html

Available color formats:

  • hex
  • rgb
  • rgba
  • hsl
  • hsla

Installation

Clone this repo and install it with pip.

pip install css-colors-stats

Usage

css-colors-stats [-h] [--html] filepath

Positional arguments:

  • filepath the path to the CSS file.

Options:

  • --html: generate an HTML file with the color counts
  • -h, --help : show help message and exit

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

css_colors_stats-0.0.3.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

css_colors_stats-0.0.3-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

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