adsfolio.bibtex.io
File I/O utilities for bibcode and BibTeX files.
- adsfolio.bibtex.io.read_bibcodes_file(file_path, sort=False)[source]
Read bibcodes from a text file.
Handles: - Comments (# or %) - Comma-separated bibcodes - Whitespace and empty lines
- Parameters:
- Returns:
List of bibcodes.
- Return type:
Examples
File format:
` 2020ApJ...900..100S # A comment 2021MNRAS.501..123A, 2021AJ....161..147B `