[Twisted-Python] ANN: Crochet 1.0.0 - Use Twisted Anywhere!

Itamar Turner-Trauring itamar at itamarst.org
Sat Oct 19 09:36:12 MDT 2013


Crochet is an MIT-licensed library that makes it easier for blocking or 
threaded applications like Flask or Django to use the Twisted networking 
framework. Crochet provides the following features:

  * Runs Twisted's reactor in a thread it manages.
  * The reactor shuts down automatically when the process' main thread
    finishes.
  * Hooks up Twisted's log system to the Python standard library logging
    framework. Unlike Twisted's built-in logging bridge, this includes
    support for blocking Handler instances.
  * A blocking API to eventual results (i.e. Deferred instances). This
    last feature can be used separately, so Crochet is also useful for
    normal Twisted applications that use threads.

You can download Crochet at: http://pypi.python.org/pypi/crochet

Documentation can be found at: http://crochet.readthedocs.org

Bugs and feature requests should be filed at the project page: 
https://github.com/itamarst/crochet

*What's New in 1.0.0*

**

Documentation:

  * Added section on use cases and alternatives. Thanks to Tobias
    Oberstein for the suggestion.

Bug fixes:

  * Twisted does not have to be pre-installed to run setup.py, thanks to
    Paul Weaver for bug report and Chris Scutcher for patch.
  * Importing Crochet does not have side-effects (installing reactor
    event) any more.
  * Blocking calls are interrupted earlier in the shutdown process, to
    reduce scope for deadlocks. Thanks to rmorehead for bug report.

*
*

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://twistedmatrix.com/pipermail/twisted-python/attachments/20131019/4be127f0/attachment.html>


More information about the Twisted-Python mailing list