all options
squeeze  ] [  wheezy  ] [  jessie  ] [  sid  ]
[ Source: python-contract  ]

Package: python-contract (1.4-2)

Links for python-contract

Screenshot

Debian Resources:

Download Source Package python-contract:

Maintainers:

External Resources:

Similar packages:

Programming by contract for python

This package provides a means for programming by contract in python. Programming by contact is a methodology whereby a API designer can define checkable preconditions and postconditions for method calls, and invariants for classes and methods. The most famous use of this methodology is in the Eiffel programming language.

This implementation of programming by contract has the developer write constraints in the docstrings of methods and classes that can be optionally checked at runtime. If the constraints are not met, an exception is raised.

Other Packages Related to python-contract

  • depends
  • recommends
  • suggests
  • enhances

Download python-contract

Download for all available architectures
Architecture Package Size Installed Size Files
all 28.5 kB208.0 kB [list of files]