ml_research_tools.tex.bibtex_enrich.make_search_request(query)[source]#
ml_research_tools.tex.bibtex_enrich.get_bib_for_url(url)[source]#
class ml_research_tools.tex.bibtex_enrich.BibtexEnrichTool(services)[source]#

Bases: BaseTool

Initialize the LaTeX grammar tool.

name: str = 'bibtex-enrich'#
description: str = 'Enrich bibtex file entries with publication information'#
__init__(services)[source]#

Initialize the LaTeX grammar tool.

Return type:

None

classmethod add_arguments(parser)[source]#

Add tool-specific arguments to the parser.

Return type:

None

Parameters:

parser (ArgumentParser)

execute(config, args)[source]#

Execute the tool with the provided arguments.

Parameters:
  • config (Config) – Configuration object

  • args (Namespace) – Parsed command-line arguments

Return type:

int

Returns:

Exit code (0 for success, non-zero for error)

class ml_research_tools.tex.bibtex_enrich.BibtexFindTool(services)[source]#

Bases: BaseTool

Initialize the LaTeX grammar tool.

name: str = 'bibtex-find'#
description: str = 'Find bibtex by title'#
__init__(services)[source]#

Initialize the LaTeX grammar tool.

Return type:

None

classmethod add_arguments(parser)[source]#

Add tool-specific arguments to the parser.

Return type:

None

Parameters:

parser (ArgumentParser)

execute(config, args)[source]#

Execute the tool with the provided arguments.

Parameters:
  • config (Config) – Configuration object

  • args (Namespace) – Parsed command-line arguments

Return type:

int

Returns:

Exit code (0 for success, non-zero for error)