{ "info": { "author": "Aaron Schumacher", "author_email": "ajschumacher@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "===========\nselfcontain\n===========\n\nMake HTML more self-contained by in-lining:\n\n- JavaScript (minified)\n- CSS (minified)\n- Images (base-64 encoded)\n\n - Including (explicitly linked) favicons\n\nFor straightforward cases, this will take an HTML document which might\nhave external dependencies and return an HTML document with no\nexternal dependencies - a single self-contained file that you could\nsend as an email attachment, or show as a presentation without\nworrying about internet connectivity, for example.\n\nCases that are *not* straightforward are those that involve loading\nthings via JavaScript, ``iframe`` things, fonts, and things I haven't\nthought of. Pull requests welcome!\n\n\nUsage\n-----\n\nLoaded as a module, ``selfcontain()`` takes an HTML string and base\npath or URL and is the main function to know. Command-line usage wraps\nthe minor extension ``selfcontain_ref()``, which takes a string\nspecifying a file path or URL to fetch and process::\n\n selfcontain test_in.html > test_out.html\n # or\n selfcontain https://raw.githubusercontent.com/ajschumacher/selfcontain/master/test_in.html > test_out.html", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/ajschumacher/selfcontain/tarball/0.2", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ajschumacher/selfcontain", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "selfcontain", "package_url": "https://pypi.org/project/selfcontain/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/selfcontain/", "project_urls": { "Download": "https://github.com/ajschumacher/selfcontain/tarball/0.2", "Homepage": "https://github.com/ajschumacher/selfcontain" }, "release_url": "https://pypi.org/project/selfcontain/0.2/", "requires_dist": null, "requires_python": null, "summary": "shoe-horn a web page into a single html file", "version": "0.2" }, "last_serial": 1186595, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "d998d53e2b8e590b9c644fab43d62dc4", "sha256": "53a9e4985c27ace1d2ad65d4e610bd2616e450675c8e4037b5c0cfb14d7f2452" }, "downloads": -1, "filename": "selfcontain-0.1.tar.gz", "has_sig": false, "md5_digest": "d998d53e2b8e590b9c644fab43d62dc4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2446, "upload_time": "2014-08-08T15:19:30", "url": "https://files.pythonhosted.org/packages/d7/c8/d0fc44b98531f575d9cdcca511d33b2066ec3918e410cf82c6a6e409569e/selfcontain-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "eae24114a89800f53ecdbf74e498daac", "sha256": "9f0fecd8ad4c0e45d4acc1bbeb8f6b441d2b900f5b85d8b29fb02c2872939e41" }, "downloads": -1, "filename": "selfcontain-0.1.1.tar.gz", "has_sig": false, "md5_digest": "eae24114a89800f53ecdbf74e498daac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2386, "upload_time": "2014-08-08T19:29:49", "url": "https://files.pythonhosted.org/packages/96/26/28ccd96e6138044ccbb1434d4f326d89ddd7c59039661c0fefcc650869b3/selfcontain-0.1.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "c63cfb3a58106e55417d841e207cacf5", "sha256": "799573a05265e9ace390baedc9e683d948a8dffe914f68042834bf3fe1d85bff" }, "downloads": -1, "filename": "selfcontain-0.2.tar.gz", "has_sig": false, "md5_digest": "c63cfb3a58106e55417d841e207cacf5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3066, "upload_time": "2014-08-11T15:25:59", "url": "https://files.pythonhosted.org/packages/13/4f/252c1d043d86985784687a1bb3e4ed8f1c20856fd82ae6d90dc47afe74fc/selfcontain-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c63cfb3a58106e55417d841e207cacf5", "sha256": "799573a05265e9ace390baedc9e683d948a8dffe914f68042834bf3fe1d85bff" }, "downloads": -1, "filename": "selfcontain-0.2.tar.gz", "has_sig": false, "md5_digest": "c63cfb3a58106e55417d841e207cacf5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3066, "upload_time": "2014-08-11T15:25:59", "url": "https://files.pythonhosted.org/packages/13/4f/252c1d043d86985784687a1bb3e4ed8f1c20856fd82ae6d90dc47afe74fc/selfcontain-0.2.tar.gz" } ] }