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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file css_colors_stats-0.0.3.tar.gz.

File metadata

  • Download URL: css_colors_stats-0.0.3.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for css_colors_stats-0.0.3.tar.gz
Algorithm Hash digest
SHA256 7a32db097d10a52e6f461eafcd21e68ca5e1923f6b96f859607b9d44c9d6a27e
MD5 d288807895f02ce54dba5eb4f9075d34
BLAKE2b-256 fcf63aa739e3eb09c2a8a7e4197fb65d83125465dfa492db3f98fb047ccf7322

See more details on using hashes here.

File details

Details for the file css_colors_stats-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for css_colors_stats-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f754a2fdd049d58e49fca8dc5a8157140380be00c092dd6b9f8f0e74a2a2ec87
MD5 6e459606efa92c9f827a657d23282156
BLAKE2b-256 84a6d4d3c9c577691cdf740d89b844b64e149f34d7105a37ec32daf74ed61c10

See more details on using hashes here.

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