The python-tex project is obsolete! Please have a look at Texcaller.
Python-tex is a convenient interface to the TeX command line tools that handles all kinds of errors without much fuzz.
Temporary files are always cleaned up. The TeX interpreter is automatically re-run as often as necessary, and an exception is thrown in case the output fails to stabilize soon enough. The TeX interpreter is always run in batch mode, so it won’t ever get in your way by stopping your application when there are issues with your TeX source. Instead, an exception is thrown that contains all information of the TeX log.
This enables you to debug TeX related issues directly within your application or within an interactive Python interpreter session.
Example:
>>> from tex import latex2pdf
>>> document = ur"""
... \documentclass{article}
... \begin{document}
... Hello, World!
... \end{document}
... """
>>> pdf = latex2pdf(document)
>>> type(pdf) <type 'str'> >>> print "PDF size: %.1f KB" % (len(pdf) / 1024.0) PDF size: 5.6 KB >>> pdf[:5] '%PDF-' >>> pdf[-6:] '%%EOF\n'
Metadata
Release files for tex 1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tex-1.8.tar.gz | 4.2 kB | Without provenance | Details for tex-1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tex-1.8-py2.7.egg | Legacy Egg format | - | - | Details for tex-1.8-py2.7.egg |
Total release size: 13.3 kB
Release files / tex-1.8.tar.gz
| Download URL | tex-1.8.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b6950860c733b37b7c3631228abd3a70d8f75a96c3a2f17eac61158185dd224d
|
|
BLAKE2b-256 checksum How to use checksums |
97647f5d45a782be53b88e5d0963b1ef9a9fc3c6ff409fbbd2006418c5b285ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / tex-1.8-py2.7.egg
| Download URL | tex-1.8-py2.7.egg |
|---|---|
| Size | 9.1 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
3331ba333dde628c126fa174fb91883bd52e37569506b9122d8d3a865e253948
|
|
BLAKE2b-256 checksum How to use checksums |
bf39f845edf3cd3955575bbdf3b4dc9afa6bd28121d3b0c8fd4272c0d06d4a38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for tex 1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.