Generate pdf from latex in django
Project description
Description
This project provides a python module named djatex which allows a django app to generate a PDF document from a LaTeX template file.
Example
A small django project is included, with an example django app that generates a one-page PDF document in the LaTeX article style.
To set up the example server, run the following commands:
$ python3 -m venv pythonenv $ source pythonenv/bin/activate $ pip install django $ python setup.py install $ cd example $ python manage.py migrate $ python manage.py runserver
You should now have an http server running on localhost port 8000. Connect to localhost:8000 with your web browser to generate a PDF.
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
djatex-0.1.16.tar.gz
(16.4 kB
view details)
Built Distribution
djatex-0.1.16-py3-none-any.whl
(13.4 kB
view details)
File details
Details for the file djatex-0.1.16.tar.gz
.
File metadata
- Download URL: djatex-0.1.16.tar.gz
- Upload date:
- Size: 16.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f2bd28704cc60515dbcd18832c8d95341317b1cf44c9a628c2c422e633434da |
|
MD5 | 5e12b98004bb06dc6902ddc69e7e6634 |
|
BLAKE2b-256 | 4563c589b2cc5fe318816075020e5985d9a0493a6a3c39dd843d988857c4561e |
File details
Details for the file djatex-0.1.16-py3-none-any.whl
.
File metadata
- Download URL: djatex-0.1.16-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 486a25a7d0a56fbbc0e10ad57c127276ab56b2d9b3483a34263f4aea09008a0a |
|
MD5 | d27892cc497335d720ef735b4c134ae7 |
|
BLAKE2b-256 | 43b31687574a247048d6f7a340a2f92a2abde09ba71d622b6b24b054e8680c66 |