PaperMinerToolkit
PaperMinerToolkit builds scientific-paper corpora and extracts structured, recipe-defined data with configurable text and vision models. It searches Elsevier/Scopus, CORE, OpenAlex, PubMed, arXiv, medRxiv, bioRxiv, and chemRxiv; supplements paper metadata from Crossref, OpenAlex, PubMed, arXiv, medRxiv, bioRxiv, and chemRxiv, and imports an author's works from Crossref; downloads abstracts, full text, and PDFs; supports persistent regex and LDA topic filters; and stores source content and pipeline state in SQLite.
The complete user guide, CLI reference, Python API, HPC instructions, and rendered notebooks live in the documentation source. The repository is ready for Read the Docs; a hosted link will be added after the project is imported.
Installation
PaperMinerToolkit requires Python 3.11 or newer:
git clone https://github.com/SMTG-Bham/PaperMinerToolkit.git
cd PaperMinerToolkit
python -m pip install -e .
Quickstart
Configure a text model and any search/download credentials you need, then run a small workflow:
pmt config model text --provider openai --model YOUR_TEXT_MODEL
pmt search "lithium solid electrolyte" papers.db \
--source openalex --count 25
pmt enrich papers.db
pmt download papers.db --format abstract
pmt scrape papers.db sse \
--mode abstract \
--output temp_scraped_materials.csv
pmt store papers.db \
temp_scraped_materials.csv \
materials.csv \
sse \
--assume-yes
Use pmt corpus stats papers.db to inspect stored content and pmt status papers.db to inspect pipeline progress.
Documentation
Install and build the Sphinx site locally:
python -m pip install -e '.[docs]'
make -C docs html
Open docs/_build/html/index.html. Notebook templates for OpenAI, Anthropic, local Qwen/vLLM, LDA model selection, temporal trends, and hybrid filtering are under docs/examples/.
Testing
python -m pip install -e '.[test]'
ruff check paperminertoolkit tests
pytest
PaperMinerToolkit is currently alpha software. Keep the corpus database, recipe, model configuration, intermediate extraction CSV, and final results together so a workflow can be reviewed and reproduced.
Metadata
Release files for paperminertoolkit 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| paperminertoolkit-1.0.0.tar.gz | 379.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| paperminertoolkit-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 614.8 kB
Release files / paperminertoolkit-1.0.0.tar.gz
| Download URL | paperminertoolkit-1.0.0.tar.gz |
|---|---|
| Size | 379.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b515ce4cfa3fff92fc12a4f3df276166835767e9321513d1e52e71f2b12a4cc0
|
|
BLAKE2b-256 checksum How to use checksums |
ad438d531748b2b8c36b99c3282c8177089c677614b04dc2076ef7b2dbf98c9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.
Transparency logRelease files / paperminertoolkit-1.0.0-py3-none-any.whl
| Download URL | paperminertoolkit-1.0.0-py3-none-any.whl |
|---|---|
| Size | 235.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c9c4adf4ef53ec06b47f114d01c2a61ef7e634d523c9b7270ba0a9f63760777
|
|
BLAKE2b-256 checksum How to use checksums |
e3abc266d45a5595180f2096991589386aac0de9a8dd96c2ecdb6a57bf39db51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.
Transparency log