A script that helps you organize your pictures.
Project description
picorg
A set of scripts to organize pictures. This is a work in progress and does not fully work at the moment.
Installation
pip install picorg
Usage
# Renames all images in the current working directory. It tries to use the timestamp of when the image was taken from the EXIF data. All renamed files will be moved to a folder called **OK**, and if the script cannot find a suitable name, the file will be moved to the **NOK** folder.
python -m picorg -a rename
# Traverses all folders listed in the settings.json file and lists all duplicated filenames and where to find them. Useful when using more than one root folder for your pictures.
python -m picorg -a duplicates
Configuration
A settings file is created in <USER_HOME>/.picorg that stores the users settings.
Developing
Install dependencies from the requirements-dev.txt file
pip install -r requirements-dev.txt
Create a package and install with
python setup.py bdist_wheel sdist
pip install -e .
Run tests with
pytest
or using tox
tox
Creating a new version.
- Create a new version up bumping the version in setup.py.
- Create a tag in git and push.
- Push the new package to pypi using
twine upload dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
picorg-0.0.2.tar.gz
(12.1 kB
view hashes)
Built Distribution
picorg-0.0.2-py3-none-any.whl
(5.8 kB
view hashes)