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 argparse | |
import json | |
import os | |
import posixpath | |
import shutil | |
import subprocess | |
import tempfile | |
import requests |
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 argparse | |
import os | |
import enaml | |
from enaml.qt.qt_application import QtApplication | |
from enaml.widgets.api import Action | |
from folder_model import ImageFolder | |
argument_parser = argparse.ArgumentParser() |
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 os | |
import magic | |
from atom.api import Atom, Bytes, Int, List, Str, observe | |
from enaml.image import Image | |
# https://pypi.org/project/natsort/ | |
from natsort import natsorted | |
class ImageFolder(Atom): |
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 collections | |
import dataclasses | |
import functools | |
import time | |
import typing as T | |
NumberType = T.Union[int, float] | |
X = T.TypeVar("X") | |
OlderNewer