python-contract_1.4-4_all.deb


Advertisement

Description

python-contract - Programming by contract for Python

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Universe amd64
Package name: python-contract
Package version: 1.4
Package release: 4
Package architecture: all
Package type: deb
Installed size: 147 B
Download size: 26.56 KB
Official Mirror: archive.ubuntu.com
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.

Alternatives

    Download

    Source package: python-contract

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install python-contract deb package:
      # sudo apt-get install python-contract

    Files

    • /usr/lib/python2.7/dist-packages/contract-1.4.egg-info
    • /usr/lib/python2.7/dist-packages/contract.py
    • /usr/share/doc/python-contract/README
    • /usr/share/doc/python-contract/changelog.Debian.gz
    • /usr/share/doc/python-contract/copyright
    • /usr/share/doc/python-contract/examples/circbuf.py
    • /usr/share/doc/python-contract/examples/itpl.py
    • /usr/share/doc/python-contract/examples/sort.py
    • /usr/share/doc/python-contract/examples/testdbc1.py
    • /usr/share/doc/python-contract/examples/testdbc2.py
    • /usr/share/doc/python-contract/examples/testdbc3.py
    • /usr/share/doc/python-contract/examples/testdbc4.py
    • /usr/share/doc/python-contract/examples/testdbc5.py
    • /usr/share/doc/python-contract/examples/testdbc6.py
    • /usr/share/doc/python-contract/examples/testdbc7.py
    • /usr/share/doc/python-contract/examples/testdbc8.py
    • /usr/share/doc/python-contract/examples/testdbc9b.py
    • /usr/share/doc/python-contract/examples/testdbc9d.py
    • /usr/share/doc/python-contract/examples/testdbca.py

    Changelog

    2014-07-13 - Matthias Klose <doko@debian.org> python-contract (1.4-4) unstable; urgency=medium * QA upload. * Build using dh_python2

    2011-04-14 - Jakub Wilk <jwilk@debian.org> python-contract (1.4-3) unstable; urgency=low * QA upload. [ Piotr Ożarowski ] * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now) [ Scott Kitterman ] * Adjust build dir and test PYTHONPATH in debian/rules to fix FTBFS due to test failure when only Python 2.6 and later are supported Python versions (closes: #614949) [ Sandro Tosi ] * debian/control - uniforming Vcs-Browser field * debian/control - switch Vcs-Browser field to viewsvn [ Jakub Wilk ] * Set maintainer to Debian QA Group and remove uploaders (see #565754). * Fix capitalization errors in the package description. * Add ${misc:Depends}. * Build-depend on python-all rather than python-all-dev. * Remove debian/dirs; not needed anymore. * Switch to source format 3.0 (quilt). * Bump standards version to 3.9.2. + Remove quilt from Build-Depends. + Remove explicit patching from debian/rules. * Set section to ‘python’. * Remove XB-Python-Version. * Add patch descriptions.

    2007-09-29 - Mike O'Connor <stew@vireo.org> python-contract (1.4-2) unstable; urgency=low * Initial release (Closes: 444390)

    2007-09-14 - Mike O'Connor <stew@vireo.org> python-contract (1.4-1) UNRELEASED; urgency=low * initially packaged

    Advertisement
    Advertisement