Skip to content
Sections
>> Trisquel >> Paketler >> etiona >> devel >> python-contract
etiona  ]
[ Kaynak: python-contract  ]

Paket: python-contract (1.4-4)

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.

python-contract ile İlgili Diğer Paketler

  • bağımlılıklar
  • tavsiye edilen
  • önerilen
  • dep: python (<< 2.8)
    interactive high-level object-oriented language (default version)
    dep: python (>= 2.7)

python-contract indir

Tüm mevcut mimariler için indir
Mimari Paket Boyutu Kurulu Boyut Dosyalar
all 26,6 kB147 kB [dosya listesi]