Skip to main content

Tools for sorting photos

Project description

phototrie (and other helper scripts)

Phototrie is a minimalistic application for quickly sorting through your photographs.

This repository also includes batchrename and datename, two commands useful for organising photographs.

Usage

phototrie

Run phototrie JPG in a directory where you have unsorted JPG photos.

CR2 photos in the same directory, or in a CR2/ subdirectory, with the same name will also be processed.

Wait a short while for thumbnails to be generated. Once this has completed, a window will pop up, showing your photos.

Press B to mark a photo as bad, G for good and P for pristine (future versions may allow custom names).

Phototrie will move them into directories with those labels as you go along.

datename

datename photo1.jpg photo2.jpg (etc)

e.g. datename *.JPG to process all JPG files in a directory.

This will rename photos to have their date (as stored in EXIF) as their name.

CR2 photos in the same directory, or in a CR2/ subdirectory, with the same name will also be processed.

Once you are ready to apply the changes for real, pass --apply (or -y).

batchrename

batchrename <regex> <replacement> photo1.jpg photo2.jpg (etc)

e.g. batchrename .JPG$ .jpg *.JPG

Once you are ready to apply the changes for real, pass --apply (or -y).

Installation

You will probably need to install (on Debian/Ubuntu):

apt install python3-dev python3-pip python3-tk python3-pil python3-pil.imagetk

Then you can use:

pip3 install --user phototrie

(or, install from this repository: pip3 install --user git+https://bics.ga/reivilibre/phototrie)

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

phototrie-0.1.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

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

phototrie-0.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file phototrie-0.1.0.tar.gz.

File metadata

  • Download URL: phototrie-0.1.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for phototrie-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a154cc425862af1f6931ab109c06ddaf33628db3fd9aceb4d5fcf6c91ad2a5ab
MD5 4937320fb655f53a02a25e34d18aee0d
BLAKE2b-256 f5594ea590b25edeb14d79b9bfe299514d6538c6a65dc86cbb118de119ceada4

See more details on using hashes here.

File details

Details for the file phototrie-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: phototrie-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for phototrie-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 051244356ad676664238abad3f6ec91c20261718a3c77af36ae1d2f81de65971
MD5 c3e3a19c45a656eaf3c8d2fc55009986
BLAKE2b-256 5849e5bbc42640f267f60e07293e49ceb5317ff2a6c7339275a0cd17118385a2

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