{ "info": { "author": "Lin, Ke-fei", "author_email": "kfei@kfei.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Topic :: Utilities" ], "description": "code2html\n=========\nConvert source code repository to HTML files.\n\nBrief\n-----\nDo you like reading source code on your mobile devices?\n\nHTML is a light-weight format (unlike PDF or EPUB) that can be easily read on\nevery browser-included mobile device.\n\n``code2html`` is a tool converts source code repository to HTML format files so\nthat you can put them into your mobile devices and read it whenever and\nwherever with a beautiful syntax highlight (thanks ``Vim``).\n\nGet rid of those social networking applications, start to **enjoy code reading**.\n\nRequirements\n------------\nBy taking advantages of the magic ``TOhtml`` function from ``Vim``,\n``code2html`` requires you have ``Vim`` installed. Also if you specify\na non-default color scheme to use, it must be available on your system as well.\n\nUsage\n-----\n::\n\n code2html [-h] [--color COLOR] [--include INCLUDES] [--pre] input output\n\n positional arguments:\n input Path to the source code repository\n output Path for saving output files\n\n optional arguments:\n -h, --help show this help message and exit\n --color COLOR Specify the color scheme use for syntax highlighting\n --include INCLUDES Specify file matching patterns, then only the matched\n files will be convert. Wild card characters are\n supported. e.g. --include=\"*.c\" --include=\"?.py\"\n --pre Instead of actually performing the conversion, simply\n display what *would* have been converted if --pre\n weren't used\n\nExample 1\n~~~~~~~~~\nUse ``--pre`` to check what would be converted::\n\n $ code2html --pre --include=\"*.cpp\" /path/to/input /path/to/output\n\n\nExample 2\n~~~~~~~~~\nConvert all Python sources, ``ext.c`` and a README file from ``/path/to/input``\nto ``/path/to/output``, using ``jellybeans`` as the syntax highlight scheme::\n\n $ code2html --color=jellybeans --include=\"*.py\" --include=\"ext.c\"\n --include=\"README.rst\" /path/to/input /path/to/output\n\nExample 3\n~~~~~~~~~\nPut the source code files into your mobile devices and find a good file \nmanager to organize them. And then next time you wait for lunch, bus, \ngirlfriend (FIXME!), etc., **read some code!**\n\n.. image:: https://raw.githubusercontent.com/kfei/code2html/master/misc/img1.png\n\n.. image:: https://raw.githubusercontent.com/kfei/code2html/master/misc/img2.png\n\n.. image:: https://raw.githubusercontent.com/kfei/code2html/master/misc/img3.png\n\n.. image:: https://raw.githubusercontent.com/kfei/code2html/master/misc/img4.png", "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/kfei/code2html", "keywords": "code,syntax,highlight,convert,html", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "code2html", "package_url": "https://pypi.org/project/code2html/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/code2html/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/kfei/code2html" }, "release_url": "https://pypi.org/project/code2html/0.3.2/", "requires_dist": null, "requires_python": null, "summary": "Convert source code repository to HTML files, with beautiful syntax highlight.", "version": "0.3.2" }, "last_serial": 1144277, "releases": { "0.3.1": [ { "comment_text": "", "digests": { "md5": "722a6c0848a87a9b57d4b99a9d970b34", "sha256": "9183e3aa1e65f1fa9d2057975316a5e627db42282e5b894c3518cf7f999d4edc" }, "downloads": -1, "filename": "code2html-0.3.1.tar.gz", "has_sig": false, "md5_digest": "722a6c0848a87a9b57d4b99a9d970b34", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5891, "upload_time": "2014-06-23T07:01:26", "url": "https://files.pythonhosted.org/packages/d9/81/f9b3eb1fe7ed682ac660fc9e317b9a2208860dc4c565c49a0fb638f0575c/code2html-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "d9fb88c625c3c2129165ddb17acd7507", "sha256": "021f90c705437641395bf9a232d71756f3d8526eb02b3b63e0bc71f8f34019fa" }, "downloads": -1, "filename": "code2html-0.3.2.tar.gz", "has_sig": false, "md5_digest": "d9fb88c625c3c2129165ddb17acd7507", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6067, "upload_time": "2014-07-02T08:54:45", "url": "https://files.pythonhosted.org/packages/17/36/4225b464bba372b3b82fc2d6414e909a7e6873d03089a704f7f64337e3b7/code2html-0.3.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d9fb88c625c3c2129165ddb17acd7507", "sha256": "021f90c705437641395bf9a232d71756f3d8526eb02b3b63e0bc71f8f34019fa" }, "downloads": -1, "filename": "code2html-0.3.2.tar.gz", "has_sig": false, "md5_digest": "d9fb88c625c3c2129165ddb17acd7507", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6067, "upload_time": "2014-07-02T08:54:45", "url": "https://files.pythonhosted.org/packages/17/36/4225b464bba372b3b82fc2d6414e909a7e6873d03089a704f7f64337e3b7/code2html-0.3.2.tar.gz" } ] }