yanky

Easy and Simple copy and paste module for GNU/Linux systems


Keywords
yannk, copy, paste, api, xsel, xclip, clipboard, python, xcopy, yank
License
MIT
Install
pip install yanky==0.9.0

Documentation

yanky -- Easy and Simple copy and paste Python module for GNU/Linux systems

In order to get yanky fully functional either one of the following software needs to be installed in your system:

In Debian based systems they can be installed via the package manager.

Usage:

from yanky import copy, paste

#Copy text to OS clipboard
copy('Text to be copied to clipboard')

#Paste from OS clipboard

text_from_cb = paste()