ads.utils¶
General utilities.
Functions
|
Create a flat list of all items in the structure. |
|
Parse a bibcode and return a dictionary with the parsed data. |
Set up the local database for Journals and Affiliations. |
|
|
Return a bibcode for each item in the iterable. |
- ads.utils.parse_bibcode(bibcode: str) dict [source]¶
Parse a bibcode and return a dictionary with the parsed data.
- ads.utils.flatten(struct: collections.abc.Iterable) list [source]¶
Create a flat list of all items in the structure.
- ads.utils.to_bibcode(iterable)[source]¶
Return a bibcode for each item in the iterable.
The iterable could contain
ads.Document
objects, bibcode strings, etc.