This file is indexed.

/usr/lib/python2.7/dist-packages/xvfbwrapper-0.2.9.egg-info/PKG-INFO is in python-xvfbwrapper 0.2.9-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
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
Metadata-Version: 1.1
Name: xvfbwrapper
Version: 0.2.9
Summary: run headless display inside X virtual framebuffer (Xvfb)
Home-page: https://github.com/cgoldberg/xvfbwrapper
Author: Corey Goldberg
Author-email: cgoldberg _at_ gmail.com
License: MIT
Download-URL: http://pypi.python.org/pypi/xvfbwrapper
Description-Content-Type: UNKNOWN
Description: 
        ===============
            xvfbwrapper
        ===============
        
        
        **Manage headless displays with Xvfb (X virtual framebuffer)**
        
        .. image:: https://travis-ci.org/cgoldberg/xvfbwrapper.svg?branch=master
            :target: https://travis-ci.org/cgoldberg/xvfbwrapper
        
        ----
        
        ---------
            Info:
        ---------
        
        - Dev: https://github.com/cgoldberg/xvfbwrapper
        - Releases: https://pypi.python.org/pypi/xvfbwrapper
        - Author: `Corey Goldberg <https://github.com/cgoldberg>`_ - 2012-2016
        - License: MIT
        
        ----
        
        ----------------------
            About xvfbwrapper:
        ----------------------
        
        xvfbwrapper is a python wrapper for controlling Xvfb.
        
        ----
        
        ---------------
            About Xvfb:
        ---------------
        
        Xvfb (X virtual framebuffer) is a display server implementing the X11 display server protocol. It runs in memory and does not require a physical display.  Only a network layer is necessary.
        
        Xvfb is especially useful for running acceptance tests on headless servers.
        
        ----
        
        
        ----------------------------------
            Install xvfbwrapper from PyPI:
        ----------------------------------
        
          ``pip install xvfbwrapper``
        
        ----
        
        ------------------------
            System Requirements:
        ------------------------
        
        * Xvfb (``sudo apt-get install xvfb``, or similar)
        * Python 2.7 or 3.3+
        
        ----
        
        ++++++++++++
            Examples
        ++++++++++++
        
        ****************
            Basic Usage:
        ****************
        
        ::
        
            from xvfbwrapper import Xvfb
        
            vdisplay = Xvfb()
            vdisplay.start()
        
            # launch stuff inside
            # virtual display here.
        
            vdisplay.stop()
        
        ----
        
        *********************************************
            Basic Usage, specifying display geometry:
        *********************************************
        
        ::
        
            from xvfbwrapper import Xvfb
        
            vdisplay = Xvfb(width=1280, height=740, colordepth=16)
            vdisplay.start()
        
            # launch stuff inside
            # virtual display here.
        
            vdisplay.stop()
        
        ----
        
        *******************************
            Usage as a Context Manager:
        *******************************
        
        ::
        
            from xvfbwrapper import Xvfb
        
            with Xvfb() as xvfb:
                # launch stuff inside virtual display here.
                # It starts/stops around this code block.
        
        ----
        
        *******************************************************
            Testing Example: Headless Selenium WebDriver Tests:
        *******************************************************
        
        ::
        
            import unittest
        
            from selenium import webdriver
            from xvfbwrapper import Xvfb
        
        
            class TestPages(unittest.TestCase):
        
                def setUp(self):
                    self.xvfb = Xvfb(width=1280, height=720)
                    self.addCleanup(self.xvfb.stop)
                    self.xvfb.start()
                    self.browser = webdriver.Firefox()
                    self.addCleanup(self.browser.quit)
        
                def testUbuntuHomepage(self):
                    self.browser.get('http://www.ubuntu.com')
                    self.assertIn('Ubuntu', self.browser.title)
        
                def testGoogleHomepage(self):
                    self.browser.get('http://www.google.com')
                    self.assertIn('Google', self.browser.title)
        
        
            if __name__ == '__main__':
                unittest.main()
        
        
        The test class above uses `selenium` and `xvfbwrapper` to run each test case with Firefox inside a headless display.
        
        * virtual display is launched
        * Firefox launches inside virtual display (headless)
        * browser is not shown while tests are run
        * conditions are asserted in each test case
        * browser quits during cleanup
        * virtual display stops during cleanup
        
        *Look Ma', no browser!*
        
        (You can also take screenshots inside the virtual display for diagnosing test failures)
        
Keywords: xvfb,virtual,display,headless,x11
Platform: UNKNOWN
Classifier: Operating System :: Unix
Classifier: Operating System :: POSIX :: Linux
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Software Development :: Libraries :: Python Modules