diff options
Diffstat (limited to 'doc/api.rst')
-rw-r--r-- | doc/api.rst | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/doc/api.rst b/doc/api.rst new file mode 100644 index 0000000..3a26568 --- /dev/null +++ b/doc/api.rst @@ -0,0 +1,58 @@ +API documentation +================= + +pyexiv2 +####### + +.. module:: pyexiv2 +.. autodata:: version_info +.. autodata:: __version__ +.. autodata:: exiv2_version_info +.. autodata:: __exiv2_version__ + +pyexiv2.metadata +################ + +.. module:: pyexiv2.metadata +.. autoclass:: ImageMetadata + :members: read, write, dimensions, mime_type, exif_keys, iptc_keys, + xmp_keys, __getitem__, __setitem__, __delitem__, previews, copy + +pyexiv2.exif +############ + +.. module:: pyexiv2.exif +.. autoexception:: ExifValueError +.. autoclass:: ExifTag + :members: key, type, name, label, description, section_name, + section_description, raw_value, value, human_value + +pyexiv2.iptc +############ + +.. module:: pyexiv2.iptc +.. autoexception:: IptcValueError +.. autoclass:: IptcTag + :members: key, type, name, title, description, photoshop_name, repeatable, + record_name, record_description, raw_values, values + +pyexiv2.xmp +########### + +.. module:: pyexiv2.xmp +.. autoexception:: XmpValueError +.. autoclass:: XmpTag + :members: key, type, name, title, description, raw_value, value + +pyexiv2.utils +############# + +.. module:: pyexiv2.utils +.. autofunction:: undefined_to_string +.. autofunction:: string_to_undefined + +.. autoclass:: Rational + :members: numerator, denominator, from_string, to_float, __eq__ +.. autoclass:: GPSCoordinate + :members: degrees, minutes, seconds, direction, from_string, __eq__, __str__ + |