Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Invenio Grobid

https://img.shields.io/travis/inspirehep/invenio-grobid.svg https://img.shields.io/coveralls/inspirehep/invenio-grobid.svg https://img.shields.io/github/tag/inspirehep/invenio-grobid.svg https://img.shields.io/pypi/dm/invenio-grobid.svg https://img.shields.io/github/license/inspirehep/invenio-grobid.svg

Invenio module to interact with Grobid API for metadata extraction from PDF.

This is an experimental developer preview release.

Features

This module provide an interface for uploading PDFs to a Grobid instance and allows to submit extracted metadata to a configurable callback.

NOTE: This packages assumes you have setup a local Grobid REST service. For more information about this and more, read the official Grobid documentation.

Installation

pip install invenio-grobid

Note that you also need a running Grobid REST service.

Configuration

Add invenio_grobid package to your Invenio PACKAGES config in your overlay/config.py to be picked up by the Invenio application loader.

Configure the URL to your Grobid REST service with GROBID_HOST.

inveniomanage config set GROBID_HOST 'http://localhost:8080'

If you want to change your standard upload handler after extraction, update GROBID_RESULT_HANDLER.

inveniomanage config set GROBID_RESULT_HANDLER 'my_overlay.grobid:upload_handler'

Usage

The uploader interface is available under the /grobid endpoint by default. E.g. http://localhost:4000/grobid

  • Choose a PDF to extract metadata from and hit Upload.

  • Wait a bit and metadata will be displayed.

  • Click on Submit button to push the metadata to your GROBID_RESULT_HANDLER

Special thanks to Joseph Boyd (@jcboyd) and Gilles Louppe (@glouppe) for Grobid support.

Happy hacking and thanks for flying Invenio Grobid.

Changes

Version 0.1.0 (released 2015-10-09)

  • Initial public release.

Metadata

Release files for invenio-grobid 0.1.1.dev20151019

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for invenio-grobid 0.1.1.dev20151019
File Size Uploaded Provenance Actions
invenio-grobid-0.1.1.dev20151019.tar.gz 239.2 kB Without provenance Details for invenio-grobid-0.1.1.dev20151019.tar.gz

Release files / invenio-grobid-0.1.1.dev20151019.tar.gz

Download URL invenio-grobid-0.1.1.dev20151019.tar.gz
Size 239.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a4a6aa83033fbcdba6e3d4a31b7583f705e68fc7b7bcce823b349228f108941e
BLAKE2b-256 checksum
How to use checksums
85cb070017fe01a1a92984af8481a9bc460fd8fc6562d9de23b8aac9629970cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for invenio-grobid 0.1.1.dev20151019

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page