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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file paperminertoolkit-1.0.0.tar.gz.
File metadata
- Download URL: paperminertoolkit-1.0.0.tar.gz
- Upload date:
- Size: 379.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b515ce4cfa3fff92fc12a4f3df276166835767e9321513d1e52e71f2b12a4cc0
|
|
| MD5 |
370410a2c0f127afca46d91e4b4d2850
|
|
| BLAKE2b-256 |
ad438d531748b2b8c36b99c3282c8177089c677614b04dc2076ef7b2dbf98c9f
|
Provenance
The following attestation bundles were made for paperminertoolkit-1.0.0.tar.gz:
Publisher:
publish.yml on SMTG-Bham/PaperMinerToolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
paperminertoolkit-1.0.0.tar.gz -
Subject digest:
b515ce4cfa3fff92fc12a4f3df276166835767e9321513d1e52e71f2b12a4cc0 - Sigstore transparency entry: 2601734285
- Sigstore integration time:
-
Permalink:
SMTG-Bham/PaperMinerToolkit@400dbbe3d6b5b3c68ec9319396cdc04e5c1f2d49 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/SMTG-Bham
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@400dbbe3d6b5b3c68ec9319396cdc04e5c1f2d49 -
Trigger Event:
release
-
Statement type:
File details
Details for the file paperminertoolkit-1.0.0-py3-none-any.whl.
File metadata
- Download URL: paperminertoolkit-1.0.0-py3-none-any.whl
- Upload date:
- Size: 235.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c9c4adf4ef53ec06b47f114d01c2a61ef7e634d523c9b7270ba0a9f63760777
|
|
| MD5 |
0c40306d26e5dde10391eec76d3dd869
|
|
| BLAKE2b-256 |
e3abc266d45a5595180f2096991589386aac0de9a8dd96c2ecdb6a57bf39db51
|
Provenance
The following attestation bundles were made for paperminertoolkit-1.0.0-py3-none-any.whl:
Publisher:
publish.yml on SMTG-Bham/PaperMinerToolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
paperminertoolkit-1.0.0-py3-none-any.whl -
Subject digest:
1c9c4adf4ef53ec06b47f114d01c2a61ef7e634d523c9b7270ba0a9f63760777 - Sigstore transparency entry: 2601734421
- Sigstore integration time:
-
Permalink:
SMTG-Bham/PaperMinerToolkit@400dbbe3d6b5b3c68ec9319396cdc04e5c1f2d49 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/SMTG-Bham
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@400dbbe3d6b5b3c68ec9319396cdc04e5c1f2d49 -
Trigger Event:
release
-
Statement type: