Metadata-Version: 2.1
Name: thumbor-hsl
Version: 0.0.3
Summary: A modified `http` loader for thumbor which provides additional statistics (like width, height and url parsing)
Home-page: https://github.com/BowlingX/thumbor-http-stats-loader
Author: David Heidrich
Author-email: me@bowlingx.com
License: MIT
License-File: LICENSE
Requires-Dist: thumbor (<8,>=7.0.0a2)

thumbor-http-stats-loader
--------------------------------

An extended `http` loader for thumbor which introduces an additional statd
counter `original_image_with_size_fetch.$code.$host.$widthx$height.$parsedUrl`

## Configuration

    LOADER="thumbor_hsl.loaders.http_loader"

### Optional query parsing

If you specify the `HSL_REGEX_MATCH_URL` option, you can provide a regex with a group which value will be appended
in `$parsedUrl`

Example:

    HSL_REGEX_MATCH_URL="someQuery=(\d+)"

For a given url, e.g. `https://my-image?someQuery=10` the result of `10` will be appended to the counter.


## Install

    pip install thumbor_hsl
