Create static HTML galleries with thumbnails
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pythumbnailer-0.10.tar.gz
.
File metadata
- Download URL: pythumbnailer-0.10.tar.gz
- Upload date:
- Size: 348.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/63.2.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0df371c1c782401eb7b6683ff56b5bff0288c6eff2b4274951cbbc99edcc474 |
|
MD5 | 7b4ec79ded5ef0d28337fbf975a2cd33 |
|
BLAKE2b-256 | 0cd13ef66130b2d715ad75d41a6addc925bc5eac0703a0c659b8251e41da29f1 |