Skip to main content

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.

Source Distribution

thumbgen-0.1.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

thumbgen-0.1.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file thumbgen-0.1.1.tar.gz.

File metadata

  • Download URL: thumbgen-0.1.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.4 Linux/4.15.0-65-generic

File hashes

Hashes for thumbgen-0.1.1.tar.gz
Algorithm Hash digest
SHA256 31c0f4e5589648154061dad1c9cc861c4073ccb8b78a2287a348b65f2e166ec7
MD5 027322ed69082a8529e41ceba1064105
BLAKE2b-256 48329ff706015affc2057c795c7b99db546c7f55ff8d0333327b19f5f51d8d1d

See more details on using hashes here.

File details

Details for the file thumbgen-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: thumbgen-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.4 Linux/4.15.0-65-generic

File hashes

Hashes for thumbgen-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a49e71e2af9ae8ddccdb8475507c890c3257f317c12c940190b289923de2b106
MD5 a0186014516a1effaa01195be3053b16
BLAKE2b-256 8a924a22302cad2e29762428dde74eb681f7615735aa5ae49895e2c2eb700fd1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page