{ "info": { "author": "Philippe Faist", "author_email": "philippe.faist@bluewin.ch", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering", "Topic :: Text Processing :: General", "Topic :: Text Processing :: Markup :: LaTeX" ], "description": "pylatexenc\n==========\n\nSimple LaTeX parser providing latex-to-unicode and unicode-to-latex conversion\n\n.. image:: https://img.shields.io/github/license/phfaist/pylatexenc.svg?style=flat\n :target: https://github.com/phfaist/pylatexenc/blob/master/LICENSE.txt\n\n.. image:: https://img.shields.io/travis/phfaist/pylatexenc.svg?style=flat\n :target: https://travis-ci.org/phfaist/pylatexenc\n \n.. image:: https://img.shields.io/pypi/v/pylatexenc.svg?style=flat\n :target: https://pypi.org/project/pylatexenc/\n\n.. image:: https://img.shields.io/lgtm/alerts/g/phfaist/pylatexenc.svg?logo=lgtm&logoWidth=18&style=flat\n :target: https://lgtm.com/projects/g/phfaist/pylatexenc/alerts/\n\n\nUnicode Text to LaTeX code\n--------------------------\n\nThe ``pylatexenc.latexencode`` module provides a function ``unicode_to_latex()``\nwhich converts a unicode string into LaTeX text and escape sequences. It should\nrecognize accented characters and most math symbols. A couple of switches allow\nyou to alter how this function behaves.\n\nYou can also run ``latexencode`` in command-line to convert plain unicode text\n(from the standard input or from files given on the command line) into LaTeX\ncode, written on to the standard output.\n\n\nParsing LaTeX code & converting to plain text (unicode)\n-------------------------------------------------------\n\nThe ``pylatexenc.latexwalker`` module provides a series of routines that parse\nthe LaTeX structure of given LaTeX code and returns a logical structure of\nobjects, which can then be used to produce output in another format such as\nplain text. This is not a replacement for a full (La)TeX engine, rather, this\nmodule provides a way to parse a chunk of LaTeX code as mark-up code.\n\nThe ``pylatexenc.latex2text`` module builds up on top of\n``pylatexenc.latexwalker`` and provides functions to convert given LaTeX code to\nplain text with unicode characters.\n\nYou can also run ``latex2text`` in command-line to convert LaTeX input (either\nfrom the standard input, or from files given on the command line) into plain\ntext written on the standard output.\n\n\nDocumentation\n-------------\n\nFull documentation is available at https://pylatexenc.readthedocs.io/.\n\n\nLicense\n-------\n\nSee LICENSE.txt (MIT License).\n\nNOTE: See copyright notice and license information for file ``unicode.xml``\nprovided in ``unicode.xml.LICENSE``. (The file ``unicode.xml`` was downloaded\nfrom https://www.w3.org/2003/entities/2007xml/unicode.xml as linked from\nhttps://www.w3.org/TR/xml-entity-names/#source.)", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/phfaist/pylatexenc", "keywords": "latex text unicode encode parse expression", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pylatexenc", "package_url": "https://pypi.org/project/pylatexenc/", "platform": "", "project_url": "https://pypi.org/project/pylatexenc/", "project_urls": { "Homepage": "https://github.com/phfaist/pylatexenc" }, "release_url": "https://pypi.org/project/pylatexenc/2.1/", "requires_dist": null, "requires_python": "", "summary": "Simple LaTeX parser providing latex-to-unicode and unicode-to-latex conversion", "version": "2.1" }, "last_serial": 5733331, "releases": { "0.9": [ { "comment_text": "", "digests": { "md5": "8752e65385a9d2c5ebc578e845caadd5", "sha256": "407cd86e74bfb616c7264cc6e9e403eb406187e529392e3141fa4cc8d30df5c4" }, "downloads": -1, "filename": "pylatexenc-0.9-py2.7.egg", "has_sig": false, "md5_digest": "8752e65385a9d2c5ebc578e845caadd5", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 24983, "upload_time": "2015-05-05T22:07:45", "url": "https://files.pythonhosted.org/packages/93/5b/805a02c55cc5bc0fb7e3ff489785b211bee9c7720daa0f6837ccf3b0fddb/pylatexenc-0.9-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "0ce52f39963ddfe046358c5786df966a", "sha256": "bf722fb362104688703e5d7833f9086e6fda8b305621356897ec2137bb8080fd" }, "downloads": -1, "filename": "pylatexenc-0.9-py2-none-any.whl", "has_sig": false, "md5_digest": "0ce52f39963ddfe046358c5786df966a", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 26810, "upload_time": "2015-05-05T22:07:41", "url": "https://files.pythonhosted.org/packages/db/d7/b8aeb1a3ed421c8bd8d71b5dad35747f8eb8b7c875659119a10a918a3f8c/pylatexenc-0.9-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7af43e26d0fa0d9a890165d6d0edf631", "sha256": "99cb4ec724bdf47459173ac9441bfa50d5bdc698754e4b1445b3741af79dad17" }, "downloads": -1, "filename": "pylatexenc-0.9.tar.gz", "has_sig": false, "md5_digest": "7af43e26d0fa0d9a890165d6d0edf631", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23362, "upload_time": "2015-05-05T22:07:38", "url": "https://files.pythonhosted.org/packages/87/26/74a0c3ad6777dc19fe18c19283a1f5b17a91939b29ff0d86167788a3739b/pylatexenc-0.9.tar.gz" } ], "1.0": [ { "comment_text": "built for Darwin-10.8.0", "digests": { "md5": "6e30d812aeea812d05b35a2191035cff", "sha256": "f36d86bd9abaa6f7acaa29f62ce209276c5e8a4a2477edd1b4926cf447591b5b" }, "downloads": -1, "filename": "pylatexenc-1.0.macosx-10.6-x86_64.tar.gz", "has_sig": false, "md5_digest": "6e30d812aeea812d05b35a2191035cff", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 56217, "upload_time": "2015-12-19T23:11:47", "url": "https://files.pythonhosted.org/packages/57/c9/6c882692df41ed9ec44df21212668ade75c3e2002b2208b2ac0c48302473/pylatexenc-1.0.macosx-10.6-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "7e397a3df08ed09420a0a244bae16567", "sha256": "0751394a6bc35d9f6c5573de5cd3cede6ed80c7cfc877124ac83376feda1a190" }, "downloads": -1, "filename": "pylatexenc-1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "7e397a3df08ed09420a0a244bae16567", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 30466, "upload_time": "2015-12-19T23:11:54", "url": "https://files.pythonhosted.org/packages/d2/4a/73a5944c7c614c5350b2196e25e84e3ddea1b2ca24a3be9d7dee88e7829b/pylatexenc-1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "066babca4ee72b1621ab48da5fb07357", "sha256": "bb570ee51ebbc00a12805605ccb81ed084a8518feaf70198df408333ab32bc45" }, "downloads": -1, "filename": "pylatexenc-1.0.tar.gz", "has_sig": false, "md5_digest": "066babca4ee72b1621ab48da5fb07357", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30074, "upload_time": "2015-12-19T23:11:30", "url": "https://files.pythonhosted.org/packages/52/0e/0e5dac44fa423b04be9e07d92a69b0244c882e195f26b2c3665c24bf136c/pylatexenc-1.0.tar.gz" } ], "1.0.post1": [ { "comment_text": "", "digests": { "md5": "660fc7f1052b49bca2095220849130f3", "sha256": "6b82a57521fe22be5694e4d4e07531c4b88d7af1f41449c146243dc773bf5044" }, "downloads": -1, "filename": "pylatexenc-1.0.post1-py2-none-any.whl", "has_sig": false, "md5_digest": "660fc7f1052b49bca2095220849130f3", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 30557, "upload_time": "2015-12-21T11:57:57", "url": "https://files.pythonhosted.org/packages/d9/f8/ac2b6b8cf3b3f9da3810a5e5e93b12eda9860762b8f2ab8612e411f74e44/pylatexenc-1.0.post1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0a36808770a0929f4e33ec503502944a", "sha256": "a302d20719695008b7178b88963a5b402a07c005b3e83862503d87280698f98b" }, "downloads": -1, "filename": "pylatexenc-1.0.post1.tar.gz", "has_sig": false, "md5_digest": "0a36808770a0929f4e33ec503502944a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30089, "upload_time": "2015-12-21T11:57:52", "url": "https://files.pythonhosted.org/packages/e5/ec/8e396cf9ed38516af3cc356cf97285dd9d94778ecaa1dabc4b5472509ac9/pylatexenc-1.0.post1.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "b3be0117f986fb3b3534d0a2a80aa88c", "sha256": "6425d46c5093370f324bb00541b0b92278e0070733b88f029f501d1c00f853ce" }, "downloads": -1, "filename": "pylatexenc-1.1.tar.gz", "has_sig": false, "md5_digest": "b3be0117f986fb3b3534d0a2a80aa88c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30269, "upload_time": "2015-12-27T12:40:30", "url": "https://files.pythonhosted.org/packages/1d/47/86d00c5c2e1e43337042946887cf6c3fb33ddf78a01d80be592d02879dbd/pylatexenc-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "e9121ae7379a7ac027881d7e3020ff7f", "sha256": "da7031b591aad1d9ed18b9500ad8fe85c01696ade5c3482fbd4a50cbff314a57" }, "downloads": -1, "filename": "pylatexenc-1.2.tar.gz", "has_sig": false, "md5_digest": "e9121ae7379a7ac027881d7e3020ff7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30466, "upload_time": "2017-04-24T21:14:30", "url": "https://files.pythonhosted.org/packages/ac/d3/954a080a525dc65ffb642e4ec7834088181b7ebee0c73b7ebb610d15efde/pylatexenc-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "ae61e226880fddcc5c31ea249860d385", "sha256": "02a136357694689b0a0ae84333cf5c44dd87b2eb4679a25e27a02cc1d60aef75" }, "downloads": -1, "filename": "pylatexenc-1.3.tar.gz", "has_sig": false, "md5_digest": "ae61e226880fddcc5c31ea249860d385", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35494, "upload_time": "2018-08-22T23:28:40", "url": "https://files.pythonhosted.org/packages/04/ea/bf5f5d7f58369015b17f7bc112e8e85daf7b66583803b36cd229e203cb6b/pylatexenc-1.3.tar.gz" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "ed6ccc344230996e75719a0d242da794", "sha256": "7e7a86285bc1a2197b2734fe075b0dded9dabfc553c2dcb56b14d28ee33918f9" }, "downloads": -1, "filename": "pylatexenc-1.4.tar.gz", "has_sig": false, "md5_digest": "ed6ccc344230996e75719a0d242da794", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 47497, "upload_time": "2019-01-06T04:13:04", "url": "https://files.pythonhosted.org/packages/54/ea/8e394f28d532f86241c77ecb8701e51973151059528de028a18c35249e8d/pylatexenc-1.4.tar.gz" } ], "1.5": [ { "comment_text": "", "digests": { "md5": "2de03e14af97b6866d0a0dcabb18aa56", "sha256": "ef2d5260c38e2cb4d2829e8b918914a558557820d4f57cb6588a81e827de2bb3" }, "downloads": -1, "filename": "pylatexenc-1.5.tar.gz", "has_sig": false, "md5_digest": "2de03e14af97b6866d0a0dcabb18aa56", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 47217, "upload_time": "2019-06-03T17:46:19", "url": "https://files.pythonhosted.org/packages/2d/44/93573fef5cb46842ce9a87548008bea92c8f7523c7c2152cfdffee269ed5/pylatexenc-1.5.tar.gz" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "b4a41c08b607b97216c48f9f62ba1a7d", "sha256": "03530a00ae53a877b9a40e7dc9f1702116ef5b65f31bc851f02f9944e47ae510" }, "downloads": -1, "filename": "pylatexenc-2.0.tar.gz", "has_sig": false, "md5_digest": "b4a41c08b607b97216c48f9f62ba1a7d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 118645, "upload_time": "2019-08-24T23:09:22", "url": "https://files.pythonhosted.org/packages/da/27/2f49deb9c19a41ee96681661bb24aafda72e7658364a88aeb5c870c4645a/pylatexenc-2.0.tar.gz" } ], "2.0.post1": [ { "comment_text": "", "digests": { "md5": "847dd33e3714be5f3346d246f074302a", "sha256": "e2bb024e446fc44672f04acf05a7281671832b127fc96e239d32755cb1a70769" }, "downloads": -1, "filename": "pylatexenc-2.0.post1.tar.gz", "has_sig": false, "md5_digest": "847dd33e3714be5f3346d246f074302a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 119190, "upload_time": "2019-08-25T13:08:03", "url": "https://files.pythonhosted.org/packages/47/17/090c19d67d3bb2fca1287c506b255c717e5681f8cf369594bf77845da361/pylatexenc-2.0.post1.tar.gz" } ], "2.1": [ { "comment_text": "", "digests": { "md5": "02e388b68b033810be30eb0037e00d73", "sha256": "68f6de3921c54d09edb23f2e7625f047d3645cf4f341cc89153e466918411e99" }, "downloads": -1, "filename": "pylatexenc-2.1.tar.gz", "has_sig": false, "md5_digest": "02e388b68b033810be30eb0037e00d73", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 119232, "upload_time": "2019-08-26T21:47:12", "url": "https://files.pythonhosted.org/packages/bd/6d/148934130b53fdccc7f9b35926e883bbe635f8873c3ddcb5c8503b0d018d/pylatexenc-2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "02e388b68b033810be30eb0037e00d73", "sha256": "68f6de3921c54d09edb23f2e7625f047d3645cf4f341cc89153e466918411e99" }, "downloads": -1, "filename": "pylatexenc-2.1.tar.gz", "has_sig": false, "md5_digest": "02e388b68b033810be30eb0037e00d73", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 119232, "upload_time": "2019-08-26T21:47:12", "url": "https://files.pythonhosted.org/packages/bd/6d/148934130b53fdccc7f9b35926e883bbe635f8873c3ddcb5c8503b0d018d/pylatexenc-2.1.tar.gz" } ] }