A flexible shortcode parser in Python.