Micropub is an open API standard (W3C Recommendation) for creating, editing, and deleting posts on websites, like on your own domain, supported by numerous third-party clients and CMSs... The Micropub vocabulary is derived directly from the Microformats vocabulary. Micropub is meant to be a serialization of Microformats that can be submitted as an HTTP POST. https://indieweb.org/Micropub (IndieWeb)
Micropub uses OAuth 2.0 Bearer Tokens for authentication and accepts traditional form posts as well as JSON posts. Posted data uses a vocabulary derived from Microformats. Micropub is mostly used to create "posts", which are similar to Tweets, or micro blog posts, like those posted to Twitter. The protocol supports a variety of different content types however, such as Bookmarks, Favorites, Reposts, Events, RSVPs, and Checkins. Micropub is currently supported on a variety of IndieWeb compatible websites, as well as micro.blog. https://en.wikipedia.org/wiki/Micropub_(protocol)
- There's a Flask library, just for the authentication piece. (If you're not using IndieAuth, do you need this?)
- James G has a Python/Flask project for both a server and a client.
- typically dealing with an h-entry post type https://microformats.org/wiki/microformats2#h-entry