This file is indexed.

/usr/lib/python2.7/dist-packages/xmlbuilder-1.0.egg-info/PKG-INFO is in python-xmlbuilder 1.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
Metadata-Version: 1.0
Name: xmlbuilder
Version: 1.0
Summary: pythonic way to crate xml/(x)html files
Home-page: UNKNOWN
Author: Kostiantyn Danylov aka koder
Author-email: koder.mail@gmail.com
License: LGPL v3
Description: XMLBuilder is tiny library build on top of ElementTree.TreeBuilder to
        make xml files creation more pythonomic. `XMLBuilder` use `with`
        statement and attribute access to define xml document structure.
        Only 2.5+ python versions are supported.
        
        from __future__ import with_statement # only for python 2.5
        from xmlbuilder import XMLBuilder
        
        x = XMLBuilder('root')
        x.some_tag
        x.some_tag_with_data('text', a='12')
        
        with x.some_tree(a='1'):
            with x.data:
                x.mmm
                for i in range(10):
                    x.node(val=str(i))
        
        etree_node = ~x # <= return xml.etree.ElementTree object
        print str(x) # <= string object
        
        will result:
        
        <?xml version="1.0" encoding="utf-8" ?>
        <root>
            <some_tag />
            <some_tag_with_data a="12">text</some_tag_with_data>
            <some_tree a="1">
                <data>
                    <mmm />
                    <node val="0" />
                    <node val="1" />
                    <node val="2" />
                    <node val="3" />
                    <node val="4" />
                    <node val="5" />
                    <node val="6" />
                    <node val="7" />
                    <node val="8" />
                    <node val="9" />
                </data>
            </some_tree>
        </root>
        
        There some fields, which allow xml output customization:
        
        formatted = produce formatted xml. default = True
        tabstep   = tab string, used for formatting. default = ' ' * 4
        encoding  = xml document encoding. default = 'utf-8'
        xml_header = add xml header
                        (<?xml version="1.0" encoding="$DOCUMENT_ENCODING$">)
                    to begining of the document. default = True
        builder = builder class, used for create dcument. Default =
                                xml.etree.ElementTree.TreeBuilder
        
        Options can be readed by
        
        x = XMLBuilder('root')
        print x[option_name]
        
        and changed by
        
        x[option_name] = new_val
        
        Look at xmlbuilder/test.py for UT and more examples.
        Happy xml'ing.
Platform: UNKNOWN