Skip to main content

Python Type Checking

Project description

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

Project details

Release history Release notifications

History Node


History Node


History Node


History Node


History Node


This version
History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
Promises-0.0.2.tar.gz (2.3 kB) Copy SHA256 hash SHA256 Source None Jan 14, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page