{"id":13460249,"url":"https://github.com/google/latexify_py","last_synced_at":"2025-05-14T08:05:19.129Z","repository":{"id":45628986,"uuid":"282443202","full_name":"google/latexify_py","owner":"google","description":"A library to generate LaTeX expression from Python code.","archived":false,"fork":false,"pushed_at":"2025-02-13T01:27:01.000Z","size":325,"stargazers_count":7476,"open_issues_count":20,"forks_count":398,"subscribers_count":56,"default_branch":"main","last_synced_at":"2025-05-07T07:13:48.416Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/google.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-25T12:50:56.000Z","updated_at":"2025-05-02T23:58:08.000Z","dependencies_parsed_at":"2023-10-16T12:09:44.087Z","dependency_job_id":"7f5e193a-036a-4557-94d7-a7f4492145e0","html_url":"https://github.com/google/latexify_py","commit_stats":{"total_commits":142,"total_committers":29,"mean_commits":4.896551724137931,"dds":0.704225352112676,"last_synced_commit":"b3ae7fa9483f7055e692bef8acc9c0ec8e91c51f"},"previous_names":["odashi/latexify_py"],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Flatexify_py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Flatexify_py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Flatexify_py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Flatexify_py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/google","download_url":"https://codeload.github.com/google/latexify_py/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254052692,"owners_count":22006716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T10:00:38.059Z","updated_at":"2025-05-14T08:05:19.113Z","avatar_url":"https://github.com/google.png","language":"Python","funding_links":[],"categories":["Python","语言资源库"],"sub_categories":["python"],"readme":"# latexify\n\n[![Python](https://img.shields.io/pypi/pyversions/latexify-py.svg)](https://pypi.org/project/latexify-py/)\n[![PyPI Latest Release](https://img.shields.io/pypi/v/latexify-py.svg)](https://pypi.org/project/latexify-py/)\n[![License](https://img.shields.io/pypi/l/latexify-py.svg)](https://github.com/google/latexify_py/blob/main/LICENSE)\n[![Downloads](https://pepy.tech/badge/latexify-py/month)](https://pepy.tech/project/latexify-py)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat\u0026labelColor=ef8336)](https://pycqa.github.io/isort/)\n\n`latexify` is a Python package to compile a fragment of Python source code to a\ncorresponding $\\LaTeX$ expression:\n\n![Example of latexify usage](https://raw.githubusercontent.com/google/latexify_py/main/example.jpg)\n\n`latexify` provides the following functionalities:\n\n* Libraries to compile Python source code or AST to $\\LaTeX$.\n* IPython classes to pretty-print compiled functions.\n\n## FAQs\n\n1. *Which Python versions are supported?*\n\n   Syntaxes on **Pythons 3.9 to 3.13** are officially supported, or will be supported.\n\n2. *Which technique is used?*\n\n   `latexify` is implemented as a rule-based system on the official `ast` package.\n\n3. *Are \"AI\" techniques adopted?*\n\n   `latexify` is based on traditional parsing techniques.\n   If the \"AI\" meant some techniques around machine learning, the answer is no.\n\n## Getting started\n\nSee the\n[example notebook](https://github.com/google/latexify_py/blob/main/examples/latexify_examples.ipynb),\nwhich provides several\nuse-cases of this library.\n\nYou can also try the above notebook on\n[Google Colaboratory](https://colab.research.google.com/github/google/latexify_py/blob/main/examples/latexify_examples.ipynb).\n\nSee also the official\n[documentation](https://github.com/google/latexify_py/blob/main/docs/index.md)\nfor more details.\n\n## How to Contribute\n\nTo contribute to this project, please refer\n[CONTRIBUTING.md](https://github.com/google/latexify_py/blob/develop/CONTRIBUTING.md).\n\n## Disclaimer\n\nThis software is currently hosted on \u003chttps://github.com/google\u003e, but not officially\nsupported by Google.\n\nIf you have any issues and/or questions about this software, please visit the\n[issue tracker](https://github.com/google/latexify_py/issues)\nor contact the [main maintainer](https://github.com/odashi).\n\n## License\n\nThis software adopts the\n[Apache License 2.0](https://github.com/google/latexify_py/blob/develop/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle%2Flatexify_py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoogle%2Flatexify_py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle%2Flatexify_py/lists"}