
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
This is a small library for windows OS to work with clipboard data storage. winclip32 is based on pywin32 module. https://github.com/PyPcDeV/winclip32
Only Windows OS
pip install winclip32
import winclip32
winclip32.set_clipboard_data("unicode_std_text", "Python is beautiful!!!")
print(winclip32.get_clipboard_data("unicode_std_text")) # >>> Python is beautiful!!!
import winclip32
winclip32.set_clipboard_data("unicode_std_text", "Python is beautiful!!!")
print(winclip32.is_clipboard_data_type_available("bitmapinfo_std_structure")) # >>> False
print(winclip32.is_clipboard_data_type_available(13)) # >>> True
import winclip32
winclip32.get_clipboard_data_types_info() # >>> ...
winclip32.get_clipboard_formats_info() >> print all informations about winclip32 clipboard formats
winclip32.get_clipboard_data(format) >> format: str / int; return data or error if something went wrong
winclip32.set_clipboard_data(format, data) >> format: str / int; data: int/str/unicode/any object that supports the buffer interface; return data or error if something went wrong
winclip32.is_clipboard_format_available(format) >> format: str / int; return True if format is available, False if not, and error if something went wrong
winclip32.count_clipboard_formats() >> return the number of different formats currently on the clipboard.
winclip32.empty_clipboard() >> empty the clipboard
winclip32.Recorder(format=13, mark=None) >> format: str / int; mark: str; create a recorder for clipboard changes
winclip32.Recorder().record(record_interval=0.1) >> record_interval: int; record the clipboard changes and add them to the recording list or dict
winclip32.Recorder().get_recording() >> return the recorded list or dict
winclip32.Recorder().clear_recorder() >> clear the recording list or dict. use this for new records
winclip32.Recorder().set_format(format) >> format: str / int; set the main record format
winclip32.Recorder().set_mark(mark) >> mark: str; set the main record mark
Stable version of 0.6.0a
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 changes
winclip32.Recorder().record(record_interval=0.1) >> record_interval: int; record the clipboard changes and add them to the recording list or dict
winclip32.Recorder().get_recording() >> return the recorded list or dict
winclip32.Recorder().clear_recorder() >> clear the recording list or dict. use this for new records
winclip32.Recorder().set_format(format) >> format: str / int; set the main record format
winclip32.Recorder().set_mark(mark) >> mark: str; set the main record mark
Added mark-constants
Added new errors
Renamed
Added format constants
Renamed errors. Current:
FAQs
This is a small library for windows OS to work with clipboard data storage
We found that winclip32 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.