Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Generate responsive, embeddable HTML/JS code from URL of online content

Project Description

Generate embeddable HTML or JavaScript code for a online content from its URL in a simple step.

The content can be:

  • Youtube video
  • Twitter status
  • Vimeo video

etc.

Embeddable code-generation be simple like this:

>>> from embed_x import OnlineContent
>>> OnlineContent('http://www.youtube.com/embed/_lOT2p_FCvA').get_embed_code()
"<div class='embedx-yt'><iframe src='http://www.youtube.com/embed/_lOT2p_FCvA' 'frameborder='0' allowfullscreen></iframe></div>"

Currently, supports

  • Youtube video
  • Vimeo video
  • Twitter: single status
  • Github gists
  • Flickr image

Examples of URLs

Invalid:

Install

from PyPI

pip install embedx

Directly from source

pip install git+https://github.com/kmonsoor/embedX.git

Release History

History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

This version
History Node

0.0.4

History Node

0.0.3

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
embedx-0.0.4-py2.py3-none-any.whl
(7.4 kB) Copy SHA256 Hash SHA256
Wheel py2.py3 Jan 20, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting