A trivial Twitter clone. A set of example apps demonstrating asynchronous Python web frameworks with MongoDB. Installation ------------ git clone git://github.com/ajdavis/chirp.git cd chirp pip install -I -r chirp.reqs cd .. git clone git@github.com:ajdavis/asyncmongo.git cd asyncmongo git checkout getmore # my patch that allows tailable cursors cd .. git clone git@github.com:ajdavis/mongo-python-driver.git cd mongo-python-driver git checkout motor # my branch with Motor, a Tornado Mongo driver cd .. Usage ----- To run `sync`, the example of using PyMongo with Tornado: cd sync PYTHONPATH=../../mongo-python-driver python chirp_sync.py To run `async`, the example of using AsyncMongo with Tornado: cd async PYTHONPATH=../../asyncmongo python chirp_async.py To run `async_gen`, the example of using AsyncMongo with Tornado's generator interface: cd async_gen PYTHONPATH=../../asyncmongo python chirp_async_gen.py To run `gevent`, the example using PyMongo 2.2 with Gevent: cd gevent PYTHONPATH=../../mongo-python-driver python chirp_gevent.py