How do you save Async analyzer data?

Any quick references to how to do it in Python? I’m going to export just the data in hex and read it in and convert into bytes array and write into a binary file in Python. If it’s not too hard to make a high level analyzer on top of Async, I’d be happy to try because is sounds like I could do more if I go down that route.