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

Dependencies

  • None

Releases

Version Released Bookworm
Python 3.11
Trixie
Python 3.13
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 2026-09-03 11:45:39 UTC