PyPI Stats
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About
Home

Contracts Python Packages

Python packages with the GitHub topic contracts. Sorted by relevance, with stars and monthly downloads.
pschanely
crosshair-tool

An analysis tool for Python that blurs the line between testing and type systems.

333K 1K 79
life4
deal

🤝 Design by contract for Python. Write bug-free code. Add a few decorators, get static analysis and tests for free.

65K 891 36
nold-ai
specfact-cli

The Swiss-knife CLI for validation and alignment in software delivery. Keep backlog intent, specs, tests, and code in sync across AI-assisted and brownfield delivery.

9K 15 1
nevermined-io
nevermined-contracts

Nevermined Contracts (AI Payments Protocol)

2K 1 0
smarie
autoclass

A python 3 library providing functions and decorators to automatically generate class code, such as constructor body or properties getters/setters along with optional support of validation contracts on the generated setters. Its objective is to reduce the amount of copy/paste code in your classes - and hence to help reducing human mistakes :).

2K 38 2
AssertLang
assertlang

Executable contracts for multi-agent AI coordination. Write contracts once in AL, transpile to Python/JavaScript/Go/Rust/C#. CrewAI, LangGraph, and AutoGen agents execute identical logic—deterministic behavior guaranteed. Production-ready Python (67/67 tests), 134/134 stdlib tests passing.

613 2 1
bismuthfoundation
bisbasic

[Released] Core Node of Bismuth - The first Python blockchain protocol and platform

572 37 14
emilianobilli
ethlite

A tiny web3/python alternative to interact with any ethereum compatible blockchain

489 16 3
oasisprotocol
oasis-rofl-client

Official SDK for the Oasis Network.

467 89 32
cchinchilla-dev
agentanvil

Contract-based testing for LLM agents: hybrid evaluation, multi-agent + A2A, deterministic replay.

410 0 0
jjh4450
telegramcontract2vcard

make telegram contacts to vCard

306 0 0
awkronos
provably

Proof-carrying Python functions via Z3 — annotate, verify, ship.

272 0 0
brunodantas
ensures

Design by Contract with Functional Programming

204 7 0
oasisprotocol
oasis-rofl-client-rube

Official SDK for the Oasis Network.

173 89 32
bismuthfoundation
bisnode

[Released] Core Node of Bismuth - The first Python blockchain protocol and platform

143 37 14
QWED-AI
qwed-legal

🏛️ Deterministic rejection layer for computational legal claims. Verifies dates, amounts, and structured constraints; blocks unproven legal outputs.

134 2 3
Schema-Overseer
schema-overseer-local

Helper to create a compatibility layer between inputs in different formats and other parts of an application

114 2 0
cjwcommuny
arraycontract

Check shape, ndim and dtype of tensor/ndarray of input of function

101 0 0
smarie
classtools-autocode

A python 3 library providing functions and decorators to automatically generate class code, such as constructor body or properties getters/setters along with optional support of validation contracts on the generated setters. Its objective is to reduce the amount of copy/paste code in your classes - and hence to help reducing human mistakes :).

84 38 2
digitalmensch
contrapy

Contracts for Python

41 0 0
byxor
conker

Contracts (preconditions and postconditions) for python

41 0 0
    • Data from PyPI, GitHub, ClickHouse, and BigQuery