Adding 'read' and 'seen' properties to notifications in python


I was wondering if anyone can point me to a good resource on adding ‘read’ and seen’ properties to python notifications? I can’t find anything in stack overflow. I want to create some modules to add to my existing modules and then create some tests.

I need to add the read and seen properties and then filter by those properties.