flags getter
python bindings and started with writer