Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Python library for processing TeX's Device Independent output

Project Description

DVIpy is a library for reading TeX’s DeVice Independent (DVI) files. It is also a library for running TeX as a “daemon” process, whereby it is given input and responds with a list of glyphs and their positions. Virtual fonts are treated transparently: that is, DVIpy just responds with the glyphs from the font files.

This module should currently be useful for anyone wishing to do some form of semi-interactive TeX work. It was written as part of a currently unreleased and unnamed graphics package, the backend to a publication-oriented plotting package.

Installation should be as usual:

$ python install

Python 3 is not currently supported, due to changes in file locking which I have as yet been unable to fix.

TeX ‘styles’ can be placed in ~/.local/share/dvipy/templates/${name}.tex

A style is a tex file – see the example in the src/dvipy/templates directory

See examples/ for the singular example. Due to the ‘backend’ nature of DVIpy, there is quite a lot of wrangling with cairo to actually make it use freetype.

DVIpy is released under the GPLv2, and comes with ABSOLUTELY NO WARRANTY. You should have received a copy of the license (usually in the file LICENSE) with this software.

Release History

Release History

This version
History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
dvipy-0.0.3.tar.gz (13.6 kB) Copy SHA256 Checksum SHA256 Source Nov 16, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting