Skip to content

Instantly share code, notes, and snippets.

@barureddy
barureddy / thumbnailer.py
Created Mar 3, 2020 — forked from meawoppl/thumbnailer.py
Nautilus Thumbnail Generator. Python 3 scalable and fast.
View thumbnailer.py
#!/usr/bin/python3
import concurrent.futures
import hashlib
import os
import sys
import gi
gi.require_version('GnomeDesktop', '3.0')
from gi.repository import Gio, GnomeDesktop