This file is indexed.

/usr/share/pyshared/django_genshi-1.1.3.egg-info/PKG-INFO is in python-django-genshi 1.1.3-4build1.

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.1
Name: django-genshi
Version: 1.1.3
Summary: Django integration for Genshi
Home-page: https://launchpad.net/django-genshi
Author: John Millikin
Author-email: jmillikin@gmail.com
License: GPL
Download-URL: http://pypi.python.org/pypi/django-genshi/1.1.3
Description: :Author: John Millikin
        :Copyright: This document has been placed in the public domain.
        
        Overview
        ========
        
        ``django-genshi`` is a small wrapper library around Genshi that provides
        an API similar to ``django.template``. Included are imitations of
        ``Context`` and ``RequestContext``. There is also an implemention of the
        Django template loader system adapted for Genshi, and a selection of
        shortcut functions.
        
        Usage
        =====
        
        See the `Django` [#]_ and `Genshi` [#]_ documentation for detailed usage notes.
        The API of ``django-genshi`` is intended to mirror that of Django, while
        writing or manipulating the templates will require knowledge of Genshi.
        
        Genshi cannot use Django's default template loaders -- to work around this,
        the ``app_directories``, ``eggs``, and ``filesystem`` loaders have been
        modified and included in the ``django_genshi.loaders`` package. To avoid
        conflicts with Django's template system, place such loaders in the
        ``GENSHI_TEMPLATE_LOADERS`` setting.
        
        Example::
        
            >>> from django_genshi import render_to_response
            >>> response = render_to_response ('template_name.xml', {"name": "world"})
            >>> print response.content
            <h1>Hello world!</h1>
        
        .. [#] http://docs.djangoproject.com/en/dev/ref/templates/api/
        .. [#] http://genshi.edgewall.org/wiki/Documentation
        
        Output Type Autodetection
        =========================
        
        Because Genshi is based on abstract markup streams, it is possible for a
        template to be rendered to multiple output representations (such as HTML or
        XHTML). The decision of which to render is usually based on the HTTP
        ``Accept`` header. The ``shortcuts.render_to_response_autodetect`` function
        implements a reasonable algorithm for autodetecting output formats, and
        serves as an example for writing custom encoders in general.
        
        Filters
        =======
        
        Arbitrary Genshi filter functions may be registered, using the
        ``GENSHI_TEMPLATE_FILTERS`` setting. They will be applied to generated
        template streams by the shortcut functions prior to rendering the
        streams. Example filters are included in the ``django_genshi.filters``
        module.
        
Keywords: django,genshi
Platform: Platform Independent
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Processing :: Markup :: HTML
Classifier: Topic :: Text Processing :: Markup :: XML