PyOpenWorm.bibtex module¶
-
class
PyOpenWorm.bibtex.BibTexDataSource(bibtex_file_name, **kwargs)[source]¶ Bases:
PyOpenWorm.datasource.DataSource- Description :
DatatypeProperty Attribute: description
Free-text describing the data source
- Input source :
ObjectProperty Attribute: source
The data source that was translated into this one
- Translation :
ObjectProperty Attribute: translation
Information about the translation process that created this object
- Description :
-
class
PyOpenWorm.bibtex.BibTexDataTranslator[source]¶ Bases:
PyOpenWorm.datasource.DataTranslatorInput type(s):
PyOpenWorm.datasource.DataSourceOutput type(s):
PyOpenWorm.datasource.DataSourceURI: None
-
data_source_type¶ alias of
BibTexDataSource
-
Split author field by ‘and’ into a list of names.
Parameters: record (dict) – the record. Returns: dict – the modified record.
-
PyOpenWorm.bibtex.bibtex_to_document(bibtex_entry, context=None)[source]¶ Takes a single BibTeX entry and translates it into a Document object