Skip to main content

KrawArranger

Kjmaro Negatives Arranger. The purpose of this program is to have and maintain a mirror of the folder structure of your pictures/media with all their corresponding negatives (raw).

Python Logo

Folders organization

KrawArranger needs to know what is the PATH of three folders:

  • Positives folder: Here is where all your multimedia content is allocated, positives (JPG, PNG, etc.) and negatives (NEF, CR2, etc.)
  • Negatives folder: Here is where you want to store your negatives.
  • Results folder: Here is where the program will store the logs and results of the execution.

Note: A filter can be included to KrawRranger to only analyse the desired folders inside the positive folder

Logic of KrawArranger

  • 1. Scans the folders-tree stored in Negatives folder and raises an error if (at least) the same tree is not in the Positives folder. The purpose of this step is to avoid loosing the traceability of the negatives folder (if the folder name has changed and you don't know where is its negative corresponding folder)
  • 2. Looks for all the negative files in the Positive folder.
  • 3. Once found the negatives it will attempt to move them to the negatives folder creating the same folder-tree to reach them in the Positives folder (if it doesn't exist).
  • 4. If the files to move to negatives doesn't exist will be moved, otherwise an error will be raised indicating that the files already exist in Negatives.
  • 5. All the folder creation and file movement is logged for user review.

Multimedia Organization Example

graph TD
A[Positives Folder] --> B(1. My Friends)
A[Positives Folder] --> C(2. My Family)
A[Positives Folder] --> D(3. My Stuffs)
A[Positives Folder] --> E(9. Negatives Folder)
E[Negatives Folder] --> EB(1. My Friends)
E[Negatives Folder] --> EC(2. My Family)
E[Negatives Folder] --> ED(3. My Stuffs)

Future features

  • Include in the log after one file movement a verification step (with MD5) to ensure that the file was mover properly and it doesn't exists in origin.

Release files for krawarranger 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for krawarranger 0.1.2
File Size Uploaded
krawarranger-0.1.2.tar.gz 18.6 kB Details

Release files / krawarranger-0.1.2.tar.gz

Download URL krawarranger-0.1.2.tar.gz
Size 18.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cb5f67da6c68ef318e507c4b10b5e0a7526007e28660e3d2a1a66031a585d571
BLAKE2b-256 checksum
How to use checksums
767bd19c8d70317ff11bd35f26a0e43566b6f34ccfd63a31feb3e85261cc0bf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page