This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import re | |
from collections import defaultdict | |
from pathlib import Path | |
import shutil | |
from typing import Generator | |
import logging | |
import xattr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# This script is to extract existing thumbnail from a picture | |
# file. (rather than create a new thumbnail) | |
from collections.abc import Iterable | |
from pathlib import Path | |
import subprocess | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import functools | |
import inspect | |
from collections import OrderedDict, defaultdict | |
from collections.abc import Mapping | |
from inspect import Parameter | |
from typing import Callable, get_type_hints | |
import typer | |