eric.bulk_import ================ .. py:module:: eric.bulk_import Attributes ---------- .. autoapisummary:: eric.bulk_import.plugin eric.bulk_import.URL Functions --------- .. autoapisummary:: eric.bulk_import.bulk_translate eric.bulk_import.bulk_translate_to_json eric.bulk_import.bulk_import Module Contents --------------- .. py:data:: plugin .. py:data:: URL :value: 'https://api.ies.ed.gov/eric?search=python&rows=50' .. py:function:: bulk_translate(docs: list[dict]) -> collections.abc.Iterator[server.plugins.ome_plugin.EducationResource] .. py:function:: bulk_translate_to_json(docs: list[dict]) -> str Translate a iterable of EducationResource into a JSON list string. .. py:function:: bulk_import(url: str = URL) -> str Created OME metadata records as NNTP articles from the given URL. Each article body should contain a title, URL, and date visited. Each article should have two enclosures: - The original json downloaded. - OME metadata as translated by this OME plugin