Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

bump rev; working install from sdist

  • Loading branch information...
commit 9a312aa90556ef269341e7ce7dec50974cfbc0ee 1 parent fb37544
@jehiah jehiah authored
View
1  .gitignore
@@ -1,2 +1,3 @@
*.pyc
build
+dist
View
14 MANIFEST
@@ -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
View
4 README.md
@@ -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
View
4 asyncmongo/__init__.py
@@ -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
4 setup.py
@@ -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,
)
Please sign in to comment.
Something went wrong with that request. Please try again.