PyMongoLab is a client library for MongoLab REST API
Project description
- Info:
See PyMongoLab documentation site for more information. See GitHub repository for the latest source.
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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pymongolab-1.2.tar.gz
(24.2 kB
view details)
File details
Details for the file pymongolab-1.2.tar.gz
.
File metadata
- Download URL: pymongolab-1.2.tar.gz
- Upload date:
- Size: 24.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc980980d5803fb636a9131217321fe53f866e62b0945270ab7dcdaa5604076e |
|
MD5 | 6b11eb724bd063fdee6f69608783e3a3 |
|
BLAKE2b-256 | d593b4b3bff8af7ceb8030f3eed7e4a93b2d84845432c229b2dd566314249b1f |