PyOpenWorm.data_trans.bibtex module

class PyOpenWorm.data_trans.bibtex.BibTexDataSource(bibtex_file_name, **kwargs)[source]

Bases: PyOpenWorm.data_trans.local_file_ds.LocalFileDataSource

File name : DatatypeProperty
Attribute: file_name
Torrent file name : DatatypeProperty
Attribute: torrent_file_name
MD5 hash : DatatypeProperty
Attribute: md5
SHA-256 hash : DatatypeProperty
Attribute: sha256
SHA-512 hash : DatatypeProperty
Attribute: sha512
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 : DatatypeProperty

Attribute: description

Free-text describing the data source

class PyOpenWorm.data_trans.bibtex.BibTexDataTranslator(**kwargs)[source]

Bases: PyOpenWorm.datasource.DataTranslator

Input type(s): PyOpenWorm.data_trans.bibtex.BibTexDataSource

Output type(s): PyOpenWorm.data_trans.bibtex.EvidenceDataSource

URI: None

input_type

alias of BibTexDataSource

output_type

alias of EvidenceDataSource

translate(data_source)[source]

Notionally, this method takes a data source, which is translated into some other data source. There doesn’t necessarily need to be an input data source.

class PyOpenWorm.data_trans.bibtex.EvidenceDataSource(*args, **kwargs)[source]

Bases: PyOpenWorm.datasource.DataSource

Context : ObjectProperty

Attribute: evidence_context

The context

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 : DatatypeProperty

Attribute: description

Free-text describing the data source