Giter Club home page Giter Club logo

async's Introduction

async

Async aims to make writing asynchronous processing easier. It provides a task-graph with interdependent tasks that communicate using blocking channels, allowing to delay actual computations until items are requested. Tasks will automatically be distributed among 0 or more threads for the actual computation.

Even though the GIL effectively prevents true concurrency, operations which block, such as file IO, can be sped up with it already. In conjunction with custom c extensions which release the GIL, true concurrency can be obtained as well.

REQUIREMENTS

  • Python Nose - for running the tests

Interpreter versions:

  • 2.6
  • 2.7
  • 3.X
  • NOTE: it doesn't seem to work deterministically in this version, and must be avoided

DEVELOPMENT STATUS

Build Status Coverage Status

Development was discontinued, as there are much better alternatives, like zeromq.

Async is considered useless (by me, the author) as the GIL will prevent anything good from happening (it gets slower instead of faster in multi-threaded mode ;)). Please do not use this project, which can be considered nothing more than an exercise I did years ago.

SOURCE

The source is available in a git repository at gitorious and github:

git://github.com/gitpython-developers/async.git

Run the tests with cd async nosetests

MAILING LIST

http://groups.google.com/group/git-python

ISSUE TRACKER

https://github.com/gitpython-developers/async/issues

LICENSE

New BSD License

async's People

Contributors

byron avatar ddunbar avatar greut avatar kevin-brown avatar schwehr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

async's Issues

py3k support

Please, it's 2013 now.

If it's OK to drop support for <python-2.5, I'll try to send a pull request

Missing link to libz.so

Hi,

Testing your pkg, I came across this issue when running the tests. It seems your zlib module needs to link to libz in order to have all symbols defined.

Failure: ImportError (/usr/portage/distfiles/async-0.6.1.orig/build/lib.linux-i686-2.7/async/mod/zlib.so: undefined symbol: inflateEnd) ... ERROR

I leave you the following patch for setup.py

--- async-0.6.1/setup.py    2011-08-26 16:51:57.000000000 -0400
+++ async-0.6.1.orig/setup.py   2010-11-21 07:03:47.000000000 -0500
@@ -77,7 +77,7 @@
       packages = ('async', 'async.mod', 'async.test', 'async.test.mod'),
       package_data={'async' : ['AUTHORS', 'README']},
       package_dir = {'async':''},
-      ext_modules=[Extension('async.mod.zlib', ['mod/zlibmodule.c'], libraries=['z'])],
+      ext_modules=[Extension('async.mod.zlib', ['mod/zlibmodule.c'])],
       license = "BSD License",
       zip_safe=False,
       long_description = """Async is a framework to process interdependent tasks in a pool of workers"""

Best regards,

Release new version

Hi.

Could you please release a new version with that signal patch applied ?
It would be nice to install it via pypi without the need to protect my import with a try/except ;)

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.