Skip to content

Photonomist aims at helping photo-lovers with tidying their photos.

License

Notifications You must be signed in to change notification settings

panos23kar/Photonomist_old

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Photonomist

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: Ταξινομία ή Ταξινόμηση)

Motivation

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!!

Features

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

Minimum Requirements


Basic Setup

Create Photonomist Virtual Environment

  1. Start Anaconda Powershell Prompt
  2. Change Directory to photonomist root dir (cd C:\repos\photonomist)
  3. Create the environment from the environment.yml file
$ conda env create -f environment.yml
  1. Activate your new venv
$ conda activate photonomist
  1. Congratulations!! You have your new env with all dependencies in there!

Install for the current user:

$ python -m pip install . --user

Run the application:

$ python -m photonomist

Developer Edition

Optional Requirements

  • pytest (for running the test suite)
  • Sphinx (for generating documentation)

Did you touch the code?

$ python -m pip install . --user

Run the test suite:

Change Directory to photonomist root dir (cd C:\repos\photonomist)

$ pytest test/

Build documentation:

Change Directory to photonomist doc dir (cd C:\repos\photonomist\doc)

$ make html

Generate Executable:

  • 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

Generate environment.yml:

  • 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)

Usage

    • Double click the .exe file
OR
    • Start Anaconda Powershell Prompt
    • Activate the Photonomist env ( $ conda activate photonomist)
    • Run: $ python -m photonomist
OR
    • Open your favorite IDE
    • Do your magic and activate the photonomist env
    • Open the __main__ file
    • Run it

About

Photonomist aims at helping photo-lovers with tidying their photos.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages