{ "info": { "author": "gao liang", "author_email": "me@gaoliang.im", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "\n# tmlpy - Python implementation of Terminal Markup Language\n\nA Python module to implement [tml](https://github.com/liamg/tml), which make the output of coloured/formatted text in the terminal easier and more readable.\n\n![Example screenshot](example.png)\n\n\n## Usage in Python\nFirst, install tmlpy:\n```bash\npip install tmlpy\n```\n\nThe output of coloured/formatted text is easy using the following syntax:\n\n```python\nfrom tmlpy import tml\ntml.print(\"this text is red \", \"and the following is %s\" % \"not red\", sep='')\n```\n\n## Format\n\nEach tag is enclosed in angle brackets, much like HTML.\n\nYou can nest tags as deeply as you like.\n\nIt's not required to close tags you've opened, though it can make for easier reading.\n\n### Available Tags\n\n#### Foreground Colours\n\n- ``\n- ``\n- ``\n- ``\n- ``\n- ``\n- ``\n- ``\n- ``\n- ``\n- ``\n- ``\n- ``\n- ``\n- ``\n- ``\n\n#### Background Colours\n\n- ``\n- ``\n- ``\n- ``\n- ``\n- ``\n- ``\n- ``\n- ``\n- ``\n- ``\n- ``\n- ``\n- ``\n- ``\n- ``\n\n#### Attributes\n\n- ``\n- ``\n- ``\n- ``\n- ``\n- ``\n\n#### Related\n\n[https://github.com/liamg/tml](https://github.com/liamg/tml)\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/gaoliang/tmlpy", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "tmlpy", "package_url": "https://pypi.org/project/tmlpy/", "platform": "", "project_url": "https://pypi.org/project/tmlpy/", "project_urls": { "Homepage": "https://github.com/gaoliang/tmlpy" }, "release_url": "https://pypi.org/project/tmlpy/0.1.0/", "requires_dist": null, "requires_python": ">=3.6.0", "summary": "Python implementation of Terminal Markup Language", "version": "0.1.0" }, "last_serial": 5228271, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "3ad745e6f16c1179b3d4fe15778070a0", "sha256": "3c1a97d744452267e7c596a509cd60e460fe8f5670800f784efeb14bbb68ede6" }, "downloads": -1, "filename": "tmlpy-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3ad745e6f16c1179b3d4fe15778070a0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 4162, "upload_time": "2019-05-05T12:11:34", "url": "https://files.pythonhosted.org/packages/ea/28/e4da970f1d4b60853c60225b1aa27b2b6b448940a2ac5861e339f4a7e580/tmlpy-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "74b3671fd419ab228f0cb5f381fe6a62", "sha256": "8620e7c98401f27772311dd5d341f14923076156260bed9612c8b19ef474f5db" }, "downloads": -1, "filename": "tmlpy-0.1.0.tar.gz", "has_sig": false, "md5_digest": "74b3671fd419ab228f0cb5f381fe6a62", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 4641, "upload_time": "2019-05-05T12:11:37", "url": "https://files.pythonhosted.org/packages/3a/c0/e91e0d7a9cf29807fd2875ae173b082d0593f9d7978f1a94300825ea26eb/tmlpy-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3ad745e6f16c1179b3d4fe15778070a0", "sha256": "3c1a97d744452267e7c596a509cd60e460fe8f5670800f784efeb14bbb68ede6" }, "downloads": -1, "filename": "tmlpy-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3ad745e6f16c1179b3d4fe15778070a0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 4162, "upload_time": "2019-05-05T12:11:34", "url": "https://files.pythonhosted.org/packages/ea/28/e4da970f1d4b60853c60225b1aa27b2b6b448940a2ac5861e339f4a7e580/tmlpy-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "74b3671fd419ab228f0cb5f381fe6a62", "sha256": "8620e7c98401f27772311dd5d341f14923076156260bed9612c8b19ef474f5db" }, "downloads": -1, "filename": "tmlpy-0.1.0.tar.gz", "has_sig": false, "md5_digest": "74b3671fd419ab228f0cb5f381fe6a62", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 4641, "upload_time": "2019-05-05T12:11:37", "url": "https://files.pythonhosted.org/packages/3a/c0/e91e0d7a9cf29807fd2875ae173b082d0593f9d7978f1a94300825ea26eb/tmlpy-0.1.0.tar.gz" } ] }