Metadata-Version: 2.1
Name: plotextractor
Version: 1.0.1
Summary: Small library for extracting plots used in scholarly communication.
Home-page: https://github.com/inspirehep/plotextractor
Author: CERN
Author-email: admin@inspirehep.net
License: GPLv2
Description: ..
            This file is part of plotextractor.
            Copyright (C) 2015, 2016, 2018 CERN.
        
            plotextractor is free software; you can redistribute it
            and/or modify it under the terms of the GNU General Public License as
            published by the Free Software Foundation; either version 2 of the
            License, or (at your option) any later version.
        
            plotextractor is distributed in the hope that it will be
            useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
            MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
            General Public License for more details.
        
            You should have received a copy of the GNU General Public License
            along with plotextractor; if not, write to the
            Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
            MA 02111-1307, USA.
        
            In applying this license, CERN does not
            waive the privileges and immunities granted to it by virtue of its status
            as an Intergovernmental Organization or submit itself to any jurisdiction.
        
        
        ===============
         plotextractor
        ===============
        
        .. image:: https://travis-ci.org/inspirehep/plotextractor.svg?branch=master
            :target: https://travis-ci.org/inspirehep/plotextractor
        
        .. image:: https://coveralls.io/repos/github/inspirehep/plotextractor/badge.svg?branch=master
            :target: https://coveralls.io/github/inspirehep/plotextractor?branch=master
        
        
        About
        =====
        
        A small library for extracting plots used in scholarly communication.
        
        
        Install
        =======
        
        .. code-block:: console
        
            $ pip install plotextractor
        
        
        Usage
        =====
        
        To extract plots from a tarball:
        
        .. code-block:: python
        
            >>> from plotextractor import process_tarball
            >>> plots = process_tarball('./1503.07589.tar.gz')
            >>> print(plots[0])
            {
                'captions': [
                    u'Scans of twice the negative log-likelihood ratio $-2\\ln\\Lambda(\\mH)$ as functions of the Higgs boson mass \\mH\\ for the ATLAS and CMS combination of the \\hgg\\ (red), \\hZZllll\\ (blue), and combined (black) channels. The dashed curves show the results accounting for statistical uncertainties only, with all nuisance parameters associated with systematic uncertainties fixed to their best-fit values. The 1 and 2 standard deviation limits are indicated by the intersections of the horizontal lines at 1 and 4, respectively, with the log-likelihood scan curves.',
                ],
                'label': u'figure_LHC_combined_obs',
                'name': 'LHC_combined_obs_unblind_final',
                'original_url': './1503.07589.tar.gz_files/LHC_combined_obs_unblind_final.pdf',
                'url': './1503.07589.tar.gz_files/LHC_combined_obs_unblind_final.png',
            }
        
        
        Notes
        =====
        
        If you experience frequent ``DelegateError`` errors you may need to update your version
        of GhostScript.
        
        
        License
        =======
        
        GPLv2
        
        
        ..
            This file is part of plotextractor.
            Copyright (C) 2015, 2016, 2018 CERN.
        
            plotextractor is free software; you can redistribute it
            and/or modify it under the terms of the GNU General Public License as
            published by the Free Software Foundation; either version 2 of the
            License, or (at your option) any later version.
        
            plotextractor is distributed in the hope that it will be
            useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
            MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
            General Public License for more details.
        
            You should have received a copy of the GNU General Public License
            along with plotextractor; if not, write to the
            Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
            MA 02111-1307, USA.
        
            In applying this license, CERN does not
            waive the privileges and immunities granted to it by virtue of its status
            as an Intergovernmental Organization or submit itself to any jurisdiction.
        
        Changes
        =======
        
        Version 0.2.2 (2019-10-24)
        
        - Try to preserve the ordering of figures.
        
        Version 0.2.1 (2018-09-07)
        
        - Handle utf-8 in paths inside the tarball.
        
        Version 0.2.0 (2018-02-07)
        
        - Ignore hidden/metadata files in the tarball.
        - Handle relative paths in the tarball.
        
        Version 0.1.6 (2016-12-01)
        
        - Sets the mtime for all members of the tarball to current time before
          unpacking.
        
        Version 0.1.5 (2016-05-25)
        
        - Properly raises an exception when no TeX files are found in an archive.
        - More fixes to image path extraction and more robust image handling.
        
        Version 0.1.4 (2016-03-22)
        
        - Fixes linking images from TeX reference when images are referred
          to without specifying full relative folder path.
        
        Version 0.1.3 (2016-03-17)
        
        - Properly supports cases where images are located in
          a nested folder inside the extracted tarballs root folder.
        
        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
        
Keywords: plots figures extraction TeX LaTeX
Platform: any
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Provides-Extra: docs
Provides-Extra: tests
