skip to navigation
skip to content

Promises 0.0.2

Python Type Checking

Latest Version: 0.6.27

Promises is a little Python toolkit for maintaining some sanity when doing testing or building an API in dynamically typed languages. Easily declare the signature of your functions like so:

from promises import accepts, rejects

def f(x):
    return x+1

Promises only exposes a very minimal declarative and decorator-based API that is inspired by function signatures in Go, and is very easy to learn. You can get more documentation of the project by visiting

File Type Py Version Uploaded on Size
Promises-0.0.2.tar.gz (md5) Source 2014-01-14 2KB