There's a Python implementation of the Adaptive Cards Templating language here: https://pypi.org/project/adaptive-cards-templating-py/
That FlightItinerary adaptive card example is used as one of the test cases.
(note that I'm the author)