Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Oct 8, 2014
Commits on Jul 30, 2012
  1. Use Unicode literals even in Python 2.x (__future__ import)

    This makes the code more consistent between Python versions, and
    simplifies the unit tests (in particular the ones not yet written).
  2. Documentation improvement

Commits on Jul 25, 2012
Commits on Jul 18, 2012
  1. Yet another take on filename encoding

    The current version *still* wasn't right – it failed on Unix-like OSes
    in cases the default filesystem encoding was unable to decode some
    filename.  I now adapted the code of ``os.fsencode()`` from Python's
    current development branch.
Commits on Jul 16, 2012
  1. Accept both, raw and Unicode strings, as filenames

    This is more consistent with the behaviour of Python's library functions.
    The function ``open()`` (say) accepts both raw strings (``bytes``) and
    Unicode string (``unicode``/``str``) and uses the system's filesystem
    encoding to convert between the two representation.  PyExifTool now behaves
    the same way.
Commits on Jul 15, 2012
  1. Fix the encoding of filenames and other parameters to exiftool.

    So far, ``ExifTool.execute()`` expected all parameters to be Unicode
    strings, and encoded them in UTF-8 before piping them to exiftool.  This
    was wrong for two reasons: First, in Python 2.x filenames are raw strings
    by convention, so no encoding is needed.  And second, the filenames should
    be encoded using the system's filesystem encoding, which is not always
    UTF-8 (unfortunately).
    For a more consistent interface, a new method ``execute_json()`` has been
    introduced that deals with the encodings.
Commits on Jul 7, 2012
  1. Don't decode as UTF-8 in `execute()`.

    The return value might be binary data.  We need to decode in
    `get_metadata_batch()` before parsing the JSON output.
Commits on Jun 27, 2012
Commits on Jun 26, 2012
  1. Pipe stderr to the null device (/dev/null or nul)

    This suppresses error output from exiftool, and should also work around
  2. Make sentinel matching less strict

    The old version caused problems with different newline characters,in
    particular with `"\r\n"` on Windows.
Commits on Apr 16, 2012
  1. Add unit tests

Commits on Apr 13, 2012
  1. Add Distutils support

Commits on Apr 12, 2012
  1. Add README.rst

Commits on Apr 11, 2012
  1. Add licence (GPL 3)

Commits on Apr 10, 2012
Something went wrong with that request. Please try again.