Small library for extracting plots used in scholarly communication.
Project description
Small library for converting and mapping plots in TeX source used in scholarly communication.
Free software: GPLv2
Documentation: http://pythonhosted.org/plotextractor/
Originally exported from Invenio https://github.com/inveniosoftware/invenio.
Installation
pip install plotextractor
Usage
from plotextractor import process_tarball
plots = process_tarball("/path/to/tarball.tar.gz")
print(plots[0])
{
'url': '/path/to/tarball.tar.gz_files/d15-120f3d.png',
'captions': ['The $\\rho^0$ meson properties: (a) Mass ...']
'name': 'd15-120f3d',
'label': 'fig:mass'
}
Changes
Version 0.1.2 (2015-12-08)
Adds wrapfigure support.
Catches problems with image conversions.
More robust handling of image rotations in TeX sources.
Removes unicode_literals usage.
Version 0.1.1 (2015-12-04)
Improves extraction from TeX file by reading files with encoding.
Version 0.1.0 (2015-10-19)
Initial export from Invenio Software <https://github.com/inveniosoftware/invenio>
Restructured into stripped down, standalone version
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
File details
Details for the file plotextractor-0.1.2.tar.gz
.
File metadata
- Download URL: plotextractor-0.1.2.tar.gz
- Upload date:
- Size: 2.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca40315d2d3bf0c82f424228d80dd524a6eeca04391e75935e8d40f6ebc47ea9 |
|
MD5 | 5845b2b0e6de3ac4b89f94b1599e1883 |
|
BLAKE2b-256 | dfa50de647d2716571cdf06fd5c7b4a7c2fddcdb15a3a7c344c0fd52faca79c3 |