FICHA · MANJARO

python-dpcontracts

A simple implementation of contracts for Python

  • Library
  • Dev
  • Dependency only
official+codex · reviewed · May 28, 2026 description in en

Description

Add contract-style checks to Python functions and methods so assumptions can be stated near the code that depends on them. It helps developers catch invalid inputs, outputs, or state earlier during development and testing.

This is a developer library, not a security boundary. Contracts make expectations clearer, but applications still need normal validation for data that comes from users, files, networks, or other untrusted sources.

Permissions

Permissions not analysed for this source yet.