This is client library for oEmbed written by Python (3.x only) that can fetch data and can handle as python dataclasses from oEmbed API of supported websites.
It has adapter for Sphinx and MkDocs. You can render embed content into documents by content url with simply format.