Skip to main content
Pre-release

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

EXSCLAIM2.0: LLM-powered Automatic EXtraction, Separation, and Caption-based natural Language Annotation of IMages from scientific figures

License Release DOI
Production Website Production API Development Website Development API

🤔 Consider Collaboration

If you find this tool or any of its derived capabilities useful, please consider registering as a user of Center for Nanoscale Materials. We will keep you posted of latest developments, as well as opportunities for computational resources, relevant data, and collaboration. Please contact Maria Chan (mchan@anl.gov) for details.

Introduction to EXSCLAIM2.0

EXSCLAIM2.0 is a Python package combining EXSCLAIM! code with Large Language models (LLMs) that can be used for the automatic generation of datasets of labeled images from published papers. There are four main steps:

  1. JournalScraper: scrape journal websites, acquiring figures, captions, and metadata
  2. CaptionDistributor: separate figure captions into the component chunks that refer to the figure's subfigures using LLMs and prompt engineering
  3. FigureSeparator: separate figures into subfigures, detect scale information, label, and type of image
  4. PDFScraper: scrape journal articles in PDF form, acquiring figures, captions and metadata.

Installation

The guides to install EXSCLAIM through Pip, Git and Docker can be found within the wiki. The guides include installing pre-compiled versions as well as building from the source code and then installing.

Using Exsclaim 2.0

from exsclaim import Pipeline
search_query = {
		...
}
results = Pipeline(search_query)

where search_query is either a dictionary representing a valid JSON object, or a Pathlike string pointing towards a valid JSON file, or

python -m exsclaim query {path to json file holding search query}

More extensive guides can be found within the wiki.

Using Docker Compose

To use Docker Compose to host the service, run the following commands in the base directory:

docker compose up --build python

Upgrading the Database

Starting with version 2.5.3, EXSCLAIM will be using Alembic to easily upgrade the schema of the database. If you have a version of the database existing before this change, you can run

alembic stamp 751d7ac35cd2

to have alembic recognize that the database already has a history, then run

alembic upgrade head

to update the database. With future versions, you can then run

alembic upgrade head

to update to the proper schema.

Acknowledgements

This material is based upon work supported by Laboratory Directed Research and Development (LDRD) funding from Argonne National Laboratory, provided by the Director, Office of Science, of the U.S. Department of Energy under Contract No. DE-AC02-06CH11357

This work was performed at the Center for Nanoscale Materials, a U.S. Department of Energy Office of Science User Facility, and supported by the U.S. Department of Energy, Office of Science, under Contract No. DE-AC02-06CH11357.

We gratefully acknowledge the computing resources provided on Bebop, a high-performance computing cluster operated by the Laboratory Computing Resource Center at Argonne National Laboratory.

Citation

If you find EXSCLAIM! useful, please encourage its development by citing the following paper in your research:

Schwenker, E., Jiang, W. Spreadbury, T., Ferrier N., Cossairt, O., Chan M.K.Y., EXSCLAIM! - An automated pipeline for the construction and
labeling of materials imaging datasets from scientific literature. arXiv e-prints (2021): arXiv-2103

Bibtex

@article{schwenker2021exsclaim,
  title={EXSCLAIM! - An automated pipeline for the construction of labeled materials imaging datasets from literature},
  author={Schwenker, Eric and Jiang, Weixin and Spreadbury, Trevor and Ferrier, Nicola and Cossairt, Oliver and Chan, Maria KY},
  journal={arXiv e-prints},
  pages={arXiv--2103},
  year={2021}
}

Metadata

Release files for exsclaim 2.5.3b8

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

Source distribution (sdist)

Source distribution for exsclaim 2.5.3b8
File Size Uploaded Provenance Actions
exsclaim-2.5.3b8.tar.gz 1.3 MB With provenance Details for exsclaim-2.5.3b8.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for exsclaim 2.5.3b8
File Interpreter ABI Platform Actions
exsclaim-2.5.3b8-py3-none-any.whl Python 3 none any Details for exsclaim-2.5.3b8-py3-none-any.whl
exsclaim-2.5.3b8-cp315-none-any.whl CPython 3.15 none any Details for exsclaim-2.5.3b8-cp315-none-any.whl
exsclaim-2.5.3b8-cp314-none-any.whl CPython 3.14 none any Details for exsclaim-2.5.3b8-cp314-none-any.whl

Total release size: 5.3 MB

Release files / exsclaim-2.5.3b8.tar.gz

Download URL exsclaim-2.5.3b8.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
135faec0e17b6574dcef26ee097fdd8dc2a1aad096d96f350fb7c4f1433852a3
BLAKE2b-256 checksum
How to use checksums
ddbde9db23c8c6918e04f8d6c8859c9697deec2150ef681486ca84be1e875d93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Release files / exsclaim-2.5.3b8-py3-none-any.whl

Download URL exsclaim-2.5.3b8-py3-none-any.whl
Size 1.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
b46d92d8a9ca03f76ae95e96d79bb1012bd5b1a5499ebeb4c6a748515c20522e
BLAKE2b-256 checksum
How to use checksums
78f83f8679ea40b9a546cea6bf8a231053b8f18edbd0795c73a5fdd3d6625668
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Release files / exsclaim-2.5.3b8-cp315-none-any.whl

Download URL exsclaim-2.5.3b8-cp315-none-any.whl
Size 1.3 MB
Tags CPython 3.15
SHA-256 checksum
How to use checksums
b6fb98fc47295ad7e8430988e9d41eef907ec28595a4a1e63fc8c37ea53a933e
BLAKE2b-256 checksum
How to use checksums
55fc2d4cdbab600cc4f5b215545b60fdd6024f63735cbf112676aec79c4a8c00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Release files / exsclaim-2.5.3b8-cp314-none-any.whl

Download URL exsclaim-2.5.3b8-cp314-none-any.whl
Size 1.3 MB
Tags CPython 3.14
SHA-256 checksum
How to use checksums
8eefbfa8028f428980fa200a673ea44df873c2b27ec69a1c1ba49d0981169d54
BLAKE2b-256 checksum
How to use checksums
d275099b0832cc15e308504858a94b529d7341b093c50f018c3528f66d073e9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Security for exsclaim 2.5.3b8

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.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for exsclaim-2.5.3b8.tar.gz

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 Nov 18, 2026.

Transparency log

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