Back to Langflow

lfx-arxiv

src/bundles/arxiv/README.md

1.10.0.dev411.2 KB
Original Source

lfx-arxiv

arXiv search component as a standalone Langflow Extension Bundle.

This is the second-pilot port that validates src/bundles/PORTING.md — the documented recipe for extracting an in-tree provider into a standalone Bundle distribution. The bundle ships a single component, ArXivComponent, which queries arXiv's public Atom API for paper metadata.

Install

bash
pip install lfx-arxiv

The bundle is registered automatically via the langflow.extensions entry-point. After install, restart your Langflow server; the ArXivComponent will appear in the palette under the arxiv bundle group.

Develop

bash
cd src/bundles/arxiv
pip install -e .
lfx extension validate .

Manifest

The extension manifest is shipped at src/lfx_arxiv/extension.json and points at the bundle at components/arxiv. Components register under the canonical namespaced ID ext:arxiv:ArXivComponent@official.

Migration

Saved flows referencing the legacy class name ArXivComponent or the old import paths lfx.components.arxiv.arxiv.ArXivComponent / lfx.components.arxiv.ArXivComponent are rewritten to the new namespaced ID by the migration table in src/lfx/src/lfx/extension/migration/migration_table.json.