Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Utilities for working with Twisted
Python
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/greplin
.gitignore
AUTHORS
LICENSE
README.md
setup.py

README.md

greplin-twisted-utils

Greplin Twisted Utilities

Useful utilities for Twisted development.

Status:

This is a very early stage project. It works for our needs. We haven't verified it works beyond that. Issue reports and patches are very much appreciated!

Pre-requisites:

Twisted

Installation

git clone https://github.com/Greplin/greplin-twisted-utils.git

cd greplin-twisted-utils

python setup.py install

Components

greplin.defer

  • Context management - allows setting context variables that persist across asynchronous events. This is highly experimental!

  • Deferred events - pub/sub model for events.

  • Lazy map - map that lazily computes its values, possibly requiring asynchronous computation.

  • Deferred queues

  • Retry logic for deferred requests that may fail transiently

  • Time - simple utilities for deferred objects that fire after a specified time

  • Deferred wrapper - allows for success / failure to be handled at the very end of the callback chain.

greplin.net

  • DNS cache - avoid repeatedly resolving the same DNS names

greplin.testing

  • Mock implementation of greplin.defer.time

Authors:

Greplin, Inc.

Something went wrong with that request. Please try again.