{ "info": { "author": "Sean Wallitsch", "author_email": "sean@grenadehop.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Text Processing :: Markup :: HTML" ], "description": "sphinx-dehead\n=============\n\n- **Author:** Sean Wallitsch\n- **Email:** sean@grenadehop.com\n- **License:** MIT\n- **Status:** Development\n- **Python Versions:** 2.6-2.7\n\nA script to extract the first found `
` from an HTML\ndocument, then save that extracted element to it's own HTML file. Useful when\nincluding an HTML file in another document, when you don't need all the header\njunk.\n\nDeveloped for including Sphinx built HTML documentation in an Octopress blog.\n\nUsage\n-----\n\nsphinx-dehead takes a glob style input parameter, and an optional output\ndirectory.\n\nFor example, this will dehead every HTML file in the current directory, and\nsave it to the default output directory, `dehead_output/`\n\n.. code-block:: console\n\n $ sphinx-dehead './*.html'\n\nWhile this will save it in the sibling `_docs` directory:\n\n.. code-block:: console\n\n $ sphinx-dehead './*.html' -d ../_docs/\n\nInstallation\n------------\n\nsphinx-dehead can be installed with pip:\n\n.. code-block:: console\n\n $ pip install sphinx-dehead\n\nor by cloning the repository, and from the root directory calling:\n\n.. code-block:: console\n\n $ python setup.py install\n\nLicense\n-------\n\n The MIT License (MIT)\n\n sphinx-dehead\n Copyright (c) 2014 By Sean Wallitsch\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.", "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/shidarin/dehead", "keywords": "sphinx bootstrap octopress html rst partial", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "sphinx-dehead", "package_url": "https://pypi.org/project/sphinx-dehead/", "platform": "any", "project_url": "https://pypi.org/project/sphinx-dehead/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/shidarin/dehead" }, "release_url": "https://pypi.org/project/sphinx-dehead/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "A script to extract the main div section element from HTML", "version": "0.2.1" }, "last_serial": 1155947, "releases": { "0.1": [], "0.1.1": [], "0.2.0": [], "0.2.1": [ { "comment_text": "", "digests": { "md5": "b85db4a776ce71c1999f1b44e46809f0", "sha256": "cfde611b545809b92f6631596355c93454a387538cf5efd7b873f05a3dd46a57" }, "downloads": -1, "filename": "sphinx-dehead-0.2.1.tar.gz", "has_sig": false, "md5_digest": "b85db4a776ce71c1999f1b44e46809f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6041, "upload_time": "2014-07-13T01:37:25", "url": "https://files.pythonhosted.org/packages/11/33/cbe78cb8ef2194ca2939ba6b5c421f26f50a40e2ce73fa79fe0037f65f72/sphinx-dehead-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b85db4a776ce71c1999f1b44e46809f0", "sha256": "cfde611b545809b92f6631596355c93454a387538cf5efd7b873f05a3dd46a57" }, "downloads": -1, "filename": "sphinx-dehead-0.2.1.tar.gz", "has_sig": false, "md5_digest": "b85db4a776ce71c1999f1b44e46809f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6041, "upload_time": "2014-07-13T01:37:25", "url": "https://files.pythonhosted.org/packages/11/33/cbe78cb8ef2194ca2939ba6b5c421f26f50a40e2ce73fa79fe0037f65f72/sphinx-dehead-0.2.1.tar.gz" } ] }