Skip to main content

PyMongoLab is a client library for MongoLab REST API

Project description

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.

Project details


Release history Release notifications

This version
History Node

1.2

History Node

1.1

History Node

1.0rc1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pymongolab-1.2.tar.gz (24.2 kB) Copy SHA256 hash SHA256 Source None Feb 22, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page