semvec/pypi-packages huggingface dataset:
pymongolab 1.2
PyMongoLab is a client library for MongoLab REST API
License: Apache License, Version 2.0
Keywords: mongolab,pymongolab,mongolabclient,mongo,mongodb

==========
PyMongoLab
==========
:Info: See `PyMongoLab documentation site`_ for more information. See `GitHub repository`_ for the latest source.
:Author: Jorge Puente Sarrín <puentesarrin@gmail.com>

About
-----

PyMongoLab is a Python_ client library that contains tools for accessing to
MongoLab databases via `MongoLab REST API`_ using a similar sintax to PyMongo_.

>>> from pymongolab import MongoClient
>>> con = MongoClient("MongoLabAPIKey")
>>> db = con.database
>>> col = db.collection.find()
>>> list(col)
[{u'_id': ObjectId('50243d38e4b00c3b3e75fc94'), u'foo': u'bar', u'tld': u'com'},
{u'_id': ObjectId('50004d646cf431171ed53846'), u'foo': u'bar', u'tld': u'org'}]


Installation
------------

You can use pip_ to install PyMongoLab::

   $ pip install pymongolab

Or using last source::

   $ git clone git://github.com/puentesarrin/pymongolab.git
   $ cd pymongolab
   $ python setup.py install


Documentation
-------------

Sphinx_ must be installed to generate the documentation. Documentation can be
generated by running **python setup.py doc**.

.. _Python: http:www.python.org
.. _PyMongoLab documentation site: http://pymongolab.puentesarr.in
.. _GitHub repository: https://github.com/puentesarrin/pymongolab/tree
.. _MongoLab REST API: http://support.mongolab.com/entries/20433053-rest-api-for-mongodb
.. _PyMongo: http://pypi.python.org/pypi/pymongo
.. _pip: http://pypi.python.org/pypi/pip
.. _Sphinx: http://sphinx.pocoo.org/