{ "info": { "author": "Mads Marquart", "author_email": "madsmtm@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "Intended Audience :: Information Technology", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Communications :: Chat", "Topic :: Games/Entertainment", "Topic :: Scientific/Engineering :: Human Machine Interfaces", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "# Python KaTeX\nContains functionality to convert an image into [KaTeX](https://github.com/Khan/KaTeX), using `\\rule`s\n\nAlso currently only set up to work with Facebook Messengers KaTeX setup, but it should be simple to adapt for other applications.\n\nMore functionality is planned, and PRs welcome!\n\n\n# Installation\n\n```sh\n$ # This will install the python package `katex`, along with the shell command\n$ # `image_to_katex`\n$ pip install katex\n```\n\n# Basic usage\n\n```sh\n$ # This will generate KaTeX output for that image, where the image is scaled\n$ # down to 30 pixels, and where each pixel is 5 units wide\n$ image_to_katex image.png -s 30 -ps 5\n```\n\n```sh\n$ # Display help message\n$ image_to_katex --help\n```\n\n# Facebook KaTeX info\nKaTeX version: v0.8.2 (17/8-2017)\n\nMax length of Facebook messages is 20000 chars.\n\nFacebook renders any KaTeX error messages in the html `title` attribute.\n\nYou can use `$$` or `\\(`+`\\)` as delimeters. `$$` renders the LaTeX in displayMode, `\\(`+`\\)` renders it inline.\n\nFacebook wraps all inputs in a `\\color` block, like this: `\\color{#fff}{inp}`, where `inp` is the input\n\nKnown KaTeX options:\n\n- displayMode = true if `$$` else false\n- colorIsTextColor: false\n- maxSize: 50\n- maxExpand = 25", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/madsmtm/katex", "keywords": "Facebook KaTeX Messenger", "license": "BSD 3-Clause", "maintainer": "", "maintainer_email": "", "name": "katex", "package_url": "https://pypi.org/project/katex/", "platform": "", "project_url": "https://pypi.org/project/katex/", "project_urls": { "Homepage": "http://github.com/madsmtm/katex" }, "release_url": "https://pypi.org/project/katex/0.0.4/", "requires_dist": null, "requires_python": ">=3.4, <4.0", "summary": "Convert an image into KaTeX to use in Facebook Messenger", "version": "0.0.4" }, "last_serial": 4323603, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "dab6b81338777c1edec3927188f274ff", "sha256": "9d170b53438bfda3943daa39214221061f6349d5e5348e433e489a942cf1c33f" }, "downloads": -1, "filename": "katex-0.0.1.tar.gz", "has_sig": false, "md5_digest": "dab6b81338777c1edec3927188f274ff", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4.0", "size": 5111, "upload_time": "2018-09-29T21:17:08", "url": "https://files.pythonhosted.org/packages/f5/eb/4713ce3baa9e31f8e9bd92da9d91faf0fb4cc8ec6eb6f6e29a733f57ba77/katex-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "822f283c99f2f4f547ff949bf99cc7af", "sha256": "dfc7d7a70dc31863d9bbfb71f9270f729269e9734e78a3fb1a7a15c2e7a6e9d3" }, "downloads": -1, "filename": "katex-0.0.2.tar.gz", "has_sig": false, "md5_digest": "822f283c99f2f4f547ff949bf99cc7af", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4, <4.0", "size": 5083, "upload_time": "2018-09-29T21:31:16", "url": "https://files.pythonhosted.org/packages/39/8d/dde523804bc348a49aaf3935912f759b6cb0db110e75e0c24226005c5601/katex-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "a454d4f97520bdbf5e1dc0a01bf0cade", "sha256": "87527cf6dc93f6c597ba93ab5bfbde39b5303fc649a4631c90807ced947efd14" }, "downloads": -1, "filename": "katex-0.0.3a.tar.gz", "has_sig": false, "md5_digest": "a454d4f97520bdbf5e1dc0a01bf0cade", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4, <4.0", "size": 5271, "upload_time": "2018-09-29T22:00:15", "url": "https://files.pythonhosted.org/packages/5c/4b/ba7dda71fbad94ea65049d44be444e0968de7da50cbaa6599ea42b16412b/katex-0.0.3a.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "65d43fee194badce8826924a55377e78", "sha256": "cb5a21808163d6c80c95607cc20df217a4f4fa8d14e99cb6cfde020348b15d98" }, "downloads": -1, "filename": "katex-0.0.4.tar.gz", "has_sig": false, "md5_digest": "65d43fee194badce8826924a55377e78", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4, <4.0", "size": 5274, "upload_time": "2018-09-29T22:02:53", "url": "https://files.pythonhosted.org/packages/2a/35/a6a790a8a37fa741851dfe4df92ec729153833cbb6d24be97581875c4dd4/katex-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "65d43fee194badce8826924a55377e78", "sha256": "cb5a21808163d6c80c95607cc20df217a4f4fa8d14e99cb6cfde020348b15d98" }, "downloads": -1, "filename": "katex-0.0.4.tar.gz", "has_sig": false, "md5_digest": "65d43fee194badce8826924a55377e78", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4, <4.0", "size": 5274, "upload_time": "2018-09-29T22:02:53", "url": "https://files.pythonhosted.org/packages/2a/35/a6a790a8a37fa741851dfe4df92ec729153833cbb6d24be97581875c4dd4/katex-0.0.4.tar.gz" } ] }