Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

thumbor-hsl

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

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)

  • 0.0.3
  • PyPI
  • Socket score

Maintainers
1

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

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc