Skip to main content

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.

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.1 (2015-12-04)

  • Improves extraction from TeX file by reading files with encoding.

Version 0.1.0 (2015-10-19)

Project details


Download files

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

Source Distribution

plotextractor-0.1.1.tar.gz (197.6 kB view details)

Uploaded Source

File details

Details for the file plotextractor-0.1.1.tar.gz.

File metadata

File hashes

Hashes for plotextractor-0.1.1.tar.gz
Algorithm Hash digest
SHA256 237b7dd6c2e1f6d65aaad2b3394e51604987ce83a4ec4b705387ea9fbd065e29
MD5 c7dcf82b2671c9df6efd9db4bf493a71
BLAKE2b-256 d19a431854580b4737fc7707e93851b4e67770ca30b49e7165a01579e0726c21

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page