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.

Key features

  • Zero configuration - just supply the URL that you want to embed content from.
  • Support for Markdown and reStructuredText.
  • Works with static site generators, including Pelican.
  • Fully customizable embeddings, with support for Jinja2 and Mustache.

Getting started

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.

Compatibility

PyEmbed has been tested with Python 2.7, 3.3 and 3.4.

Contributing

To report an issue, request an enhancement, or contribute a patch, go to the PyEmbed GitHub page.

Release history

v1.1.1

Released 2014-09-02

Fixed bug with embedding from SoundCloud.

v1.1.0

Released 2014-08-02

This release adds support for more providers. These are statically configured based on the list in the oEmbed spec.

v1.0.0

Released 2014-02-05

Initial stable release.