django-signature
Application to parse & make PDFs with Django
http://bitbucket.org/bearstech/django-latex/
Beta : not really for production use
Features :
LaTeX :
Parse LaTeX Document
Render LaTeX Document Objects
Generate Base PDF Files
Combine simple LaTeX Documents
Good test coverage
Todo :
… much more
Examples :
Usage examples:
from latex import LatexDocument
ltxdoc = LatexDocument(latexstr)
print ltxdoc.packages
print ltxdoc.preamble
ltxdoc2 = LatexDocument(latexstr2)
ltxdoc3 = ltxdoc + ltxdoc2
ltxdoc3.as_latex()
# If some files have to be inclued
ltxdoc3.add_file("/home/cyberj/lolcat_1182.png", "lolcat.png")
f = open("/home/cyberj/motivational_4242.png", "rb")
ltxdoc3.add_file(f, "motivational.png")
pdf = ltxdoc3.as_pdf()
If pdflatex fails, it raises LatexDocument.LatexPdfGenerationError and clean tempdir. To preserve temporary directory give debug=True to as_pdf method.
Tests :
cd tests
python bootstrap
./bin/buildout.py -v
./bin/test-1.2 or ./bin/test-1.1
Requirements :
Django >= 1.1
pdflatex (and LaTeX distro)
Debian packages
dblatex Produces DVI, PostScript, PDF documents from DocBook sources
latex-xcolor Easy driver-independent TeX class for color
preview-latex-style extraction of elements from LaTeX documents as graphics
texlive-latex-base TeX Live: Basic LaTeX packages
texlive-latex-base-doc TeX Live: Documentation files for texlive-latex-base
texlive-latex-extra TeX Live: LaTeX supplementary packages
texlive-latex-extra-doc TeX Live: Documentation files for texlive-latex-extra
texlive-latex-recommended TeX Live: LaTeX recommended packages
texlive-latex-recommended-doc TeX Live: Documentation files for texlive-latex-recommended
Metadata
Release files for django-latex 0.1
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 |
|---|---|---|---|---|
| django-latex-0.1.tar.gz | 27.4 kB | Without provenance | Details for django-latex-0.1.tar.gz |
Release files / django-latex-0.1.tar.gz
| Download URL | django-latex-0.1.tar.gz |
|---|---|
| Size | 27.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c79cc3ca9b71d90572cf34d1bc33e34f10e2a9d49a7588e35dc32c051cd167bc
|
|
BLAKE2b-256 checksum How to use checksums |
20867479f4bcc0bd80ac8509beb5cb773cd2eaa7b48021a83041c812d841f780
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-latex 0.1
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.