AndreaCensi / contractsLinks
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. PyContracts supports a basic type system, variables binding, arithmetic constraints, and has several specialized contracts and an extension API.
☆408Updated 2 weeks ago
Alternatives and similar repositories for contracts
Users that are interested in contracts are comparing it to the libraries listed below
Sorting:
- An implementation of contracts for Python.☆344Updated 5 years ago
- Bottom-up approach to refactoring in python☆709Updated 3 years ago
- Python 3.5+ runtime type checking for integration testing and data validation☆545Updated last year
- Python code object transformers☆185Updated last year
- Typing-toolbox for Python 3 _and_ 2.7 w.r.t. PEP 484.☆200Updated 2 years ago
- Powerful Python library for atomic file writes.☆316Updated 2 years ago
- Cython implementation of Toolz: High performance functional utilities☆1,046Updated 5 months ago
- IDE allow you to refactor code, Baron allows you to write refactoring code.☆292Updated 3 years ago
- Multiple dispatch☆829Updated 5 months ago
- Pattern matching for python☆218Updated 10 years ago
- Python decorators for profiling/tracing/timing a single function☆331Updated 4 months ago
- Self-service finite-state machines for the programmer on the go.☆614Updated last month
- A fast and thorough lazy object proxy.☆259Updated last month
- A high-performance immutable mapping type for Python.☆1,152Updated last week
- Monitoring tool based on radon☆255Updated 7 months ago
- effect isolation in Python, to facilitate more purely functional code☆375Updated 2 years ago
- vmprof - a statistical program profiler☆432Updated 2 months ago
- A python package that provides useful locks.☆256Updated 2 months ago
- A command-line search utility for Python ASTs using XPath syntax.☆248Updated 3 years ago
- Python pattern matching like functional languages.☆160Updated 4 years ago
- An argparse wrapper that doesn't make you say "argh" each time you deal with it.☆376Updated 9 months ago
- Custom Python linting through AST expressions☆271Updated last year
- A lightweight Traits like module☆640Updated 3 weeks ago
- A common base representation of python source code for pylint and other projects☆544Updated last week
- A Python implementation of the Maybe pattern☆208Updated 2 years ago
- ☆285Updated last year
- Hunter is a flexible code tracing toolkit.☆816Updated 10 months ago
- Function overloading for Python 3☆112Updated 4 years ago
- For Python3, e.g. @typecheck add_count(count: int, when: any(datetime, timedelta) = datetime.now)☆169Updated 3 years ago
- ☆589Updated 10 months ago