Generates LaTeX math description from Python functions.
Project description
latexify
latexify is a Python package to compile a fragment of Python source code to a
corresponding $\LaTeX$ expression:
latexify provides the following functionalities:
- Libraries to compile Python source code or AST to $\LaTeX$.
- IPython classes to pretty-print compiled functions.
FAQs
-
Which Python versions are supported?
Syntaxes on Pythons 3.9 to 3.13 are officially supported, or will be supported.
-
Which technique is used?
latexifyis implemented as a rule-based system on the officialastpackage. -
Are "AI" techniques adopted?
latexifyis based on traditional parsing techniques. If the "AI" meant some techniques around machine learning, the answer is no.
Getting started
See the example notebook, which provides several use-cases of this library.
You can also try the above notebook on Google Colaboratory.
See also the official documentation for more details.
How to Contribute
To contribute to this project, please refer CONTRIBUTING.md.
Disclaimer
This software is currently hosted on https://github.com/google, but not officially supported by Google.
If you have any issues and/or questions about this software, please visit the issue tracker or contact the main maintainer.
License
This software adopts the Apache License 2.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file latexify_py-0.4.4.tar.gz.
File metadata
- Download URL: latexify_py-0.4.4.tar.gz
- Upload date:
- Size: 29.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f89274984811fb5b1436c98670814b21502cb34a0becadababcf3e1ec84e426e
|
|
| MD5 |
2242e0f0ef49e4fa51e5ecc178b1f0b5
|
|
| BLAKE2b-256 |
c16628097e41eb5bcaa6b17557517322cb2ce65c583d8208c91245df40fd8e8e
|
File details
Details for the file latexify_py-0.4.4-py3-none-any.whl.
File metadata
- Download URL: latexify_py-0.4.4-py3-none-any.whl
- Upload date:
- Size: 38.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5aa9c31a5ec7c6d94f67e24334f862f0c576d74a124c36d2712c12fe46f82900
|
|
| MD5 |
6d2322f09be12fe5e3317950973e7890
|
|
| BLAKE2b-256 |
c00ece3ed3554ba3d37143d5aae1b8733220a29e26306680a67ee53ed373cd17
|