This file is indexed.

/usr/lib/python2.7/dist-packages/ckanclient-0.9.egg-info/PKG-INFO is in python-ckanclient 0.9-1.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
 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
Metadata-Version: 1.1
Name: ckanclient
Version: 0.9
Summary: The CKAN client Python package.
Home-page: http://www.okfn.org/ckan/
Author: Open Knowledge Foundation
Author-email: info@okfn.org
License: MIT
Description: The CKAN client software may be used to make requests on the Comprehensive
        Knowledge Archive Network (CKAN) API including its REST interface to all
        primary objects (packages, groups, tags) and its search interface.
        
        Synopsis
        ========
        
        The simplest way to make CKAN requests is:
        
            import ckanclient
        
            # Instantiate the CKAN client.
            ckan = ckanclient.CkanClient(base_location='http://thedatahub.org/api',
                                         api_key='adbc-1c0d')
            # (use your own api_key from http://thedatahub.org/user/me )
            
            # Get the package list.
            package_list = ckan.package_register_get()
            print package_list
        
            # Get the tag list.
            tag_list = ckan.tag_register_get()
            print tag_list
        
            # Collect the package metadata.
            package_entity = {
                'name': my_package_name,
                'url': my_package_url,
                'download_url': my_package_download_url,
                'tags': my_package_keywords,
                'notes': my_package_long_description,
            }
            
            # Register the package.
            ckan.package_register_post(package_entity)
        
            # Get the details of a package.
            ckan.package_entity_get(package_name)
            package_entity = ckan.last_message
            print package_entity
        
            # Update the details of a package.
            ckan.package_entity_get(package_name)
            package_entity = ckan.last_message
            package_entity['url'] = new_package_url
            package_entity['notes'] = new_package_notes
            ckan.package_entity_put(package_entity)
        
            # List groups
            group_list = ckan.group_register_get()
            print group_list
            
            # Create a new group
            group_entity = {
                'name': my_group_name,
                'title': my_group_title,
                'description': my_group_description,
                'packages': group_package_names,
                }
            ckan.group_register_post(group_entity)
        
            # Get the details of a group.
            print ckan.group_entity_get(group_name)
        
            # Update the group details
            group_entity = ckan.last_message
            group_entity['title'] = new_group_title
            group_entity['packages'] = new_group_packages
            ckan.group_entity_put(group_entity)
        
        Changelog
        =========
        
        vXX
        ---------------
        
          * Action API functions
          * GET methods now send API key too
          * Removed changeset functions
        
        
        v0.9 2011-08-09
        ---------------
        
          * Default URL changed to thedatahub.org
          * Guard against 301 redirection, which loses POST contents
        
        
        v0.8 2011-07-20
        ---------------
        
          * More detailed exceptions added
          * Some Python 3 compatibility
          
        
        v0.7 2011-01-27
        ---------------
        
          * Package search returns results as a generator
            (rather than a list that needs to be paged)
          
        
        v0.5 2010-12-15
        ---------------
        
          * Exception raised on error (more Pythonic)
          
        
        v0.4 2010-10-07
        ---------------
        
          * Form API added
          * Package name editing
          * Groups added
          * Output can be verbose and use logger
          * Query API version
          * Sends API key via additional header
          
        
        v0.3 2010-04-28
        ---------------
        
          * General usability improvements especially around error messages. 
          * Package Relationships added
          * Package deletion fixed
          * Changeset entities added
          * Improved httpauth (thanks to will waites)
        
        
        v0.2 2009-11-05
        ---------------
        
          * Search API support added
          * Improved package support to include additional fields such as 'extras'
          * Support tag and group entities in addition to package
          * Compatibility changes: CkanClient base_location (now should point to base
            api e.g. http://ckan.net/api rather than http://ckan.net/api/rest)
        
        
        v0.1 2008-04
        ------------
        
          * Fully functional implementation for REST interface to packages
        
Keywords: data packaging component tool client
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules