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.7 to 3.11 are officially supported, or will be supported.
-
Which technique is used?
latexify
is implemented as a rule-based system on the officialast
package. -
Are "AI" techniques adopted?
latexify
is 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
File details
Details for the file latexify_py-0.4.3.post1.tar.gz
.
File metadata
- Download URL: latexify_py-0.4.3.post1.tar.gz
- Upload date:
- Size: 29.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17ba32c748c61392de9f78ad50059a91b4d64832a44b7df68c167a3f68b7421b |
|
MD5 | 04f725d8d8e543715d94c8ff9e00338c |
|
BLAKE2b-256 | d89dbb7416b97c7fcf882e6a2c599ab707686b97748a7f9b833ad1a8e47c06d5 |
File details
Details for the file latexify_py-0.4.3.post1-py3-none-any.whl
.
File metadata
- Download URL: latexify_py-0.4.3.post1-py3-none-any.whl
- Upload date:
- Size: 38.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36b493358a90d80b6abb89eb7560eeff89ca5ea29db2187f7327851cfc96192a |
|
MD5 | ed7f9e5e2c7d5d8e3beca17c136dcab3 |
|
BLAKE2b-256 | 4347cae4336cf30cd3ba3a678352139a7bceffe04a4be0ee5e411425ca51304f |