I now have a basic stub of an #activitypub microblog.pub Python library working with choice of database (mongo, sql, redis, etc) and choice of framework (flask or tornado):
https://github.com/dsblank/activitypub/tree/master/apps/blog
How could a generic AP library be useful?