pb
is a copy/paste utility for CLI using STDIN and STDOUT.
Use pyinstaller to create a standalone executable.
$ pip install pyinstaller
$ pyinstaller --onefile pb.py
Usage: pb [--help] COMMAND
pb: Copy/paste CLI utility.
Commands:
copy Write to your clipboard the content from STDIN
paste Write to STDOUT the contents of your clipboard
$ echo test | pb copy
$ pb paste
test