PyClipboard
This is a simple example package. With the purpose of a easy-use advance clipboard package for mac.
And it is very easy to use.
import pyclipboard
clipboard = ClipBoard()
Copy text
clipboard.copy_text("Hello World")
Copy image
clipboard.copy_image("image.png")
Copy image from url
clipboard.copy_image("./Users/username/Desktop/image.png")
Copy color
clipboard.copy_color(0x000000)
Copy html
clipboard.copy_html("<h1>Hello World</h1>")
Copy url
clipboard.copy_url("https://example.com")
Copy file/directory
clipboard.copy_file("./Users/")