{ "info": { "author": "https://github.com/mejorandola", "author_email": "d@mejorando.la", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "=====\nEmbed\n=====\n\nEmbed is a Django app to generate the embed code for youtube, twitter and slideshare.\n\nDetailed documentation is in the \"docs\" directory.\n\nQuick start\n-----------\n\n1. Add \"embed\" to your INSTALLED_APPS setting like this::\n\n INSTALLED_APPS = (\n ...\n 'embed',\n )\n\n2. Run `python manage.py syncdb` to create the embed cache model.\n\n3. Import Embed class.\n\n from embed.utils import Embed\n\n3. You can use it individually for each service or all of them.\n\n youtube = Embed.get_youtube_embed(string=\"Check this video https://youtu.be/THgLyTucjmk\")\n\n4. The Embed will return a string with the link replaced with the embed code.\n\n5. If you want use the twitter functionality you have to set your twitter api keys.\n\n Embed.consumer_key = 'dummy-consumer-key'\n Embed.consumer_secret = 'dummy-consumer-secret'\n Embed.oauth_token = 'dummy-access-token'\n Embed.oauth_token_secret = 'dummy-access-token-secret'\n\n6. You can set the parameters for the embed objects.\n\n Embed.config['width'] = '430'\n\n7. If you are using MySQL you need to encode to utf-8 the \"embed_code\" column of the EmbedCache table in your database.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://mejorando.la/", "keywords": "Embed youtube twitter slideshare python", "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "django-embed", "package_url": "https://pypi.org/project/django-embed/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-embed/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://mejorando.la/" }, "release_url": "https://pypi.org/project/django-embed/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "A simple Django app to generate embed code from youtube, twitter and slideshare.", "version": "0.2.1" }, "last_serial": 789563, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "9f780e85e1d27426a226e4142eccb597", "sha256": "2eee2cfb2aaf2cf34c9818fedd77bd8cbb787819d0fa51a479dd639a50ef022c" }, "downloads": -1, "filename": "django-embed-0.1.tar.gz", "has_sig": false, "md5_digest": "9f780e85e1d27426a226e4142eccb597", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3578, "upload_time": "2013-04-22T23:13:48", "url": "https://files.pythonhosted.org/packages/08/38/df23d7f6dc0d9c25380d3e171e3b0dcf54d27053925fa1210ab84490d23f/django-embed-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "be0780a0ba86c6e96354e9cc145dc439", "sha256": "022b04761ca30a50c4f95460e2d5fbda5494914518758c4aa5180f0a2938c4dd" }, "downloads": -1, "filename": "django-embed-0.2.tar.gz", "has_sig": false, "md5_digest": "be0780a0ba86c6e96354e9cc145dc439", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 89969, "upload_time": "2013-04-23T22:07:49", "url": "https://files.pythonhosted.org/packages/31/65/a5533aa0b77b9ead4746c4f8a950d391e95489d32c3f8c49ff71c9249e85/django-embed-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "cc352e3cb2cbfd350de8b40acf0a864c", "sha256": "5fb0d8243ecaeff1f0b5159bda4318e686d216cdfd006261180d051e74f2a4ac" }, "downloads": -1, "filename": "django-embed-0.2.1.tar.gz", "has_sig": false, "md5_digest": "cc352e3cb2cbfd350de8b40acf0a864c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 90418, "upload_time": "2013-04-23T22:57:40", "url": "https://files.pythonhosted.org/packages/9f/c6/176296fec20df53ba999a8098265239349da6e962eadb4f50b6e4d8b41fd/django-embed-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cc352e3cb2cbfd350de8b40acf0a864c", "sha256": "5fb0d8243ecaeff1f0b5159bda4318e686d216cdfd006261180d051e74f2a4ac" }, "downloads": -1, "filename": "django-embed-0.2.1.tar.gz", "has_sig": false, "md5_digest": "cc352e3cb2cbfd350de8b40acf0a864c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 90418, "upload_time": "2013-04-23T22:57:40", "url": "https://files.pythonhosted.org/packages/9f/c6/176296fec20df53ba999a8098265239349da6e962eadb4f50b6e4d8b41fd/django-embed-0.2.1.tar.gz" } ] }