Metadata-Version: 1.2
Name: exif
Version: 0.2.0
Summary: Read and modify image EXIF metadata using Python.
Home-page: https://github.com/TNThieding/exif
Author: Tyler N. Thieding
Author-email: python@thieding.com
Maintainer: Tyler N. Thieding
Maintainer-email: python@thieding.com
License: MIT License
Download-URL: https://github.com/TNThieding/exif
Description: ######
        [exif]
        ######
        
        .. image:: https://travis-ci.org/TNThieding/exif.svg?branch=master
            :target: https://travis-ci.org/TNThieding/exif
        
        .. image:: https://coveralls.io/repos/github/TNThieding/exif/badge.svg?branch=master
            :target: https://coveralls.io/github/TNThieding/exif?branch=master
        
        .. image:: https://readthedocs.org/projects/exif/badge/?version=latest
            :target: https://exif.readthedocs.io/en/latest/?badge=latest
            :alt: Documentation Status
        
        Read and modify image EXIF metadata using Python without any third-party software
        dependencies. For example, batch process image metadata using a Python script.
        
        ***********
        Quick Start
        ***********
        
        Open an image with EXIF metadata using the Python ``open`` built-in function. Ensure the
        binary mode flag is set. Pass this image file object into the ``exif.Image`` class::
        
            >>> from exif import Image
            >>> with open('grand_canyon.jpg', 'rb') as image_file:
            ...     my_image = Image(image_file)
            ...
        
        Access EXIF metadata tags using Python attribute notation::
        
            >>> # Read tags with Python "get" notation.
            >>> my_image.gps_latitude
            (36.0, 3.0, 11.08)
            >>> my_image.gps_longitude
            (112.0, 5.0, 4.18)
            >>> my_image.model
            'iPhone 7'
            >>>
            >>> # Modify tags with Python "set" notation.
            >>> my_image.model = "Python"
            >>>
            >>> # Delete tags with Python "del" notation.
            >>> del my_image.gps_latitude
            >>> del my_image.gps_longitude
        
        Write the image with modified EXIF metadata to an image file using ``open`` in binary
        write mode::
        
            >>> with open('modified_image.jpg', 'wb') as new_image_file:
            ...     new_image_file.write(my_image.get_file())
            ...
        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Multimedia :: Graphics :: Editors
