Beelzebub-md-iso is a subpackage of beelzebub. Given a metadata record in mdJSON format, it will translate it to ISO19115-2 format.
from beelzebub.md_iso import MdjsonToISO19115_2
conf = {
'reader': {'iotype': 'file'},
'writer': {'iotype': 'file'}
}
in_file = '/path/to/mdjson/metadata.json'
out_file = '/path/to/iso19115-2/metadata.xml'
x = MdjsonToISO19115_2(conf=conf)
x.run(in_file, out_file)
NOAA have useful metadata resources, including this ISO Workbook and this collection level metadata template.