Socket
Socket
Sign inDemoInstall

thumbor-hsl

Package Overview
Dependencies
1
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    thumbor-hsl

A modified `http` loader for thumbor which provides additional statistics (like width, height and url parsing)


Maintainers
1

Readme

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

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc