design-by-contract

Handy decorator to define contracts with dependency injection in Python 3.10 and above

Installation

In a virtualenv (see these instructions if you need to create one):

pip3 install design-by-contract

Releases

Version Released Bullseye
Python 3.9
Bookworm
Python 3.11
Files
0.3.1 2022-07-22    
0.3.0 2022-07-17    
0.2.2 2022-07-17    
0.2.1 2022-03-08    
0.2 2022-03-05    
0.1.1 2022-01-30    

Issues with this package?

Page last updated 2025-06-27 18:17:25 UTC