wikipedia_images.plugin ======================= .. py:module:: wikipedia_images.plugin Classes ------- .. autoapisummary:: wikipedia_images.plugin.WikipediaImagesPlugin Module Contents --------------- .. py:class:: WikipediaImagesPlugin Bases: :py:obj:`server.plugins.ome_plugin.OMEPlugin` Plugin for images (and their metadata) on https://en.wikipedia.org. .. py:attribute:: mimetypes :type: tuple[str, ...] :value: ('application/vnd.wikipedia.images+json',) .. py:attribute:: newsgroups :type: dict[str, str] .. py:attribute:: site_name :type: str :value: 'Wikipedia Images' .. py:attribute:: librarian_contact :type: str :value: 'info@iskme.org' .. py:attribute:: logo :type: str :value: 'https://en.wikipedia.org/static/images/icons/wikipedia.png' .. py:method:: _make_metadata_card(item: server.plugins.wikipedia_images.wikipedia_images_models.WikipediaImagesItem) -> server.plugins.ome_plugin.EducationResource .. py:method:: make_metadata_card_from_dict(doc_dict: dict) -> server.plugins.ome_plugin.EducationResource Create an EducationResource from a Python dict. .. py:method:: make_metadata_card_from_json(json_payload: str) -> server.plugins.ome_plugin.EducationResource Create an EducationResource from a raw JSON string. .. py:method:: make_metadata_card_from_url(url: str) -> server.plugins.ome_plugin.EducationResource Not implemented yet.