PyEmbed is a Python library that allows you to easily embed content on your website from a wide variety of sources (including Flickr , Twitter and YouTube ). It uses the oEmbed standard to discover how to represent the resource on your website.
PyEmbed comes with out-of-the-box support for Markdown and reStructuredText, or you can embed it in your own applications. See the Usage section on the navigation bar for more information.
PyEmbed has been tested with Python 2.7, 3.3 and 3.4.