specification

Python implementaion of the `Specification` pattern


Keywords
specification, specification-pattern, predicate, selection, validation, build-to-order
License
BSD-3-Clause
Install
pip install specification==0.3.2

Documentation

Python implementation of the Specification pattern.

The central idea of Specification is to separate the statement of how to match a candidate, from the candidate object that it is matched against. As well as its usefulness in selection, it is also valuable for validation and for building to order.

E. Evans, M. Fowler - Specifications