Archived
This project has been archived by its maintainers, and is no longer receiving any updates.
- 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.
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.1.tar.gz
(20.7 kB
view details)
File details
Details for the file pymongolab-1.1.tar.gz.
File metadata
- Download URL: pymongolab-1.1.tar.gz
- Upload date:
- Size: 20.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
679f97fd11b054f3ecce8bfc03842427a4895577f6023f72dfe59aad794cd69e
|
|
| MD5 |
598d8d55f97d562114f482bddd063076
|
|
| BLAKE2b-256 |
b4fe054efca72a4e631547a0fc3dce51857ef382d09422b3bcb70a91f1f81574
|