Code Monkey home page Code Monkey logo

beng / pyexiftool Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sylikc/pyexiftool

0.0 0.0 0.0 393 KB

MOST CURRENT VERSION of PyExifTool and active pip repository. Please submit issues and discuss new features you'd like to see! ........... PyExifTool is a Python library to communicate with an instance of Phil Harvey's excellent ExifTool command-line application. (Awaiting transfer of ownership to upstream project status here: https://github.com/smarnach/pyexiftool/pull/31 )

License: Other

Python 100.00%

pyexiftool's Introduction

PyExifTool

PyExifTool is a Python library to communicate with an instance of Phil Harvey's excellent ExifTool command-line application. The library provides the class exiftool.ExifTool that runs the command-line tool in batch mode and features methods to send commands to that program, including methods to extract meta-information from one or more image files. Since exiftool is run in batch mode, only a single instance needs to be launched and can be reused for many queries. This is much more efficient than launching a separate process for every single query.

Getting PyExifTool

The source code can be checked out from the github repository with

git clone git://github.com/sylikc/pyexiftool.git

Alternatively, you can download a tarball.

Official releases are on PyPI

https://pypi.org/project/PyExifTool/

Installation

PyExifTool runs on Python 2.6 and above, including 3.x. It has been tested on Windows and Linux, and probably also runs on other Unix-like platforms.

You need an installation of the exiftool command-line tool. The code has been tested with version 8.60, but should work with version 8.40 or above (which was the first production version of exiftool featuring the -stay_open option for batch mode).

PyExifTool currently only consists of a single module, so you can simply copy or link this module to a place where Python finds it, or you can call

(It is being slowly re-factored to a module to keep exiftool.py from growing astronomically)

python setup.py install [--user|--prefix=<installation-prefix]

to automatically install that module.

Testing

Run tests to make sure it's functional

python -m unittest -v tests/test_exiftool.py

Documentation

The documentation is available at http://smarnach.github.io/pyexiftool/.

Licence

PyExifTool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the licence, or (at your option) any later version, or the BSD licence.

PyExifTool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See COPYING.GPL or COPYING.BSD for more details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.