pasteboard ========== .. currentmodule:: pasteboard Item Provider ------------- An Item Provider is an object holding data that can be loaded as multiple file types. It can be returned from :func:`~pasteboard.item_provider` or from :func:`~pasteboard.shortcuts_attachments`. When you copy text for example, it may have formatting. So an :class:`~pasteboard.ItemProvider` object can in this case retrieve the clipboard as plain text or as an rtf file containing the text format. .. autosummary:: :toctree: generated :signatures: none pasteboard.ItemProvider pasteboard.ItemProvider.get_file_path pasteboard.ItemProvider.get_type_identifiers pasteboard.ItemProvider.get_suggested_name pasteboard.ItemProvider.data pasteboard.ItemProvider.open pasteboard.item_provider pasteboard.shortcuts_attachments Strings ------- Functions for working with strings. .. autosummary:: :toctree: generated :signatures: none pasteboard.string pasteboard.strings pasteboard.set_string Images ------ Functions for working with images (as PIL images). .. autosummary:: :toctree: generated :signatures: none pasteboard.image pasteboard.images pasteboard.set_image URLs ---- Functions for working with URLs. .. autosummary:: :toctree: generated :signatures: none pasteboard.url pasteboard.urls pasteboard.set_url