python bindings for writing darc components in python