{ "info": { "author": "Ashish Gupta", "author_email": "gupta.ashish65901@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Site Management :: Link Checking" ], "description": "pyfav2\n-----\n\npyfav2 is a simple Python library that helps you get a `favicon`_ for a\nsupplied URL.\n\nFavicons can be annoying to track down because they\u2019re commonly located\nin a handful of different places. pyfav2 removes the annoyance by\nhandling the details for you \u2013 you supply a URL and pyfav2 will give you\nthe favicon.\n\nExchange a URL for a favicon on disk\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nThe simplest way to get started is to use the download\\_favicon\nfunction,\n\n::\n\n from pyfav2 import download_favicon\n\n favicon_saved_at = download_favicon('https://www.python.org/')\n\nYou should now see the favicon in your /tmp directory. If you want to\ncontrol where the favicon gets written to disk,\n\n::\n\n from pyfav2 import download_favicon\n\n mkdir /tmp/favicon-downloads\n\n favicon_saved_at = download_favicon('https://www.python.org/', \\\n target_dir='/tmp/favicon-downloads')\n\nGet the location\n~~~~~~~~~~~~~~~~\n\nIf you\u2019d prefer to handle the writing piece, use the get\\_favicon\\_url\nfunction,\n\n::\n\n from pyfav2 import get_favicon_url\n\n favicon_url = get_favicon_url('https://www.python.org/')\n\nInstall\n~~~~~~~\n\nThe easiest to get pyfav2 is through PIP\n\n::\n\n pip install pyfav2\n\nLicense\n~~~~~~~\n\npyfav2 is open source and freely avaiable under the `MIT License`_\n\n.. _favicon: http://en.wikipedia.org/wiki/Favicon\n.. _MIT License: http://opensource.org/licenses/MIT", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/phillipsm/pyfav", "keywords": "favicon,favicons", "license": "http://opensource.org/licenses/MIT", "maintainer": null, "maintainer_email": null, "name": "pyfav2", "package_url": "https://pypi.org/project/pyfav2/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyfav2/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/phillipsm/pyfav" }, "release_url": "https://pypi.org/project/pyfav2/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "You supply the URL, pyfav2 will supply the favicon", "version": "0.1.1" }, "last_serial": 1856630, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "92008282be5aee6c9b3f105db5edac7c", "sha256": "b4bd03f70488361003edfbfc64138e481524789871fc6f3173c2cb56ca2701e5" }, "downloads": -1, "filename": "pyfav2-0.1.1.zip", "has_sig": false, "md5_digest": "92008282be5aee6c9b3f105db5edac7c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7985, "upload_time": "2015-12-10T22:35:35", "url": "https://files.pythonhosted.org/packages/f0/87/586eb1bae847554f63769737ebd7c745d237fd92fad2557c6053d4d6f616/pyfav2-0.1.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "92008282be5aee6c9b3f105db5edac7c", "sha256": "b4bd03f70488361003edfbfc64138e481524789871fc6f3173c2cb56ca2701e5" }, "downloads": -1, "filename": "pyfav2-0.1.1.zip", "has_sig": false, "md5_digest": "92008282be5aee6c9b3f105db5edac7c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7985, "upload_time": "2015-12-10T22:35:35", "url": "https://files.pythonhosted.org/packages/f0/87/586eb1bae847554f63769737ebd7c745d237fd92fad2557c6053d4d6f616/pyfav2-0.1.1.zip" } ] }