/specification

Python implementaion of the "Specification" pattern

Primary LanguagePythonBSD 2-Clause "Simplified" LicenseBSD-2-Clause

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