MatchPy: A Pattern Matching Library. Manuel Krebber, Henrik Bartels, & Paolo Bientinesi In Proceeding of the 15th Python in Science Conference, 2017.
MatchPy: A Pattern Matching Library [link]Paper  abstract   bibtex   
Pattern matching is a powerful tool for symbolic computations, based on the well-defined theory of term rewriting systems. Application domains include algebraic expressions, abstract syntax trees, and XML and JSON data. Unfortunately, no lightweight implementation of pattern matching as general and flexible as Mathematica exists for Python Mathics,MacroPy,patterns,PyPatt. Therefore, we created the open source module MatchPy which offers similar pattern matching functionality in Python using a novel algorithm which finds matches for large pattern sets more efficiently by exploiting similarities between patterns.
@inproceedings{manuel_krebber_matchpy:_2017,
	title = {{MatchPy}: {A} {Pattern} {Matching} {Library}},
	url = {http://conference.scipy.org/proceedings/scipy2017/manuel_krebber.html},
	abstract = {Pattern matching is a powerful tool for symbolic computations, based on the well-defined theory of term rewriting systems. Application domains include algebraic expressions, abstract syntax trees, and XML and JSON data. Unfortunately, no lightweight implementation of pattern matching as general and flexible as Mathematica exists for Python Mathics,MacroPy,patterns,PyPatt. Therefore, we created the open source module MatchPy which offers similar pattern matching functionality in Python using a novel algorithm which finds matches for large pattern sets more efficiently by exploiting similarities between patterns.},
	booktitle = {Proceeding of the 15th {Python} in {Science} {Conference}},
	author = {{Manuel Krebber} and {Henrik Bartels} and {Paolo Bientinesi}},
	year = {2017},
	keywords = {discrimination nets, mentions sympy, pattern matching, symbolic computation, term rewriting systems},
}

Downloads: 0