Built something? We create video reels & spotlights for GitHub projects.Promote your project →
Catalog / chachi / contracts
Public GitHub Catalog Discovered Sep 28, 2026

chachi / contracts

PyContracts is a Python package that allows to declare constraints on function parameters and return values. Contracts can be specified using Python3 annotations, or inside a docstring :type: and :rtype: tags. PyContracts supports a basic type system, variables binding, arithmetic constraints, and has several specialized contracts (notably for Numpy arrays), as well as an extension API.

View repository on GitHub ↗ View creator profile Browse directory

About this discovery

This repository is cataloged as part of our automated global GitHub synchronization. Full telemetry, velocity snapshots, and code summaries are scheduled for continuous enrichment.

#12232676GitHub System ID
chachiOrganization / User
PublicVisibility
ActiveCatalog Status

More from chachi

↗

chachi/STF

(Ground) Truth is stranger than fiction

Discovered
↗

chachi/opencv

Open Source Computer Vision Library

Discovered
↗

chachi/melpa

Scripts for building Emacs packages from Version Control

Discovered
FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.