This file is indexed.

/usr/share/pyshared/zope.ucol-1.0.2.egg-info/PKG-INFO is in python-zope.ucol 1.0.2-2ubuntu6.

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
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
Metadata-Version: 1.0
Name: zope.ucol
Version: 1.0.2
Summary: Python access to ICU text collation
Home-page: http://www.python.org/pypi/zope.ucol
Author: Jim Fulton
Author-email: jim@zope.com
License: ZPL 2.1
Description: *************************************
        Locale-based text collation using ICU
        *************************************
        
        This package provides a Python interface to the `International
        Component for Unicode (ICU)
        <http://www-306.ibm.com/software/globalization/icu/index.jsp>`_.
        
        .. contents::
        
        Change History
        **************
        
        1.0.2 (2006-10-16)
        ==================
        
        Fixed setup file problems.
        
        1.0.1 (2006-10-16)
        ==================
        
        Added missing import to setup.py.
        
        1.0 (2006-10-16)
        ================
        
        Initial version.
        
        Installation
        ************
        
        zope.ucol is installed via setup.py in the usual way.
        
        You must have ICU installed.  If ICU isn't installed in the usual
        places for include files and libraries on your system, you can provide
        command-line options to setup.py when building the extensions, as in::
        
         python2.4 setup.py build_ext \
           -I/home/jim/p/z4i/jim-icu/var/opt/icu/include \
           -L/home/jim/p/z4i/jim-icu/var/opt/icu/lib \
           -R/home/jim/p/z4i/jim-icu/var/opt/icu/lib
        
         python2.4 setup.py install
        
        Note that if the libraries are in an unusual place, you will want to
        specify their location using the -R option so you don't have to
        specify it at run-time.
        
        Detailed Documentation
        **********************
        
        Locale-based text collation using ICU
        =====================================
        
        The zope.ucol package provides a minimal Pythonic wrapper around the
        u_col C API of the International Components for Unicode (ICU) library.
        It provides locale-based text collation.
        
        To perform collation, you need to create a collator key factory for
        your locale.  We'll use the special "root" locale in this example:
        
            >>> import zope.ucol
            >>> collator = zope.ucol.Collator("root")
        
        The collator has a key method for creating collation keys from unicode
        strings.  The method can be passed as the key argument to list.sort
        or to the built-in sorted function.
        
            >>> sorted([u'Sam', u'sally', u'Abe', u'alice', u'Terry', u'tim',
            ...        u'\U00023119', u'\u62d5'], key=collator.key)
            [u'Abe', u'alice', u'sally', u'Sam', u'Terry', u'tim', 
             u'\u62d5', u'\U00023119']
        
        There is a cmp method for comparing 2 unicode strings, which can also be
        used when sorting:
        
            >>> sorted([u'Sam', u'sally', u'Abe', u'alice', u'Terry', u'tim',
            ...        u'\U00023119', u'\u62d5'], collator.cmp)
            [u'Abe', u'alice', u'sally', u'Sam', u'Terry', u'tim', 
             u'\u62d5', u'\U00023119']
        
        Note that it is almost always more efficient to pass the key method to
        sorting functions, rather than the cmp method.  The cmp method is more
        efficient in the special case that strings are long and few and when
        they tend to differ at their beginnings.  This is because computing
        the entire key can be much more expensive than comparison when the
        order can be determined based on analyzing a small portion of the
        original strings.
        
        Collator attributes
        -------------------
        
        You can ask a collator for it's locale:
        
            >>> collator.locale
            'root'
        
        and you can find out whether default collation information was used:
        
            >>> collator.used_default_information
            0
            >>> collator = zope.ucol.Collator("eek")
            >>> collator.used_default_information
            1
        
        Download
        **********************
        
Keywords: internationalization
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Internationalization