Skip to main content

A library for property based testing

Project description

Hypothesis is a library for testing your Python code against a much larger range of examples than you would ever want to write by hand. It’s based on the Haskell library, Quickcheck, and is designed to integrate seamlessly into your existing Python unit testing work flow.

Hypothesis is both extremely practical and also advances the state of the art of unit testing by some way. It’s easy to use, stable, and extremely powerful. If you’re not using Hypothesis to test your project then you’re missing out.

Hypothesis works with most widely used versions of Python. It officially supports CPython 2.7, 3.4 and 3.5, as well as PyPy. Most other versions of Python are known not to work.

Ongoing Development

Development on Hypothesis is a mix of community provided and sponsored. If you wish to contribute, either financially or through code, you can read more about the process in the documentation.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

hypothesis-3.0.5.tar.gz (59.9 kB view details)

Uploaded Source

File details

Details for the file hypothesis-3.0.5.tar.gz.

File metadata

  • Download URL: hypothesis-3.0.5.tar.gz
  • Upload date:
  • Size: 59.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hypothesis-3.0.5.tar.gz
Algorithm Hash digest
SHA256 003c046afa2b3d8167dbb228cc0136d73aa20f5740ff9eaa223ea62935f47d2e
MD5 1cc54a91c05f6dd2ee18f81b9aa680cb
BLAKE2b-256 af78451e7909d95b419b9b1d7a536cee28811a3ae096f0c24268bbb41902e204

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page