@classmethod<EOL><INDENT>def from_source(cls, source):<DEDENT>
bibrecs = BibRecordPackage(source)<EOL>bibrecs.parse()<EOL>for bibrec in bibrecs.get_records():<EOL><INDENT>yield cls(bibrec)<EOL><DEDENT>
Yield single conversion objects from a MARCXML file or string.

        >>> from harvestingkit.inspire_cds_package import Inspire2CDS
        >>> for record in Inspire2CDS.from_source("inspire.xml"):
        >>>     xml = record.convert()