Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

Commit

Permalink
update Readme; add Changelog; bump to 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jehiah committed Oct 10, 2011
1 parent 9d9e672 commit e57ad24
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 6 deletions.
15 changes: 15 additions & 0 deletions ChangeLog
@@ -0,0 +1,15 @@
Version 1.0 10/8/2011
* #12 authentication support
* #14 support for slave_okay=True
* #6 fix port typo in example code
* implement command method

Version 0.1.3 2/8/2011
* fix cleanup for connections that aren't closed cleanly
* #1 implement mincached

Version 0.1.2 12/6/2010
* fixes for querying with safe=False

Version 0.1 11/17/2010
* Initial release
13 changes: 10 additions & 3 deletions README.md
Expand Up @@ -9,13 +9,15 @@ Installation


Installing: `pip install asyncmongo` Installing: `pip install asyncmongo`


Installing form github: `pip install -e git://github.com/bitly/asyncmongo.git#egg=asyncmongo` Installing form github: `pip install git+https://github.com/bitly/asyncmongo.git`


Installing from source: `git clone git://github.com/bitly/asyncmongo.git; cd asyncmongo; python setup.py install` Installing from source: `git clone git://github.com/bitly/asyncmongo.git; cd asyncmongo; python setup.py install`


Usage Usage
----- -----


asyncmongo syntax strives to be similar to [pymongo](http://api.mongodb.org/python/current/api/pymongo/collection.html).

import asyncmongo import asyncmongo
import tornado.web import tornado.web


Expand All @@ -41,9 +43,14 @@ Usage
About About
----- -----


Features not supported: some features from pymongo are not currently implemented. i.e.: directly Some features are not currently implemented:
interfacing with indexes, dropping collections, and retrieving results in batches instead of all at once.
* directly interfacing with indexes, dropping collections
* retrieving results in batches instead of all at once
(asyncmongo's nature means that no calls are blocking regardless of the number of results you are retrieving) (asyncmongo's nature means that no calls are blocking regardless of the number of results you are retrieving)
* native Replica Set support #16
* tailable cursors #15



Requirements Requirements
------------ ------------
Expand Down
4 changes: 2 additions & 2 deletions asyncmongo/__init__.py
Expand Up @@ -29,8 +29,8 @@
except ImportError: except ImportError:
raise ImportError("tornado library not installed. Install tornado. https://github.com/facebook/tornado") raise ImportError("tornado library not installed. Install tornado. https://github.com/facebook/tornado")


version = "0.1.3" version = "1.0"
version_info = (0, 1, 3) version_info = (1, 0)


ASCENDING = 1 ASCENDING = 1
"""Ascending sort order.""" """Ascending sort order."""
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -2,7 +2,7 @@
from distutils.core import setup from distutils.core import setup


# also update version in __init__.py # also update version in __init__.py
version = '0.1.3' version = '1.0'


setup( setup(
name="asyncmongo", name="asyncmongo",
Expand Down

0 comments on commit e57ad24

Please sign in to comment.