pytreaty

PyTreaty is a hard fork of the PyContracts library from Andrea Censi. This fork has been updated to allow multiple contract definitions on a function, as well as removing Python 2.x support and other…

Installation

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

pip3 install pytreaty

Releases

Version Released Bullseye
Python 3.9
Bookworm
Python 3.11
Files
2019.1b5 pre-release 2019-07-28  
2019.1b4 pre-release 2019-07-27  
2019.1b3 pre-release 2019-06-28  
2019.1b2 pre-release 2019-06-02  
2019.1b1 pre-release 2019-06-02  

Issues with this package?

Page last updated 2025-06-27 17:58:48 UTC