This file is indexed.

/usr/share/doc/python-pymongo-doc/html/api/pymongo/index.html is in python-pymongo-doc 2.7.2-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
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>pymongo – Python driver for MongoDB &mdash; PyMongo 2.7.2 documentation</title>
    
    <link rel="stylesheet" href="../../_static/default.css" type="text/css" />
    <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../../',
        VERSION:     '2.7.2',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="../../_static/jquery.js"></script>
    <script type="text/javascript" src="../../_static/underscore.js"></script>
    <script type="text/javascript" src="../../_static/doctools.js"></script>
    <script type="text/javascript" src="../../_static/sidebar.js"></script>
    <link rel="top" title="PyMongo 2.7.2 documentation" href="../../index.html" />
    <link rel="up" title="API Documentation" href="../index.html" />
    <link rel="next" title="connection – Tools for connecting to MongoDB" href="connection.html" />
    <link rel="prev" title="tz_util – Utilities for dealing with timezones in Python" href="../bson/tz_util.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../../genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="../../py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="connection.html" title="connection – Tools for connecting to MongoDB"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="../bson/tz_util.html" title="tz_util – Utilities for dealing with timezones in Python"
             accesskey="P">previous</a> |</li>
        <li><a href="../../index.html">PyMongo 2.7.2 documentation</a> &raquo;</li>
          <li><a href="../index.html" accesskey="U">API Documentation</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="module-pymongo">
<span id="pymongo-python-driver-for-mongodb"></span><h1><a class="reference internal" href="#module-pymongo" title="pymongo: Python driver for MongoDB"><tt class="xref py py-mod docutils literal"><span class="pre">pymongo</span></tt></a> &#8211; Python driver for MongoDB<a class="headerlink" href="#module-pymongo" title="Permalink to this headline"></a></h1>
<p>Python driver for MongoDB.</p>
<dl class="data">
<dt id="pymongo.version">
<tt class="descclassname">pymongo.</tt><tt class="descname">version</tt><em class="property"> = '2.7.2'</em><a class="headerlink" href="#pymongo.version" title="Permalink to this definition"></a></dt>
<dd><p>Current version of PyMongo.</p>
</dd></dl>

<dl class="data">
<dt id="pymongo.MongoClient">
<tt class="descclassname">pymongo.</tt><tt class="descname">MongoClient</tt><a class="headerlink" href="#pymongo.MongoClient" title="Permalink to this definition"></a></dt>
<dd><p>Alias for <a class="reference internal" href="mongo_client.html#pymongo.mongo_client.MongoClient" title="pymongo.mongo_client.MongoClient"><tt class="xref py py-class docutils literal"><span class="pre">pymongo.mongo_client.MongoClient</span></tt></a>.</p>
</dd></dl>

<dl class="data">
<dt id="pymongo.MongoReplicaSetClient">
<tt class="descclassname">pymongo.</tt><tt class="descname">MongoReplicaSetClient</tt><a class="headerlink" href="#pymongo.MongoReplicaSetClient" title="Permalink to this definition"></a></dt>
<dd><p>Alias for <a class="reference internal" href="mongo_replica_set_client.html#pymongo.mongo_replica_set_client.MongoReplicaSetClient" title="pymongo.mongo_replica_set_client.MongoReplicaSetClient"><tt class="xref py py-class docutils literal"><span class="pre">pymongo.mongo_replica_set_client.MongoReplicaSetClient</span></tt></a>.</p>
</dd></dl>

<dl class="class">
<dt id="pymongo.read_preferences.ReadPreference">
<em class="property">class </em><tt class="descclassname">pymongo.read_preferences.</tt><tt class="descname">ReadPreference</tt><a class="headerlink" href="#pymongo.read_preferences.ReadPreference" title="Permalink to this definition"></a></dt>
<dd><p>An enum that defines the read preference modes supported by PyMongo.
Used in three cases:</p>
<p><a class="reference internal" href="mongo_client.html#pymongo.mongo_client.MongoClient" title="pymongo.mongo_client.MongoClient"><tt class="xref py py-class docutils literal"><span class="pre">MongoClient</span></tt></a> connected to a single host:</p>
<ul class="simple">
<li><cite>PRIMARY</cite>: Queries are allowed if the host is standalone or the replica
set primary.</li>
<li>All other modes allow queries to standalone servers, to the primary, or
to secondaries.</li>
</ul>
<p><a class="reference internal" href="mongo_client.html#pymongo.mongo_client.MongoClient" title="pymongo.mongo_client.MongoClient"><tt class="xref py py-class docutils literal"><span class="pre">MongoClient</span></tt></a> connected to a mongos, with a
sharded cluster of replica sets:</p>
<ul class="simple">
<li><cite>PRIMARY</cite>: Queries are sent to the primary of a shard.</li>
<li><cite>PRIMARY_PREFERRED</cite>: Queries are sent to the primary if available,
otherwise a secondary.</li>
<li><cite>SECONDARY</cite>: Queries are distributed among shard secondaries. An error
is raised if no secondaries are available.</li>
<li><cite>SECONDARY_PREFERRED</cite>: Queries are distributed among shard secondaries,
or the primary if no secondary is available.</li>
<li><cite>NEAREST</cite>: Queries are distributed among all members of a shard.</li>
</ul>
<p><a class="reference internal" href="mongo_replica_set_client.html#pymongo.mongo_replica_set_client.MongoReplicaSetClient" title="pymongo.mongo_replica_set_client.MongoReplicaSetClient"><tt class="xref py py-class docutils literal"><span class="pre">MongoReplicaSetClient</span></tt></a>:</p>
<ul class="simple">
<li><cite>PRIMARY</cite>: Queries are sent to the primary of the replica set.</li>
<li><cite>PRIMARY_PREFERRED</cite>: Queries are sent to the primary if available,
otherwise a secondary.</li>
<li><cite>SECONDARY</cite>: Queries are distributed among secondaries. An error
is raised if no secondaries are available.</li>
<li><cite>SECONDARY_PREFERRED</cite>: Queries are distributed among secondaries,
or the primary if no secondary is available.</li>
<li><cite>NEAREST</cite>: Queries are distributed among all members.</li>
</ul>
</dd></dl>

<dl class="function">
<dt id="pymongo.has_c">
<tt class="descclassname">pymongo.</tt><tt class="descname">has_c</tt><big>(</big><big>)</big><a class="headerlink" href="#pymongo.has_c" title="Permalink to this definition"></a></dt>
<dd><p>Is the C extension installed?</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 1.5.</span></p>
</div>
</dd></dl>

<dl class="data">
<dt id="pymongo.MIN_SUPPORTED_WIRE_VERSION">
<tt class="descclassname">pymongo.</tt><tt class="descname">MIN_SUPPORTED_WIRE_VERSION</tt><a class="headerlink" href="#pymongo.MIN_SUPPORTED_WIRE_VERSION" title="Permalink to this definition"></a></dt>
<dd><p>The minimum wire protocol version PyMongo supports.</p>
</dd></dl>

<dl class="data">
<dt id="pymongo.MAX_SUPPORTED_WIRE_VERSION">
<tt class="descclassname">pymongo.</tt><tt class="descname">MAX_SUPPORTED_WIRE_VERSION</tt><a class="headerlink" href="#pymongo.MAX_SUPPORTED_WIRE_VERSION" title="Permalink to this definition"></a></dt>
<dd><p>The maximum wire protocol version PyMongo supports.</p>
</dd></dl>

<p>Sub-modules:</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="connection.html"><tt class="docutils literal"><span class="pre">connection</span></tt> &#8211; Tools for connecting to MongoDB</a></li>
<li class="toctree-l1"><a class="reference internal" href="database.html"><tt class="docutils literal"><span class="pre">database</span></tt> &#8211; Database level operations</a></li>
<li class="toctree-l1"><a class="reference internal" href="collection.html"><tt class="docutils literal"><span class="pre">collection</span></tt> &#8211; Collection level operations</a></li>
<li class="toctree-l1"><a class="reference internal" href="command_cursor.html"><tt class="docutils literal"><span class="pre">command_cursor</span></tt> &#8211; Tools for iterating over MongoDB command results</a></li>
<li class="toctree-l1"><a class="reference internal" href="cursor.html"><tt class="docutils literal"><span class="pre">cursor</span></tt> &#8211; Tools for iterating over MongoDB query results</a></li>
<li class="toctree-l1"><a class="reference internal" href="bulk.html"><tt class="docutils literal"><span class="pre">bulk</span></tt> &#8211; The bulk write operations interface</a></li>
<li class="toctree-l1"><a class="reference internal" href="errors.html"><tt class="docutils literal"><span class="pre">errors</span></tt> &#8211; Exceptions raised by the <tt class="docutils literal"><span class="pre">pymongo</span></tt> package</a></li>
<li class="toctree-l1"><a class="reference internal" href="master_slave_connection.html"><tt class="docutils literal"><span class="pre">master_slave_connection</span></tt> &#8211; Master-slave connection to MongoDB</a></li>
<li class="toctree-l1"><a class="reference internal" href="message.html"><tt class="docutils literal"><span class="pre">message</span></tt> &#8211; Tools for creating messages to be sent to MongoDB</a></li>
<li class="toctree-l1"><a class="reference internal" href="mongo_client.html"><tt class="docutils literal"><span class="pre">mongo_client</span></tt> &#8211; Tools for connecting to MongoDB</a></li>
<li class="toctree-l1"><a class="reference internal" href="mongo_replica_set_client.html"><tt class="docutils literal"><span class="pre">mongo_replica_set_client</span></tt> &#8211; Tools for connecting to a MongoDB replica set</a></li>
<li class="toctree-l1"><a class="reference internal" href="pool.html"><tt class="docutils literal"><span class="pre">pool</span></tt> &#8211; Pool module for use with a MongoDB client.</a></li>
<li class="toctree-l1"><a class="reference internal" href="replica_set_connection.html"><tt class="docutils literal"><span class="pre">replica_set_connection</span></tt> &#8211; Tools for connecting to a MongoDB replica set</a></li>
<li class="toctree-l1"><a class="reference internal" href="son_manipulator.html"><tt class="docutils literal"><span class="pre">son_manipulator</span></tt> &#8211; Manipulators that can edit SON documents as they are saved or retrieved</a></li>
<li class="toctree-l1"><a class="reference internal" href="cursor_manager.html"><tt class="docutils literal"><span class="pre">cursor_manager</span></tt> &#8211; Managers to handle when cursors are killed after being closed &#8211; DEPRECATED</a></li>
<li class="toctree-l1"><a class="reference internal" href="uri_parser.html"><tt class="docutils literal"><span class="pre">uri_parser</span></tt> &#8211; Tools to parse and validate a MongoDB URI</a></li>
</ul>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h4>Previous topic</h4>
  <p class="topless"><a href="../bson/tz_util.html"
                        title="previous chapter"><tt class="docutils literal"><span class="pre">tz_util</span></tt> &#8211; Utilities for dealing with timezones in Python</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="connection.html"
                        title="next chapter"><tt class="docutils literal"><span class="pre">connection</span></tt> &#8211; Tools for connecting to MongoDB</a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="../../_sources/api/pymongo/index.txt"
           rel="nofollow">Show Source</a></li>
  </ul>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="../../search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../../genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="../../py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="connection.html" title="connection – Tools for connecting to MongoDB"
             >next</a> |</li>
        <li class="right" >
          <a href="../bson/tz_util.html" title="tz_util – Utilities for dealing with timezones in Python"
             >previous</a> |</li>
        <li><a href="../../index.html">PyMongo 2.7.2 documentation</a> &raquo;</li>
          <li><a href="../index.html" >API Documentation</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2008 - 2014, MongoDB, Inc..
      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.3.
    </div>
  </body>
</html>