Skip to main content

Select jpegs based on their exif-data.

Project description

Image-selection based on their exifdata.

Latest Version

The latest version of this project can be found at : http://github.com/thomst/jexifs.

Installation

  • You need pyexiv2. To install it on Ubuntu/Debian use

    sudo apt-get install python-pyexiv2
  • Option 1 : Install via pip

    pip install jexifs
  • Option 2 : If you have downloaded the source

    python setup.py install

Documentation

jexifs –help

usage:
  jexifs -h
  jexifs [PATH:EXT] [OPTIONS]

description:
  Image-selection based on their exifdata.


positional argument:
  PATH:EXT                  Use all files anywhere under PATH that ends on EXT.


optional arguments:
  -h, --help                Print this help message and exit.
  -v, --version             Print the program's version and exit.
  -f, --format [FORMAT]     Specify the format of the output.
  -F, --Format [FORMAT]     Jexifs checks the first line of an index-file for
                            informations that helps to interprete the lines'
                            fields. If there is no headline use --Format to
                            specify its format.
  -i, --index [FILE]        Use FILE as index instead of checking jpegs.
  -H, --headline            Print the output's format as first line.
  -s, --sort TAG            Sort all images after TAG.
                            The default order is alphanumerical in regard of the
                            filenames (using the relative path including PATH).
                            Mind that sorting is memory-expensive, because the
                            data of all jpegs (resp. of the index-file) will be
                            loaded into memory. Only use it if needed.

TAG could be path, name, date, time, datetime, exposure_time or model.
FORMAT is an arbitrary sequence of these words (e.g. -f "path - date - time")


arguments for image-selection:

  data:
  -d, --dates DATE [DATE..] Select all images captured at DATE.
  -t, --times TIME [TIME..] Select all images captured at TIME.
  -D, --datetime DATE TIME  Select all images captured at DATE TIME.
                            Use this option multiple times to specify mor than
                            one datetime.
  -e, --exposure-time SEC [SEC2]
                            Select all images whose exposure-time is SEC or
                            between SEC and SEC2.
  -m, --model [MODEL]       Select all images whose been made with MODEL.


  durations:
  -p, --plus [HOURS] [MINUTES] [SECONDS]
                            Defines a duration that starts with a specified time.
                            To be used with --times or --datetime.
  -a, --first-after         Select the first matched image for after each
                            specified time. Use --plus to specify a timespan the
                            image should be in.
                            Mind that this only gives useful results if the
                            the images are sorted by datetime.

Contribution

Every kind of feedback is very welcome.

Reporting Bugs

Please report bugs at github issue tracker: https://github.com/thomst/jexifs/issues

Author

thomst <thomaslfuss@gmx.de> Thomas Leichtfuß

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jexifs-0.3.0.tar.gz (6.0 kB view details)

Uploaded Source

File details

Details for the file jexifs-0.3.0.tar.gz.

File metadata

  • Download URL: jexifs-0.3.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for jexifs-0.3.0.tar.gz
Algorithm Hash digest
SHA256 c595ffbfc61b9ac8ae84dd220cdad9dd3fdc9fd218d8f483895feb26a9a836e2
MD5 3ca3ed0229b44c159fb962b385e06387
BLAKE2b-256 3519d4235639915e40be8fc05b7960b3dec358b4dfdde8f18a1c9dab344558b8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page