{ "info": { "author": "Tyler Kennedy", "author_email": "tk@tkte.ch", "bugtrack_url": null, "classifiers": [], "description": "A fairly generic tool that allows you to capture all of the output from\na terminal application (including shells). This output is then rendered in\na pure-python terminal emulator (pyte), and the resulting virtual \"screen\"\nis dumped to either generic JSON or a generic HTML snippet that can then\nbe used to by other tools or inserted into a webpage.\n\nThere are issues with some complex curses applications that use certain\nCSI control codes not (yet) supported by pyte. For example, htop will not\nwork.\n\nThis tool was designed specifically to turn zsh themes into a gallery.\n\n\nExample:\n\n echo \"ls\\\\nexit\\\\n\" > omt-py html -- /bin/zsh\n\n\nCommands:\n omt-py json - Generates a JSON representation of the screen.\n omt-py html - Generates a generic HTML snippet or a standalone\n page.\n omt-py iterm-to-css - Converts an iTerm2 theme into CSS suitable for\n usage with the HTML snippets generated by omt.\n\nUsage:\n omt-py json [options] -- ...\n omt-py html [options] -- ...\n omt-py iterm-to-css [--prefix=] \n\nOptions:\n --width= The number of columns for the pseudo-terminal.\n [default: 80]\n --height= The number of lines for the pseudo-terminal.\n [default: 24]\n --standalone When generating HTML, generate a standalone page\n instead of a generic snippet.\n --theme= When generating standalone HTML, use this iTerm2\n theme for the CSS.\n --prefix= The prefix to use for CSS selectors.\n [default: omt]", "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/tktech/omt", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "omt", "package_url": "https://pypi.org/project/omt/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/omt/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/tktech/omt" }, "release_url": "https://pypi.org/project/omt/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Tools for turning terminal sessions into JSON/HTML.", "version": "0.1.0" }, "last_serial": 1184377, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "e8ad621964b2da850aa683a7daef0364", "sha256": "08b4a31e0a45e398ae1b5bfa35351199ef45e5e357a1ff8bdf0fa2650026e45a" }, "downloads": -1, "filename": "omt-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e8ad621964b2da850aa683a7daef0364", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4270, "upload_time": "2014-08-08T18:40:14", "url": "https://files.pythonhosted.org/packages/ec/9a/f300505238deae2f2b96c8ebf5119b54758abbaff3dcc974915d9fc4f2ad/omt-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e8ad621964b2da850aa683a7daef0364", "sha256": "08b4a31e0a45e398ae1b5bfa35351199ef45e5e357a1ff8bdf0fa2650026e45a" }, "downloads": -1, "filename": "omt-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e8ad621964b2da850aa683a7daef0364", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4270, "upload_time": "2014-08-08T18:40:14", "url": "https://files.pythonhosted.org/packages/ec/9a/f300505238deae2f2b96c8ebf5119b54758abbaff3dcc974915d9fc4f2ad/omt-0.1.0.tar.gz" } ] }