🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

pythumbnailer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pythumbnailer

Create static HTML galleries with thumbnails

0.10
Maintainers
1

pythumbnailer

Create static HTML galleries with thumbnails.

Supports:

  • Many types of images
  • Many types of videos (using ffpmeg for convertion and thumbnailing)
  • GPS Tracks in GPX format

The architecture should it make it relatively simple to add more types.

Installation

This is available on PyPI: https://pypi.org/project/pythumbnailer/

$ pip install pythumbnailer

It's also available on AUR: https://aur.archlinux.org/packages/python-pythumbnailer

Dependencies

This is only tested on Linux, but it should work on Windows.

The Python dependencies are shown on requirements.txt.

This also requires a non-Python dependency.

FFMPEG

Both ffmpeg and ffprobe should be available. Install the version that comes with your operating system.

HTML

The generated HTML should be mostly self-contained and standards-compliant. For advanced features it is needed to use Javascript libraries, bundled on the repository itself (see the pythumbnailer/static/lib/ folder.

Here is the list of all dependencies:

Leaflet

The library that supports slippy maps:

This uses some plugins, installed as other dependencies.

Leaflet Elevation

Leaflet plugin. Show the elevation graph.

Leaflet GPX

Leaflet plugin. Support GPX files in-browser.

D3.js

Dependency for leaflet-elevation.

Development

See the HACKING document.

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