{ "info": { "author": "Joachim Jablon", "author_email": "ewjoachim@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "# ColorSnip\n\n[![PyPI version](https://badge.fury.io/py/colorsnip.svg)](https://badge.fury.io/py/colorsnip)\n[![GitHub version](https://badge.fury.io/gh/ewjoachim%2Fcolorsnip.svg)](https://badge.fury.io/gh/ewjoachim%2Fcolorsnip)\n\nCommand line tool: Copies the content of the given file (or stdin) to the clipboard\nwith syntax coloring, so it can be pasted into a format-retaining software.\n\n## Installation\n\nCompatible with:\n- MacOS via [richxerox](https://pypi.org/project/richxerox/)\n- Linux and Windows (untested) via [klemboard](https://pypi.org/project/klembord/)\n\n```console\n$ pip install colorsnip\n```\n\n## Usage:\n\n```console\n$ colorsnip [filename|-]\n```\n\n## Use case\n\nPasting formatted code for a presentation in Keynote or the like.\n\nIf you want to access the `HTML`/`RTF` content directly, use `pygments` and the CLI tool\n`pygmentize` that it provides.\n\n## Caveats\n\n- richxerox dependency seems to install half of PyPI\n- Untested on Linux and Windows\n- Linux and Windows get the `HTML` rich text format only, while MacOS get HTML and RTF.\n\n## License\n\nMIT (see top of code file)\n\n## Code of conduct\n\nThis project follows the [contributor covenant](https://www.contributor-covenant.org/).\n\nFor any feedback, contact the author via an issue, or [twitter](https://twitter.com/ewjoachim)\nor by email (first name at last name dot fr).\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ewjoachim/colorsnip", "keywords": "code,color,copy,clipboard,highlight,powerpoint,keynote", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "colorsnip", "package_url": "https://pypi.org/project/colorsnip/", "platform": "", "project_url": "https://pypi.org/project/colorsnip/", "project_urls": { "Homepage": "https://github.com/ewjoachim/colorsnip" }, "release_url": "https://pypi.org/project/colorsnip/0.1.3/", "requires_dist": [ "pygments", "richxerox; platform_system == \"Darwin\"", "klembord; platform_system == \"Linux\" or platform_system == \"Windows\"", "twine; extra == 'dev'" ], "requires_python": "", "summary": "\"Colorize snippets and copy to rich text clipboard\"", "version": "0.1.3" }, "last_serial": 4275583, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "fec54204572d614b9a896338b229d83d", "sha256": "22c7a57499dbe8e33338769772465ec88567f7e053d56bdc1de36d8a6f717d36" }, "downloads": -1, "filename": "colorsnip-0.1.1-py3-none-macosx_10_13_x86_64.whl", "has_sig": false, "md5_digest": "fec54204572d614b9a896338b229d83d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2355, "upload_time": "2018-09-15T21:01:06", "url": "https://files.pythonhosted.org/packages/7c/a8/7837dc18450fbbc13d27c777e0f60f5f1bb07ca83443281eec441c1237de/colorsnip-0.1.1-py3-none-macosx_10_13_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "ffd237d1e4d59fc4d62b3bcb065a0322", "sha256": "58a213bcab132f966ac77eab8b415a2341badf9b779056e0082068d0445ffbc0" }, "downloads": -1, "filename": "colorsnip-0.1.1.tar.gz", "has_sig": false, "md5_digest": "ffd237d1e4d59fc4d62b3bcb065a0322", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2298, "upload_time": "2018-09-15T21:01:07", "url": "https://files.pythonhosted.org/packages/b2/84/f5bab493bb42ed2e5c02f4a74b6be7e4a44935c760c7ba33fd4fe77a77e3/colorsnip-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "89196f714d5a111a95a30dea2519e583", "sha256": "57a236cbf7a2b72e5a713801eefd96b6935922765610d2ee1647d59ab694153b" }, "downloads": -1, "filename": "colorsnip-0.1.2-py3-none-macosx_10_13_x86_64.whl", "has_sig": false, "md5_digest": "89196f714d5a111a95a30dea2519e583", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3784, "upload_time": "2018-09-15T21:16:37", "url": "https://files.pythonhosted.org/packages/ec/43/f258256b63c0a1af6426241a5e08181a290e4f80e5c5153286c6a9a3fc88/colorsnip-0.1.2-py3-none-macosx_10_13_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "e5ec4d06aa85d6ce0caaff1f10755a0d", "sha256": "d0b8d2437723b141601e31c5bf248c3bfed120fd072e9ed6ca298199b1beb226" }, "downloads": -1, "filename": "colorsnip-0.1.2.tar.gz", "has_sig": false, "md5_digest": "e5ec4d06aa85d6ce0caaff1f10755a0d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3453, "upload_time": "2018-09-15T21:16:39", "url": "https://files.pythonhosted.org/packages/c3/41/c67c5a5b382b1cbd4e4f5b59fada6fe243c77341b1ab87e42bc4da98c4f7/colorsnip-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "a925d282bae29fd0b8ee8641884ef9d2", "sha256": "486278d935d62a67444bf3b7237d8e6abfaf337761a2926796fc15736068a1d2" }, "downloads": -1, "filename": "colorsnip-0.1.3-py3-none-macosx_10_13_x86_64.whl", "has_sig": false, "md5_digest": "a925d282bae29fd0b8ee8641884ef9d2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3842, "upload_time": "2018-09-15T21:40:04", "url": "https://files.pythonhosted.org/packages/9c/44/e1cd2027d7f53c90ce2b88a2033bedae28a6b4c7ee16469555327a5c888d/colorsnip-0.1.3-py3-none-macosx_10_13_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "4a682fde20e2a6a18ee87740d28a7326", "sha256": "42add1cb5bdd1d676b9f0666de2517c94f616ab6160ba04a4a90c2984f202aae" }, "downloads": -1, "filename": "colorsnip-0.1.3.tar.gz", "has_sig": false, "md5_digest": "4a682fde20e2a6a18ee87740d28a7326", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3526, "upload_time": "2018-09-15T21:40:07", "url": "https://files.pythonhosted.org/packages/70/0f/5e832c1274a4a31fd6a3f51c2edc6064d9485ad08ad5bb0fbcb8fff91f81/colorsnip-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a925d282bae29fd0b8ee8641884ef9d2", "sha256": "486278d935d62a67444bf3b7237d8e6abfaf337761a2926796fc15736068a1d2" }, "downloads": -1, "filename": "colorsnip-0.1.3-py3-none-macosx_10_13_x86_64.whl", "has_sig": false, "md5_digest": "a925d282bae29fd0b8ee8641884ef9d2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3842, "upload_time": "2018-09-15T21:40:04", "url": "https://files.pythonhosted.org/packages/9c/44/e1cd2027d7f53c90ce2b88a2033bedae28a6b4c7ee16469555327a5c888d/colorsnip-0.1.3-py3-none-macosx_10_13_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "4a682fde20e2a6a18ee87740d28a7326", "sha256": "42add1cb5bdd1d676b9f0666de2517c94f616ab6160ba04a4a90c2984f202aae" }, "downloads": -1, "filename": "colorsnip-0.1.3.tar.gz", "has_sig": false, "md5_digest": "4a682fde20e2a6a18ee87740d28a7326", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3526, "upload_time": "2018-09-15T21:40:07", "url": "https://files.pythonhosted.org/packages/70/0f/5e832c1274a4a31fd6a3f51c2edc6064d9485ad08ad5bb0fbcb8fff91f81/colorsnip-0.1.3.tar.gz" } ] }