Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Pre-generates thumbnails for 'Gnome Files' formerly known as nautilus.

Project description

Thumbgen

Pre-generates thumbnails for 'Gnome Files' formerly known as nautilus. This is useful if you have a lot of files which you want to glance over but you have to wait for them to load as you scroll. Supports Python 3.5+ and any Linux distro using Gnome Desktop 3.

Basic Usage

# generating thumbnails for two directories
thumbgen -d directory1/directory1_1 directory2

# Pulling up the help
thumbgen --help

Command Line Options

short long Description
-d --img_dirs directories to recursively generate thumbnails seperated by space, eg: "dir1/dir2 dir3" [required]
-w --workers no of cpus to use for processing
-i --only_images Whether to only look for images to be thumbnailed
-r --recursive Whether to recursively look for files
--help CLI help

Installation

Install PyGObject pre-requisites for your OS from here. For Ubuntu/Debian:

sudo apt install libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-3.0

Then install Thumbgen using:

pip install thumbgen

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for thumbgen, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size thumbgen-0.1.1-py3-none-any.whl (4.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size thumbgen-0.1.1.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page