Skip to main content

Yay, Exif!

Project description

# exifyay

Yay, [Exif][exif-wp]! This module provides routines for reading and writing Exif data in Python, backed by strong and time-tested C libraries.

The bindings are generated by [Cython][cython] and we use static linking to produce a self-contained Python C module.

## Sources libexif and libjpeg are based on version 0.6.21. We have removed some i18n related stuff and added a GPS routine from the same source where JpegEncoderEXIF comes from.

JpegEncoderEXIF uses libexif and provides a higher-level interface to set Exif data. We have added a function to unset tags and have extended the GPS support.

libexif performs the heavy lifting that lets us read and write Exif data. libjpeg is part of the exif tool closely related to libexif.

libexif and libjpeg use autotools, we use [CMake][cmake] because Simon could not figure out how to cleanly build static libraries that work both on OS X and Linux.

## Build `shell cmake . make python setup.py install `

To build you must have CMake, make, gcc, g++, Python headers, and Cython installed.

## Install using pip You can install exifyay using [pip][pip] but you must still have the build requirements installed. To create binary distrbutions, you may want to have a look at [fpm][fpm].

## Check for memory leaks We use [Valgrind][valgrind] and Python built with –with-valgrind on test scripts and make sure that no directly nor indirectly lost memory is reported. Possibly lost memory is reported, however, but our sanity check is to remove all libexif unref calls and such and verify that the possibly lost memory value is unchanged.

## Correctness We verify that running the same operations on the same data more than once do not change it. We also verify that outputs can be parsed with tools like [ExifTool][exiftool]

## Contributors

## Licenses

[exif-wp]: http://en.wikipedia.org/wiki/Exchangeable_image_file_format [cython]: http://cython.org/ [valgrind]: http://valgrind.org/ [exiftool]: http://www.sno.phy.queensu.ca/~phil/exiftool/ [cmake]: http://www.cmake.org/ [pip]: http://www.pip-installer.org/en/latest/ [fpm]: https://github.com/jordansissel/fpm

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

exifyay-0.2.0.tar.gz (175.5 kB view details)

Uploaded Source

File details

Details for the file exifyay-0.2.0.tar.gz.

File metadata

  • Download URL: exifyay-0.2.0.tar.gz
  • Upload date:
  • Size: 175.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for exifyay-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d43e6603f6686d4c967f7187057dedfae05cb131aa53467557d5e7d58c7d80cd
MD5 5f65c2cadf76d8399a4d6f8846846aca
BLAKE2b-256 108ecf621802c8aad0f7377f508d3d6601e1b579d16f546146c11a21b45a0ef6

See more details on using hashes here.

Supported by

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