deal

Contract library

A Python library that enables design by contract programming to write bug-free code with automatic tests and static analysis.

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

GitHub

760 stars
14 watching
25 forks
Language: Python
last commit: almost 2 years ago
contractscontracts-programmingdbcdealdecoratorsdesign-by-contractflake8functional-programminghacktoberfestinterfaceinvariantlintermypyproperty-based-testingpythonpythonicrefinement-typestestingtypingvalidation

Related projects:

RepositoryDescriptionStars
sellout/quid-pro-quoA Common Lisp package that enables contract programming and specifies the relationship between a class and its clients through preconditions and postconditions.95
neilisaac/lazycontractA Python library to define declarative contracts for serialization and deserialization7
makerdao/pymakerAn API providing access to Maker contracts193
algorand/pytealProvides a Python interface to Algorand Smart Contracts enabling developers to create and manage smart contracts using a high-level, functional programming style286
codemix/babel-plugin-contractsA Babel plugin that supports design by contract for JavaScript functions.267
thirdweb-dev/contractsA collection of reusable, pre-built smart contract modules with shared functionality and interfaces.1,007
rango-exchange/rango-contracts-v2A collection of reusable smart contract components for decentralized applications on EVM blockchains19
udiknedormin/nimcontractsA library that enables contract-based programming in the Nim language.71
jkirkby3/fypyA comprehensive Python library for pricing exotic financial options and contracts using various analytical and numerical methods.83
bcnmy/scw-contractsA collection of smart contract templates and utilities for implementing Account Abstraction on the Ethereum blockchain.124
dbrojas/optlibA Python library for pricing financial options using closed-form solutions and TDAmeritrade API665
fisxoj/sanity-clauseLibrary for defining data validation contracts in dynamically typed languages51
merklejerk/flex-contractAn abstraction layer for Ethereum smart contracts with flexible configuration options and simple integration26
openzeppelin/openzeppelin-contracts-upgradeableA library providing secure smart contract development tools and components1,005
openzeppelin/contracts-wizardGenerates smart contract code from pre-defined components251