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.
☆407Updated 2 weeks ago
Alternatives and similar repositories for contracts
Users that are interested in contracts are comparing it to the libraries listed below
Sorting:
- Python 3.5+ runtime type checking for integration testing and data validation☆545Updated last year
- An implementation of contracts for Python.☆344Updated 5 years ago
- Bottom-up approach to refactoring in python☆710Updated 3 years ago
- vmprof - a statistical program profiler☆432Updated 2 months ago
- effect isolation in Python, to facilitate more purely functional code☆376Updated 2 years ago
- For Python3, e.g. @typecheck add_count(count: int, when: any(datetime, timedelta) = datetime.now)☆169Updated 3 years ago
- Function overloading for Python 3☆112Updated 4 years ago
- An argparse wrapper that doesn't make you say "argh" each time you deal with it.☆377Updated 3 weeks ago
- Cython implementation of Toolz: High performance functional utilities☆1,052Updated 5 months ago
- Typing-toolbox for Python 3 _and_ 2.7 w.r.t. PEP 484.☆199Updated 2 years ago
- Python code object transformers☆185Updated last year
- Syntax-highlighting, declarative and composable pretty printer for Python 3.5+☆340Updated last year
- Mutation testing for Python☆587Updated 3 weeks ago
- Hunter is a flexible code tracing toolkit.☆819Updated 11 months ago
- Python library to easily setup basic logging functionality☆339Updated 6 months ago
- Pattern matching for python☆218Updated 10 years ago
- Self-service finite-state machines for the programmer on the go.☆626Updated this week
- ☆590Updated 11 months ago
- Python decorators for profiling/tracing/timing a single function☆332Updated 5 months ago
- A collection of helpers and mock objects that are useful when writing automated tests in Python.☆234Updated 2 weeks ago
- McCabe complexity checker for Python☆656Updated 10 months ago
- Monitoring tool based on radon☆257Updated 8 months ago
- A high-performance immutable mapping type for Python.☆1,156Updated last month
- Multiple dispatch☆834Updated 6 months ago
- Easy anonymous functions by partial application of operators☆102Updated last year
- Line-granularity, thread-aware deterministic and statistic pure-python profiler☆452Updated 9 months ago
- Custom Python linting through AST expressions☆273Updated last year
- IDE allow you to refactor code, Baron allows you to write refactoring code.☆293Updated 3 years ago
- I will write this later...☆270Updated 7 years ago
- Debugging manhole for python applications.☆386Updated 11 months ago