PyRank
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About

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.

310K 1K 89
life4
deal

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

79K 901 38
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
nevermined-io
nevermined-contracts

Smart Contracts for Nevermined Data platform

2K 1 0
DrBaher
contract-vault

Git-backed register for signed contracts: register executed deals, then surface renewals, notice deadlines, and obligations as a searchable portfolio and an .ics calendar. Local-first, stdlib-only.

1K 0 0
DrBaher
contract-lint

Lint a contract for internal-consistency defects — placeholders, broken cross-references, undefined/unused defined terms, numbering gaps, party-name & date inconsistencies — with CI-gateable exit codes. Deterministic, stdlib-only. Also composes with the contract-ops suite.

1K 1 0
AssertLang
assertlang

Executable contracts for multi-agent systems - deterministic coordination across frameworks and languages

973 2 1
btfranklin
contract4agents

Typed declarative contracts for AI agent systems

789 0 0
DrBaher
nda-review-cli

Agent-first NDA review, drafting, and two-party negotiation CLI. Deterministic rules; opt-in LLM (Anthropic/OpenAI/Ollama). Hash-chained negotiation state. Part of the eight-CLI contract-ops suite — cli.drbaher.com

658 0 0
oasisprotocol
oasis-rofl-client

Official SDK for the Oasis Network.

644 90 34
emilianobilli
ethlite

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

566 16 3
bismuthfoundation
bisbasic

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

451 37 14
dahyeK0420
graphobs

Graph Observability Kit (graphobs) is a Python library for contract-first observability in graph-based applications. It helps teams describe graph state boundaries once, then reuse those declarations for trace payloads, structured logs, and validation.

432 0 0
brunodantas
ensures

Design by Contract with Functional Programming

340 8 0
awkronos
provably

Proof-carrying Python — Z3-backed formal verification via @verified decorators

316 0 0
QWED-AI
qwed-legal

🏛️ Verification guards for legal contracts - Date calculations, clause consistency, liability verification

256 2 3
oasisprotocol
oasis-rofl-client-rube

Official SDK for the Oasis Network.

232 90 34
jjh4450
telegramcontract2vcard

make telegram contacts to vCard

230 0 0
cchinchilla-dev
agentanvil

Contract-based testing framework for LLM agents — hybrid metrics (objective + LLM-as-judge + human), multi-agent and A2A protocol support, deterministic record/replay envelope.

209 0 0
bismuthfoundation
bisnode

Bismuth Node

195 37 14
cjwcommuny
arraycontract

Contract programming for Pytorch, Numpy

176 0 0
smarie
classtools-autocode

Helps you write compact python classes

148 38 2
OsamaMoftah
legaldrift

Statistical monitoring for legal document revision — detect semantic drift in contracts and policies

144 0 0
Schema-Overseer
schema-overseer-local

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

139 2 0
    • Data from PyPI, GitHub, ClickHouse, and BigQuery