This file is indexed.

/usr/share/pyshared/pycountry-0.14.1.egg-info/PKG-INFO is in python-pycountry 0.14.1+ds1-2.

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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
Metadata-Version: 1.0
Name: pycountry
Version: 0.14.1
Summary: ISO country, subdivision, language, currency and script definitions and their translations
Home-page: UNKNOWN
Author: Christian Theune
Author-email: ct@gocept.com
License: LGPL 2.1
Description: =========
        pycountry
        =========
        
        pycountry provides the ISO databases for the standards:
        
        639
          Languages
        
        3166
          Countries
        
        3166-2
          Subdivisions of countries
        
        4217
          Currencies
        
        15924
          Scripts
        
        The package includes a copy from Debian's `pkg-isocodes` and makes the data
        accessible through a Python API.
        
        Translation files for the various strings are included as well.
        
        
        Countries (ISO 3166)
        ====================
        
        Countries are accessible through a database object that is already configured
        upon import of pycountry and works as an iterable:
        
          >>> import pycountry
          >>> len(pycountry.countries)
          248
          >>> list(pycountry.countries)[0]
          <pycountry.db.Country object at 0x...>
        
        Specific countries can be looked up by their various codes and provide the
        information included in the standard as attributes:
        
          >>> germany = pycountry.countries.get(alpha2='DE')
          >>> germany
          <pycountry.db.Country object at 0x...>
          >>> germany.alpha2
          u'DE'
          >>> germany.alpha3
          u'DEU'
          >>> germany.numeric
          u'276'
          >>> germany.name
          u'Germany'
          >>> germany.official_name
          u'Federal Republic of Germany'
        
        Note that historic countries, defined by the ISO 3166-3 sub-standard are not
        included in this list.
        
        Country subdivisions (ISO 3166-2)
        =================================
        
        The country subdivisions are a little more complex than the countries itself
        because they provide a nested and typed structure.
        
        All subdivisons can be accessed directly:
        
          >>> len(pycountry.subdivisions)
          4691
          >>> list(pycountry.subdivisions)[0]
          <pycountry.db.Subdivision object at 0x...>
        
        Subdivisions can be accessed using their unique code and provide at least
        their code, name and type:
        
          >>> de_st= pycountry.subdivisions.get(code='DE-ST')
          >>> de_st.code
          u'DE-ST'
          >>> de_st.name
          u'Sachsen-Anhalt'
          >>> de_st.type
          u'State'
          >>> de_st.country
          <pycountry.db.Country object at 0x...>
        
        Some subdivisions specify another subdivision as a parent:
        
          >>> al_br = pycountry.subdivisions.get(code='AL-BU')
          >>> al_br.code
          u'AL-BU'
          >>> al_br.name
          u'Bulqiz\xeb'
          >>> al_br.type
          u'District'
          >>> al_br.parent_code
          u'AL-09'
          >>> al_br.parent
          <pycountry.db.Subdivision object at 0x...>
          >>> al_br.parent.name
          u'Dib\xebr'
        
        The divisions of a single country can be queried using the country_code index:
        
          >>> len(pycountry.subdivisions.get(country_code='DE'))
          16
        
          >>> len(pycountry.subdivisions.get(country_code='US'))
          57
        
        
        Scripts (ISO 15924)
        ===================
        
        Scripts are available from a database similar to the countries:
        
          >>> len(pycountry.scripts)
          158
          >>> list(pycountry.scripts)[0]
          <pycountry.db.Script object at 0x...>
        
          >>> latin = pycountry.scripts.get(name='Latin')
          >>> latin
          <pycountry.db.Script object at 0x...>
          >>> latin.alpha4
          u'Latn'
          >>> latin.name
          u'Latin'
          >>> latin.numeric
          u'215'
        
        
        Currencies (ISO 4217)
        =====================
        
        The currencies database is, again, similar to the ones before:
        
          >>> len(pycountry.currencies)
          182
          >>> list(pycountry.currencies)[0]
          <pycountry.db.Currency object at 0x...>
        
          >>> argentine_peso = pycountry.currencies.get(letter='ARS')
          >>> argentine_peso
          <pycountry.db.Currency object at 0x...>
          >>> argentine_peso.letter
          u'ARS'
          >>> argentine_peso.name
          u'Argentine Peso'
          >>> argentine_peso.numeric
          u'032'
        
        
        Languages (ISO 639)
        ===================
        
        The languages database is similar too:
        
          >>> len(pycountry.languages)
          486
          >>> list(pycountry.languages)[0]
          <pycountry.db.Language object at 0x...>
        
          >>> aragonese = pycountry.languages.get(alpha2='an')
          >>> aragonese.alpha2
          u'an'
          >>> aragonese.bibliographic
          u'arg'
          >>> aragonese.terminology
          u'arg'
          >>> aragonese.name
          u'Aragonese'
        
        Locales
        =======
        
        Locales are available in the `pycountry.LOCALES_DIR` subdirectory of this
        package. The translation domains are called `isoXXX` according to the standard
        they provide translations for. The directory is structured in a way compatible
        to Python's gettext module.
        
        Here is an example translating language names:
        
          >>> import gettext
          >>> german = gettext.translation('iso_3166', pycountry.LOCALES_DIR,
          ...                              languages=['de'])
          >>> german.install()
          >>> _('Germany')
          'Deutschland'
        
        Changes
        =======
        
        0.14.1 (2011-07-15)
        -------------------
        
        - Re-release 0.14 after packaging mistake.
        
        
        0.14 (2011-07-06)
        -----------------
        
        - Update data to iso-codes 3.26.
        
        
        0.13 (2010-04-23)
        -----------------
        
        - Applied patch from Pedro Araujo which removes the somewhat superfluous
          dependency on lxml to the builtin minidom. This seems to consistently turn
          all strings into unicode even if they only contain ASCII characters.
        
        
        0.12.1 (2010-04-21)
        -------------------
        
        - Remedy brown-bag release 0.12 which was missing all data files due to a bad
          interaction between the build system for the data and zest.releaeser's
          full-release script.
        
        
        0.12 (2010-04-20)
        -----------------
        
        - Follow Debian repository to git.
        
        - Upgrade data to revision 770fa9cd603f90f9fb982b32fe6f45d253f1d33e as
          requested by #5488 and others.
        
        - Reflect subdivision changes with how they reference their parents in the XML
          (they used to use space as a separator but now use a hyphen).
        
        - Refactor index building structures a bit.
        
        - Remove superfluous 'code' index from subdivision database. (Together with
          the data upgrade this also gets rid of all the annoying warnings as
          described in #6667).
        
        - Some light PEP 8 improvements.
        
        0.11 (2009-03-03)
        -----------------
        
        - Updated Debian repository to r1752.
        
        
        0.10 (2008-06-26)
        -----------------
        
        - Added support for country subdivisions (ISO 3166-2). 
        
        
        0.9
        ---
        
        - Initial release
        
Keywords: country subdivision language currency iso 3166 639 4217 15924 3166-2
Platform: UNKNOWN