Photonomist aims at helping photo-lovers (or simply photo-owners :D) with tidying their photos. Given a path that contains photos, photonomist will extract the dates of your photos, create directories and group photos according to their dates.
Photonomist took its name from the words:
- Photo.. --> Photography (art of captruring the light) (Greek root: (Φως) Φωτογραφία)
- ..nomist --> Taxonomist (person who groups entities into categories) (Greek root: Ταξινομία ή Ταξινόμηση)
As both a photo-owner and a photo-lover, I found myself struggling with grouping my photos in a sustainable way.
I kept creating different directories, with different name patterns to store my photos in a meaningfull way. Each time I was sure that after 3 months I would remember when, where and with whom I had captured each bunch of photos.
Except for that, I was always failing with grouping them criteria-wise. I know that proffs and semi-proffs tend to group photos according to their rating (1 star.. 5 stars), but in my case the time aspect proved to be the most meaningful one.
It was impossible, though, to check the date of each photo and create a directory for each date and then manually move the photos to the corresponding directory. Especially, when I was supposed to "tidy" photos of 2 years time-span!!!!
That's why I decided to build this cool app, which does the dirty work for me!!
Photonomist just took its first breath. It is in version 0.1.0.
What makes it standing out, except for taking care of your photos is that:
- It ascertains the validity of user's input
- It verifies that the provided input path contains .jpg or .nef (Nikon raw) photos
- It checks if you have enough disk space ONLY in case that the input and the export path point to different disks. I.e. if you move your photos from a cellphone to a hard drive!
- It automatically extracts your photos' metadata, creates and names directories using the extracted dates and moves the photos to the corresponding directory
- It writes in the not_transferred.txt the photos that was not possible to be moved
- Start Anaconda Powershell Prompt
- Change Directory to photonomist root dir (cd C:\repos\photonomist)
- Create the environment from the environment.yml file
$ conda env create -f environment.yml
- Activate your new venv
$ conda activate photonomist
- Congratulations!! You have your new env with all dependencies in there!
$ python -m pip install . --user
$ python -m photonomist
$ python -m pip install . --user
Change Directory to photonomist root dir (cd C:\repos\photonomist)
$ pytest test/
Change Directory to photonomist doc dir (cd C:\repos\photonomist\doc)
$ make html
- Change Directory to photonomist src\photonomist dir (cd C:\repos\photonomist\src\photonomist)
$ pyinstaller --onefile __main__.py
- Go back to the location where the __main__ script is (C:\repos\photonomist\src\photonomist).
- Open the dist folder
- Double-click the __main__ .exe file
- Start Anaconda Powershell Prompt
- Activate the photonomist env ( $ conda activate photonomist)
$ conda env export > environment.yml
- A environment.yml has been created in photonomist root dir (C:\repos\photonomist)
- Double click the .exe file
- Start Anaconda Powershell Prompt
- Activate the Photonomist env ( $ conda activate photonomist)
- Run: $ python -m photonomist
- Open your favorite IDE
- Do your magic and activate the photonomist env
- Open the __main__ file
- Run it