Package: pyembed
PyEmbedOEmbedconsumer library for Python with automatic discovery of
producers.PyEmbed allows you to easily embed content on your website from a wide
variety of producers (includingFlickr,TwitterandYouTube).
Unlike many OEmbed consumers, you don’t need to configure each producer
that you want to use - PyEmbed discovers the configuration automatically.You just need to provide the URL, and PyEmbed will generate a block of
HTML, ready for you to include in your page:>>> from pyembed.core import PyEmbed
>>> html = PyEmbed().embed('http://www.youtube.com/watch?v=9bZkp7q19f0')
<iframe width="480" height="270" src="http://www.youtube.com/embed/9bZkp7q19f0?feature=oembed" frameborder="0" allowfullscreen></iframe>There are plugins for embedding content intoMarkdownandreStructuredTextdocuments, and for customizing embeddings withJinja2andMustachetemplates.  For more information, see thePyEmbedwebsite.CompatibilityPyEmbed has been tested with Python 2.7 and 3.3.InstallationPyEmbed can be installed using pip:pip install pyembedContributingTo report an issue, request an enhancement, or contribute a patch, go to
the PyEmbedGitHubpage.LicensePyEmbed is distributed under the MIT license.Copyright (c) 2013 Matt Thomson

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.Changesv1.3.3, 2016-04-16Bug fixes:#62: Add explicit scheme for YouTube.v1.3.1, 2015-11-19Bug fixes:#61: Handle downtime of provider list.v1.3.0, 2015-09-05Enhancements:#59: Reorder discovery.v1.2.3, 2015-08-27Bug fixes:#53: Don’t hit provider list until necessary.v1.2.2, 2015-08-15Bug fixes:#51: Fix other Beautiful Soup warningv1.2.1, 2015-08-15Bug fixes:#50: Specify Beautiful Soup parserv1.2.0, 2015-08-12Enhancements:#48: Use official list of providersv1.1.2, 2015-01-03Enhancements:#44: Allow overriding of default templates by subclassing.v1.1.1, 2014-09-02Bug fixes:#42: Error embedding from SoundCloud.v1.1.0, 2014-08-02Enhancements:#40: Add support for providers that do not have discovery enabled.v1.0.0, 2014-02-05Initial stable releasev0.7.0, 2014-01-20Breaking changes:Thepyembed.core.consumer.embedmethod has been removed.  Instead, callembedon thepyembed.core.PyEmbedclass.v0.6.1, 2014-01-11Bug fixes:#36: Failure to handle relative OEmbed URLsv0.6.0, 2014-01-01Breaking changes:The option to provide Mustache templates for rendering has been removed. It
will be restored in a new pyembed-mustache module.Enhancements:#33: Make rendering engines pluggablev0.5.0, 2014-01-01Breaking changes:Therembedpackage has been renamed topyembed.Enhancements:#30: Rename to PyEmbedv0.4.3, 2013-12-29Rebuilt due to error in deployment process.  No functional changes.v0.4.2, 2013-12-29Rebuilt due to error in deployment process.  No functional changes.v0.4.1, 2013-12-29Rebuilt due to error in deployment process.  No functional changes.v0.4.0, 2013-12-29Enhancements:#5: More control over embedding formatv0.3.0, 2013-08-03Breaking changes:Therembedpackage has been renamed torembed.core.Enhancements:#19: Make rembed into a namespace packagev0.2.2, 2013-08-03Enhancements:#20: Add code coverage to build#21: Add static analysis to buildv0.2.1, 2013-08-02Bug fixes:#17: Classifiers not shown in PyPIv0.2.0, 2013-07-30Enhancements:#3: Support Python 3#4: Add maxheight and maxwidth parameters#10: Improve PyPI package entryBug fixes:#9: Tidy up requirements duplicationv0.1.1, 2013-07-29Bug fixes:#6: Package fails to installv0.1.0, 2013-07-29Initial release