Package: winclip32
This is a small library forwindows OSto work withclipboard data storage. winclip32 is based onpywin32module.https://github.com/PyPcDeV/winclip32InstallationOnly Windows OSpip install winclip32Code ExamplesExample 1import winclip32winclip32.set_clipboard_data("unicode_std_text", "Python is beautiful!!!")print(winclip32.get_clipboard_data("unicode_std_text"))  # >>> Python is beautiful!!!Example 2import winclip32winclip32.set_clipboard_data("unicode_std_text", "Python is beautiful!!!")print(winclip32.is_clipboard_data_type_available("bitmapinfo_std_structure"))  # >>> Falseprint(winclip32.is_clipboard_data_type_available(13))  # >>> TrueExample 3import winclip32winclip32.get_clipboard_data_types_info()  # >>> ...APIwinclip32.get_clipboard_formats_info()>> print all informations about winclip32 clipboard formatswinclip32.get_clipboard_data(format)>>format:str/int; return data or error if something went wrongwinclip32.set_clipboard_data(format,data)>>format:str/int;data:int/str/unicode/anyobjectthat supports thebuffer interface; return data or error if something went wrongwinclip32.is_clipboard_format_available(format)>>format:str/int; return True if format is available, False if not, and error if something went wrongwinclip32.count_clipboard_formats()>> return the number of different formats currently on the clipboard.winclip32.empty_clipboard()>> empty the clipboardwinclip32.Recorder(format=13,mark=None)>>format:str/int;mark:str; create a recorder for clipboard changeswinclip32.Recorder().record(record_interval=0.1)>>record_interval:int; record the clipboard changes and add them to the recording list or dictwinclip32.Recorder().get_recording()>> return the recorded list or dictwinclip32.Recorder().clear_recorder()>> clear the recording list or dict. use this for new recordswinclip32.Recorder().set_format(format)>>format:str/int; set the main record formatwinclip32.Recorder().set_mark(mark)>>mark:str; set the main record markConstantswinclip32.ANSI_STD_TEXTwinclip32.ANSI_MSL_TEXTwinclip32.ANCII_DIF_TEXTwinclip32.BIT8_DOS_TEXTwinclip32.UNICODE_STD_TEXTwinclip32.ANSI_DSP_TEXTwinclip32.HBITMAP_GDI_STD_OBJECTwinclip32.HBITMAP_GDI_DSP_OBJECTwinclip32.BITMAPINFO_STD_STRUCTUREwinclip32.METAFILEPICT_STD_STRUCTUREwinclip32.METAFILEPICT_DSP_STRUCTUREwinclip32.TIFF_STD_IMAGEwinclip32.HPALETTE_GDI_STD_OBJECTwinclip32.PENDATA_STD_DATAwinclip32.RIFF_STD_AUDIOwinclip32.WAVE_STD_AUDIOwinclip32.HENHMETAFILE_STD_HANDLEwinclip32.HENHMETAFILE_DSP_HANDLEwinclip32.DROPFILES_STD_LISTwinclip32.DWORD_STD_LCIDwinclip32.BITMAPV5HEADER_STD_STRUCTUREwinclip32.NUMERIC_MARKwinclip32.STIME_MARKwinclip32.DTTIME_MARKUpdate v0.6.0 --Recorder update--Stable version of 0.6.0aUpdate v0.6.0a --Recorder update--Added Recorder() - record the clipboard changes and add them to the list or dict.winclip32.Recorder(format=13,mark=None)>>format:str/int;mark:str; create a recorder for clipboard changeswinclip32.Recorder().record(record_interval=0.1)>>record_interval:int; record the clipboard changes and add them to the recording list or dictwinclip32.Recorder().get_recording()>> return the recorded list or dictwinclip32.Recorder().clear_recorder()>> clear the recording list or dict. use this for new recordswinclip32.Recorder().set_format(format)>>format:str/int; set the main record formatwinclip32.Recorder().set_mark(mark)>>mark:str; set the main record markAdded mark-constantswinclip32.NUMERIC_MARKwinclip32.STIME_MARKwinclip32.DTTIME_MARKAdded new errorswinclip32.invalid_mark(m)winclip32.invalid_format_type(f)Update v0.5.4Renamedwinclip32.get_clipboad_data_types_info() to winclip32.get_clipboard_formats_info()winclip32.get_clipboard_data(type_key) to winclip32.get_clipboard_data(format)winclip32.set_clipboard_data(type_key, data) to winclip32.set_clipboard_data(format, data)winclip32.is_clipboard_data_type_available(type_key) to winclip32.is_clipboard_format_available(format)winclip32.count_clipboard_data_types() to winclip32.count_clipboard_formats()Added format constantswinclip32.ANSI_STD_TEXTwinclip32.ANSI_MSL_TEXTwinclip32.ANCII_DIF_TEXTwinclip32.BIT8_DOS_TEXTwinclip32.UNICODE_STD_TEXTwinclip32.ANSI_DSP_TEXTwinclip32.HBITMAP_GDI_STD_OBJECTwinclip32.HBITMAP_GDI_DSP_OBJECTwinclip32.BITMAPINFO_STD_STRUCTUREwinclip32.METAFILEPICT_STD_STRUCTUREwinclip32.METAFILEPICT_DSP_STRUCTUREwinclip32.TIFF_STD_IMAGEwinclip32.HPALETTE_GDI_STD_OBJECTwinclip32.PENDATA_STD_DATAwinclip32.RIFF_STD_AUDIOwinclip32.WAVE_STD_AUDIOwinclip32.HENHMETAFILE_STD_HANDLEwinclip32.HENHMETAFILE_DSP_HANDLEwinclip32.DROPFILES_STD_LISTwinclip32.DWORD_STD_LCIDwinclip32.BITMAPV5HEADER_STD_STRUCTURERenamed errors. Current:winclip32.invalid_clipboard_format_given(f)winclip32.unknown_clipboard_format_given(f)winclip32.clipboard_format_is_not_available(f)winclip32.something_went_wrongwinclip32.invalid_clipboard_format_or_data_given