{ "info": { "author": "Michael Kuty", "author_email": "kutymichael@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Application Frameworks" ], "description": "===============\nLeonardo Oembed\n===============\n\nLeonardo wrapper for feincms-oembed converts standard URLs from more than 200 content providers into embedded videos, images and rich article previews by letting Embedly or another OEmbed provider to the hard work.\n\nThanks @matthiask\n\n.. contents::\n :local:\n\nInstallation\n============\n\n.. code-block:: bash\n\n pip install leonardo-oembed\n\nor as leonardo bundle\n\n.. code-block:: bash\n\n pip install django-leonardo[\"oembed\"]\n\nConfiguration\n=============\n\nAdd ``leonardo_module_oembed`` to APPS list, in the ``local_settings.py``::\n\n APPS = [\n ...\n 'leonardo_oembed'\n ...\n ]\n\nSync static\n-----------\n\n.. code-block:: bash\n\n python manage.py makemigrations --noinput\n python manage.py migrate --noinput\n python manage.py sync_all\n\nExtends\n=======\n\nIf you want to customize the Embedly_ request or use another OEmbed provider,\nset ``settings.OEMBED_PROVIDER`` to a function receiving the URL and a dict\nwith additional arguments and returning a suitable URL which returns OEmbed\nJSON on access. ``OEMBED_PROVIDER`` must either be a dotted python path or a\ncallable::\n\n from feincms_oembed.providers import embedly_oembed_provider\n def my_provider(url, kwargs):\n kwargs['wmode'] = 'opaque'\n return embedly_oembed_provider(url, kwargs)\n\n OEMBED_PROVIDER = 'path.to.module.my_provider'\n # OEMBED_PROVIDER = my_provider # The function can be used too, not only\n # the dotted python path.\n\n\nRead More\n=========\n\n* https://github.com/feincms/feincms-oembed\n* https://github.com/django-leonardo/django-leonardo", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/leonardo-modules/leonardo-oembed.git", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "leonardo-oembed", "package_url": "https://pypi.org/project/leonardo-oembed/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/leonardo-oembed/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/leonardo-modules/leonardo-oembed.git" }, "release_url": "https://pypi.org/project/leonardo-oembed/2016.1.0/", "requires_dist": null, "requires_python": null, "summary": "OEmbed anything.", "version": "2016.1.0" }, "last_serial": 1893122, "releases": { "2015.10.1.dev3": [ { "comment_text": "", "digests": { "md5": "d36de102649d133974704d8d6c573149", "sha256": "409c29412d445df0945ae14e71adfafffbf64fceb3de7bd05ae1a1eb355169e5" }, "downloads": -1, "filename": "leonardo-oembed-2015.10.1.dev3.tar.gz", "has_sig": false, "md5_digest": "d36de102649d133974704d8d6c573149", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5020, "upload_time": "2016-01-07T14:00:50", "url": "https://files.pythonhosted.org/packages/eb/dc/f5c397001486d948aa7d2919c6c40413a6ac3f528a6744dfdf4827d0861f/leonardo-oembed-2015.10.1.dev3.tar.gz" } ], "2015.5.0": [ { "comment_text": "", "digests": { "md5": "48abfb1a0453babe223269a8bcf705a8", "sha256": "49e3c43288bd22c03b230e910671f63eca0381e89a6b7552a12757417a86b987" }, "downloads": -1, "filename": "leonardo-oembed-2015.5.0.tar.gz", "has_sig": false, "md5_digest": "48abfb1a0453babe223269a8bcf705a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4032, "upload_time": "2015-05-19T21:07:36", "url": "https://files.pythonhosted.org/packages/9d/28/8a105095beeeb0c18dc47b81f86745b72afe1d73aa124cd695d815b52d9f/leonardo-oembed-2015.5.0.tar.gz" } ], "2015.5.1": [ { "comment_text": "", "digests": { "md5": "ec53f652982cb99bb3caaf5fbacd004d", "sha256": "aed5f0e1b6196e75fdefc3ffd1198d7b8c645771d51c0734efa1f8881db5afc6" }, "downloads": -1, "filename": "leonardo-oembed-2015.5.1.tar.gz", "has_sig": false, "md5_digest": "ec53f652982cb99bb3caaf5fbacd004d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4065, "upload_time": "2015-05-19T22:55:49", "url": "https://files.pythonhosted.org/packages/7b/74/63d263ba333501dd688eb1cad33f8d2a0e4d86fcbba45bcb8d75392ac4d1/leonardo-oembed-2015.5.1.tar.gz" } ], "2016.1.0": [ { "comment_text": "", "digests": { "md5": "da8e2bdda03930c649db9f061f8605cf", "sha256": "28145920020fe3f4796c2746210a857debc749bb784db1509e9888cbbe005a4d" }, "downloads": -1, "filename": "leonardo-oembed-2016.1.0.tar.gz", "has_sig": false, "md5_digest": "da8e2bdda03930c649db9f061f8605cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5024, "upload_time": "2016-01-07T14:02:06", "url": "https://files.pythonhosted.org/packages/23/0e/49c001ceb80478c1125d58e4ac5aeba6704d77c3b0dce3a3b755cc1803ad/leonardo-oembed-2016.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "da8e2bdda03930c649db9f061f8605cf", "sha256": "28145920020fe3f4796c2746210a857debc749bb784db1509e9888cbbe005a4d" }, "downloads": -1, "filename": "leonardo-oembed-2016.1.0.tar.gz", "has_sig": false, "md5_digest": "da8e2bdda03930c649db9f061f8605cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5024, "upload_time": "2016-01-07T14:02:06", "url": "https://files.pythonhosted.org/packages/23/0e/49c001ceb80478c1125d58e4ac5aeba6704d77c3b0dce3a3b755cc1803ad/leonardo-oembed-2016.1.0.tar.gz" } ] }