{ "info": { "author": "Nick Savchenko", "author_email": "nsavch@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Other Audience", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: POSIX", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Games/Entertainment", "Topic :: Software Development :: Libraries" ], "description": "# python-dpcolors\n\n[![Build Status](https://travis-ci.org/nsavch/python-dpcolors.svg?branch=master)](https://travis-ci.org/nsavch/python-dpcolors)\n\nPython library for converting DarkPlaces color strings to various other formats\n\nSupports the following conversions\n\n * dp -> irc\n * dp -> ansi 8 bit\n * dp -> ansi 24 bit\n * irc -> dp\n * irc -> ansi 8 bit\n * irc -> ansi 24 bit\n\n# Installation\n\n```bash\npip install python-dpcolors\n```\n\n# Example usage\n\n```python\nfrom dpcolors import ColorString\n\ncs = ColorString.from_dp('^3hello')\nprint(cs.to_irc())\nprint(cs.to_ansi_8bit())\nprint(cs.to_ansi_24bit())\n\ncs = ColorString.from_irc('\\x0305hello')\nprint(cs.to_dp())\n```\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/nsavch/python-dpcolors", "keywords": "xonotic", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "python-dpcolors", "package_url": "https://pypi.org/project/python-dpcolors/", "platform": "", "project_url": "https://pypi.org/project/python-dpcolors/", "project_urls": { "Homepage": "https://github.com/nsavch/python-dpcolors" }, "release_url": "https://pypi.org/project/python-dpcolors/0.1.1/", "requires_dist": [ "ansicolors", "setuptools" ], "requires_python": "", "summary": "library to convert Xonotic color strings to various other formats", "version": "0.1.1" }, "last_serial": 3343192, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "6640901173117479c33ae71c4f64663a", "sha256": "a74e8d133045111531a80a57d92f62ae8f102e4a9647a789f3ea32416673f3cd" }, "downloads": -1, "filename": "python_dpcolors-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "6640901173117479c33ae71c4f64663a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9770, "upload_time": "2017-10-31T20:07:45", "url": "https://files.pythonhosted.org/packages/55/bf/71fc91e5b80cb711eb9dbfcc957433d9a6d84fcf84f81cd850f9e11cfe0e/python_dpcolors-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cf16a8c6b3f08bc9847394b4671e426a", "sha256": "36e9a9f7247a19e47c206da6b3cfb5456916234644ecb3a662ab6d4991be38f4" }, "downloads": -1, "filename": "python-dpcolors-0.1.0.tar.gz", "has_sig": false, "md5_digest": "cf16a8c6b3f08bc9847394b4671e426a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6403, "upload_time": "2017-10-31T20:07:47", "url": "https://files.pythonhosted.org/packages/b6/a9/d0be5bb110f5a4ccdb5a8cf060e0e79ab89d964ed16ddca7112ff4ba5cb9/python-dpcolors-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "ed860fbf0aac11bdbe5fb0f0b30205b6", "sha256": "42f613f8089403e19c2f704dd00ea1cb942691e3ba32beb99e21480df2af96bd" }, "downloads": -1, "filename": "python_dpcolors-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ed860fbf0aac11bdbe5fb0f0b30205b6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9770, "upload_time": "2017-11-18T01:09:33", "url": "https://files.pythonhosted.org/packages/ef/0e/24525ec8612a65e2f12596fe17ef35956cea231c3283de43f0af3b4463a7/python_dpcolors-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "847e8faa14db22d78cc38d7b61f5c838", "sha256": "c4ec53f1879a2211a2fe9478a2a49f3c7af09d2d5426ca7b689478ac2778e525" }, "downloads": -1, "filename": "python-dpcolors-0.1.1.tar.gz", "has_sig": false, "md5_digest": "847e8faa14db22d78cc38d7b61f5c838", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6716, "upload_time": "2017-11-18T01:09:35", "url": "https://files.pythonhosted.org/packages/6b/44/ed3241e12f2b6e73b9bece23ada698e35eb97fd72b0b73330b45bf4ff2bf/python-dpcolors-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ed860fbf0aac11bdbe5fb0f0b30205b6", "sha256": "42f613f8089403e19c2f704dd00ea1cb942691e3ba32beb99e21480df2af96bd" }, "downloads": -1, "filename": "python_dpcolors-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ed860fbf0aac11bdbe5fb0f0b30205b6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9770, "upload_time": "2017-11-18T01:09:33", "url": "https://files.pythonhosted.org/packages/ef/0e/24525ec8612a65e2f12596fe17ef35956cea231c3283de43f0af3b4463a7/python_dpcolors-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "847e8faa14db22d78cc38d7b61f5c838", "sha256": "c4ec53f1879a2211a2fe9478a2a49f3c7af09d2d5426ca7b689478ac2778e525" }, "downloads": -1, "filename": "python-dpcolors-0.1.1.tar.gz", "has_sig": false, "md5_digest": "847e8faa14db22d78cc38d7b61f5c838", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6716, "upload_time": "2017-11-18T01:09:35", "url": "https://files.pythonhosted.org/packages/6b/44/ed3241e12f2b6e73b9bece23ada698e35eb97fd72b0b73330b45bf4ff2bf/python-dpcolors-0.1.1.tar.gz" } ] }