Permalink
Browse files

bump rev; working install from sdist

  • Loading branch information...
1 parent fb37544 commit 9a312aa90556ef269341e7ce7dec50974cfbc0ee @jehiah jehiah committed Oct 10, 2010
Showing with 19 additions and 8 deletions.
  1. +1 −0 .gitignore
  2. +14 −0 MANIFEST
  3. +0 −4 README.md
  4. +2 −2 asyncmongo/__init__.py
  5. +2 −2 setup.py
View
@@ -1,2 +1,3 @@
*.pyc
build
+dist
View
@@ -0,0 +1,14 @@
+setup.py
+README.md
+asyncmongo/__init__.py
+asyncmongo/connection.py
+asyncmongo/cursor.py
+asyncmongo/errors.py
+asyncmongo/helpers.py
+asyncmongo/message.py
+asyncmongo/pool.py
+test/test_connection.py
+test/test_duplicate_insert.py
+test/test_insert_delete.py
+test/test_pooled_db.py
+test/test_shunt.py
@@ -36,10 +36,6 @@ Usage
About
-----
-`DBUtils.PooledDB` gives a good interface for pooling connections. `dedicated_connection()` gives a cursor back that will be released when it's not referenced anymore (normally at the end of the request), but if you need to make multiple queries you need to manage cursors individually or don't make simultaneous mongo queries.
-
-`asyncmongo` connections are DB API v2 compliant which allows them to be used with DB Pooling libraries like `DBUtils` however because of their asynchronous nature care must be given to connection re-use beyond the normal threadsafety.
-
Features not supported: some features from pymongo are not currently implemented: namely directly interfacing with indexes, dropping collections, and 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)
Requirements
@@ -1,7 +1,7 @@
"""
asyncmongo is a library for accessing tornado built built upon the tornado io loop
"""
-version = "0.0.1"
+version = "0.0.2"
ASCENDING = 1
"""Ascending sort order."""
@@ -20,4 +20,4 @@
def connect(*args, **kwargs):
return Connection(*args, **kwargs)
-from pool import PooledDB
+from pool import PooledDB
View
@@ -1,7 +1,7 @@
import os
from distutils.core import setup
-version = '0.0.1'
+version = '0.0.2'
setup(
name="asyncmongo",
@@ -14,5 +14,5 @@
url="http://github.com/bitly/asyncmongo",
packages=['asyncmongo'],
requires=['pymongo (>=1.9)', 'tornado'],
- download_url="http://github.com/downloads/bitly/asyncmongo/asyncmongo-%s.tar.gz" % version,
+ # download_url="http://github.com/downloads/bitly/asyncmongo/asyncmongo-%s.tar.gz" % version,
)

0 comments on commit 9a312aa

Please sign in to comment.