Skip to content

Commit

Permalink
bump rev; working install from sdist
Browse files Browse the repository at this point in the history
  • Loading branch information
jehiah committed Oct 10, 2010
1 parent fb37544 commit 9a312aa
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,2 +1,3 @@
*.pyc
build
dist
14 changes: 14 additions & 0 deletions 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
4 changes: 0 additions & 4 deletions README.md
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions 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."""
Expand All @@ -20,4 +20,4 @@
def connect(*args, **kwargs):
return Connection(*args, **kwargs)

from pool import PooledDB
from pool import PooledDB
4 changes: 2 additions & 2 deletions setup.py
@@ -1,7 +1,7 @@
import os
from distutils.core import setup

version = '0.0.1'
version = '0.0.2'

setup(
name="asyncmongo",
Expand All @@ -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.