python-contract_1.4-4_all.deb


Advertisement

Description

python-contract - Programming by contract for Python

Property Value
Distribution Ubuntu 17.10 (Artful Aardvark)
Repository Ubuntu Universe i386
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

Package Version Architecture Repository
python-contract_1.4-4_all.deb 1.4 all Ubuntu Universe
python-contract - - -

Requires

Name Value
python >= 2.7
python << 2.8

Download

Type URL
Binary Package python-contract_1.4-4_all.deb
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

Path
/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

See Also

Package Description
python-convoy_0.2.1+bzr39-1_all.deb WSGI app for loading multiple files in the same request
python-cookiecutter-doc_1.5.0-2_all.deb create projects from project templates (documentation)
python-cookiecutter_1.5.0-2_all.deb create projects from project templates (Python 2 module)
python-cookies_2.2.1-1_all.deb Python RFC 6265-compliant cookie parser and renderer
python-corepywrap_1.005-4build4_i386.deb library that exports C++ mmCIF accessors to Python
python-couchdb_0.10-1.1_all.deb library for working with Apache CouchDB
python-couchdbkit_0.6.5-2_all.deb Trying to improve couchdb experience in Python
python-couleur_0.5.0-4_all.deb tool to play around with ANSI features in a unix terminal
python-cov-core_1.15.0-1build1_all.deb plugin core for use by pytest-cov, nose-cov and nose2-cov
python-coverage-doc_4.3.4+dfsg.1-1build1_all.deb code coverage tool for Python — documentation
python-coverage-test-runner_1.13.1-1_all.deb fail Python program unit tests unless they test everything
python-coverage_4.3.4+dfsg.1-1build1_i386.deb code coverage tool for Python 2
python-cpl_0.7.2-1build2_i386.deb Control pipeline recipes from the European Southern Observatory
python-cpopen_1.4-1_i386.deb C reimplementation of the tricky bits of Python's Popen
python-cqmf2_0.16-9ubuntu9_i386.deb enterprise messaging system - Python CQMF2 bindings
Advertisement
Advertisement