Adventures in Manipulating Python ASTs – Eigenfoo

I explored the possibility of simplifying PyMC4’s model specification API by manipulating the Python abstract syntax tree (AST) of the model code. Read more

Similar

Python Generators

What is a Generator? A Python generator is a function that produces a sequence of results. It works by maintaining its local state, so that the function can resume again exactly where it left off when called subsequent times. Thus, you can think of a gene... (more…)

Read more »