Debian Codegraph @

python/README

raw
1 Python wrapper for libiptcdata
2 - Ian Wienand <[email protected]>
3
4 OVERVIEW
5 ========
6
7 The iptcdata module is a wrapper around libiptcdata designed for
8 updating IPTC information in JPEG files. It can be enabled by passing
9 --enable-python to configure. It will produce a module called
10 iptcdata.
11
12 An iptcdata.Data object holds a list of iptcdata.DataSet objects.
13 Values can be added and modified, but are only written back when the
14 Data object's save() function is called. There are a handful of
15 functions to query record numbers, etc.
16
17 FILES
18 =====
19
20 * pyiptcdatamod.c : module implementation
21 * pyiptcdata.c : iptcdata.Data object implementation
22 * pyiptcdataset.c : iptcdata.DataSet object implementation
23 * examples/*.py : some example/test programs using the library
24
25 For simplicity, python3 has been forked and modified from the stable
26 python2 sources. When building via automake, the top-level files will
27 include the correct version. setup.py is included also for building
28 via setuptools.
29
30 NOTES
31 =====
32
33 Each DataSet object holds a reference to the Data object; only once
34 they are cleared will the Data object go away. To handle the case
35 where references are held to a closed Data object, each object has a
36 state describing it's current validity. Operations on objects in an
37 invalid state should raise an exception saying as much.