sleepy.mongoose
sleepy.mongoose copied to clipboard
[Archive] A REST interface for MongoDB - This Repository is NOT a supported MongoDB product
while i insert some data use the sleepy.mongoose api, it return errors, could not parse json.
Connection class is no longer available in PyMongo. Therefore the 'python httpd.py' cannot be launched.
I have added a api endpoint called _replica_connection that works in a similar way to _connect also i have added an option for -r to support replica connection from the...
_count _find_and_modify count is called the same way as find, returns {count: ..,ok:1} find_and_modify requires POST, and accepts parameters as mongodb findAndModify (1.3+), with defaults example: curl --data 'new=1&query={"honey":"yes"}&upsert=1&newobj={"$set":{"ounces":100}}' 'http://localhost:27080/foo/bar/_find_and_modify'...
Hey, I made a few changes. First of all I changed the main function to use argparse instead of getopt. Added some comments to make _parse_call more readable. And lastly...
bad pymongo 's connection._parse_uri() in PyMongo 2.0.1 there is not connection._parse_uri() replace as connection.uri_parser.parse_uri() is all OK!
Currently sleepy.mongoose works synchronously, it blocks on every request This patch is the minimum sync -> async change, using TheadingMixIn to process request in individual threads.
Hi, I've used the inbuilt SSL implementation instead of PyOpenSSL so that it works on Python > 2.6. Take a look! Thanks, Harish
I had some issues getting this to work with angular.js and discovered it was the lack of preflight headers. I added -p as an argument to the http server. So...