semvec/pypi-packages huggingface dataset:
tc-pdf 1.0.0
PDF Preview
License: MIT

Thumbor / PDF Preview
=====================

This extension provides preview for PDF.

Features
--------

Given a PDF URL return preview image of first page

Installation
------------

- Prerequisite: Following system libraries are required:

        - `ImageMagick <https://www.imagemagick.org/script/index.php>`_
        - `Ghostscript <https://www.ghostscript.com/>`_

- Install using ``pip``

    .. code-block:: bash

        $ pip install tc_pdf

- Register the extension within Thumbor's configuration file

    .. code-block:: bash

        COMMUNITY_EXTENSIONS = [
            'tc_pdf',
            ...
        ]

- Launch thumbor with the Thumbor Community custom application:

    .. code-block:: bash

        $ thumbor -a tc_core.app.App

Usage
-----

``tc_pdf`` handler route requires ``/pdf/`` in URL after all filters but before the resource URL part e.g.

    .. code-block::

        http://<thumbor_server>/unsafe/240x240/smart/pdf/localhost:8000/media/document/test.pdf

If you are using `libthumbor <https://github.com/thumbor/libthumbor>`_ to generate URLs then you can use this `patch <https://gist.github.com/intellisense/46538f858de8bf9bceee6a7fe0b0f245>`_ for ``CryptoURL`` class and then use it like this:

    .. code-block::
    
        from crypto import CryptoURL
        
        crypto = CryptoURL(key='my-security-key')

        encrypted_url = crypto.generate(
            width=300,
            height=200,
            smart=True,
            image_url='/path/to/my/pdf_file.pdf',
            pdf=True, # <-- Pass this
        )
ChemDataExtractor-c 1.0.0
A toolkit for extracting chemical information from the scientific literature.
License: MIT
Keywords: text-mining mining chemistry cheminformatics nlp html xml science scientific

ChemDataExtractor
=================

.. image:: http://img.shields.io/pypi/v/ChemDataExtractor.svg?style=flat-square
    :target: https://pypi.python.org/pypi/ChemDataExtractor

.. image:: http://img.shields.io/pypi/l/ChemDataExtractor.svg?style=flat-square
    :target: https://github.com/mcs07/ChemDataExtractor/blob/master/LICENSE

.. image:: http://img.shields.io/travis/mcs07/ChemDataExtractor.svg?style=flat-square
    :target: https://travis-ci.org/mcs07/ChemDataExtractor

ChemDataExtractor is a toolkit for extracting chemical information from the scientific literature.


Features
--------

- HTML, XML and PDF document readers
- Chemistry-aware natural language processing pipeline
- Chemical named entity recognition
- Rule-based parsing grammars for property and spectra extraction
- Table parser for extracting tabulated data
- Document processing to resolve data interdependencies


Installation
------------

To install ChemDataExtractor, simply run::

    pip install chemdataextractor

Or if you are an Anaconda user, run::

    conda install -c chemdataextractor chemdataextractor

Alternatively, try one of the other `installation options`_.


Documentation
-------------

Full documentation is available at http://chemdataextractor.org/docs


License
-------

ChemDataExtractor is licensed under the `MIT license`_, a permissive, business-friendly license for open source
software.


.. _`installation options`: http://chemdataextractor.org/docs/install
.. _`MIT license`: https://github.com/mcs07/ChemDataExtractor/blob/master/LICENSE