[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

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.3.3

Released 2016-04-16

Add explicit scheme for YouTube.

v1.3.1

Released 2015-11-19

Handle downtime of provider list.

v1.3.0

Released 2015-09-05

Improved performance by reordering the discovery algorithm.

v1.2.3

Released 2015-08-27

Don't hit the list of providers until necessary.

v1.2.2

Released 2015-08-15

Fix another Beautiful Soup warning.

v1.2.1

Released 2015-08-15

Fix Beautiful Soup warning.

v1.2.0

Released 2015-08-12

Use official list of providers.

v1.1.2

Released 2015-01-03

Allow overriding the templates in the default renderer.

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.