archive-images
Description
Small python package to create an image archive from a bunch of unordered images. The images are archived on the basis of the timestamp in the exif data.
Installation
You can install the simpleicp package from PyPI:
pip install archive-images
Then call the help screen of executable with archive-images --help.
Usage notes
The default target path of an image in the archive is year/month/%Y_%m_%d_%H_%M_%S.%f.ext, e.g. image_archive\2018\04\2018_04_03_17_21_20.219.jpg. Note that the extension of an image is automatically converted to lowercase, e.g. .JPG to .jpg.
Help screen
usage: archive-images [-h] -i IMAGEFOLDER -a IMAGEARCHIVE [-e IMAGEEXTENSIONS] [-m {copy,move}]
[-fs FILTERBYIMAGESIZE FILTERBYIMAGESIZE] [-d] [-n] [-c]
required arguments:
-i IMAGEFOLDER, --imageFolder IMAGEFOLDER
Path to input folder with images to archive. (default: None)
-a IMAGEARCHIVE, --imageArchive IMAGEARCHIVE
Path to output folder with image archive. (default: None)
optional arguments:
-e IMAGEEXTENSIONS, --imageExtensions IMAGEEXTENSIONS
Extensions of images to archive separated by commas.
(default: ['jpg', 'jpeg'])
-m {copy,move}, --mode {copy,move}
Move or copy image files to archive? (default: copy)
-fs FILTERBYIMAGESIZE FILTERBYIMAGESIZE, --filterByImageSize FILTERBYIMAGESIZE FILTERBYIMAGESIZE
Archive only images with a specific image size. The image size must be
specified as two integer numbers separated by a single space,
i.e. num1 num2. The orientation of the images (portrait or landscape) is
not considered by this filter, i.e. images with size num1-by-num2 or
num2-by-num1 are archived. (default: [0, 0])
-d, --addDuplicates Add duplicates to a subfolder "duplicates" in image archive?
(default: False)
-n, --addNoExif Add images with no exif information to a subfolder "no_exif" in image
archive? (default: False)
-c, --confirm Confirm each operation before execution? (default: False)
Metadata
Release files for archive-images 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| archive-images-1.0.4.tar.gz | 5.6 kB | Without provenance | Details for archive-images-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| archive_images-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for archive_images-1.0.4-py3-none-any.whl |
Total release size: 18.4 kB
Release files / archive-images-1.0.4.tar.gz
| Download URL | archive-images-1.0.4.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9529a2896b010240ca8bcd617e4b92d5d2ba0da36c86140789a40cdd69701335
|
|
BLAKE2b-256 checksum How to use checksums |
9b2ddb71d05e11f277ef6c5e0ca534e37352af2f5d2809db80311f42b99d7d79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Release files / archive_images-1.0.4-py3-none-any.whl
| Download URL | archive_images-1.0.4-py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f13725b7403470469abbe083a57f5ce5b264c22aea18c36b8f32f5b920088efb
|
|
BLAKE2b-256 checksum How to use checksums |
4790694bcc3179fe7ad03f5f988816328a5320d193b0de332401fbd892f4d5c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Security for archive-images 1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.