Hacker GitHub

← All repos

Parquery/icontract

View on GitHub ↗ ★ 419 Python

Design-by-contract in Python3 with informative violation messages and inheritance

8 mentions on Hacker News by 4 people: 0 stories, 8 comments · first 2020-12-14 · latest 2026-03-17

Mentions per year 8 mentions · busiest year 2025 (2)
20082026
  1. Parquery/icontract: https://github.com/Parquery/icontract mristin/icontract-hypothesis: https://github.com/mristin/icontract-hypothesis : > The result is a powerful combination that allows you to automatically test your code. Instead of…
  2. …def recolor(image): For icontract, there's icontract-hyothesis. parquery/icontract: https://github.com/Parquery/icontract : > There exist a couple of contract libraries. However, at the time of this writing (September 2018), they all…
  3. …transformations of arbitrarily complex structures built from PMaps and PVectors. ## icontract Src: https://github.com/Parquery/icontract > icontract provides design-by-contract to Python3 with informative violation messages and…
    comment by westurner · 2025-12-11 · in A “frozen” dictionary for Python
  4. pycontracts: https://github.com/AlexandruBurlacu/pycontracts icontract: https://github.com/Parquery/icontract The DbC Design-by-Contract patterns supported by icontract probably have code quality returns beyond saving work. Safety critical…
  5. …nature that the library provides to Python in order to work became too much for me in the end. [1] https://github.com/Parquery/icontract
  6. …Command, Postconditions (assertions, assertions of invariance after command C_funcname executed) https://github.com/Parquery/icontract pydantic_schemaorg: https://github.com/lexiq-legal/pydantic_schemaorg > Pydantic_schemaorg contains all…
  7. See also: https://github.com/Parquery/icontract
    comment by crazypython · 2021-02-18 · in Precisely: Better assertions for Python tests
  8. …See Hypothesis library in Python (and other laguages). I wrote a library for contracts in Python ( http://github.com/Parquery/icontract , see its readme for further references to other libraries).