Skip to main content

Monitor Clipboard changes and trigger related actions

Project description

clipboard_monitor

Clipboard Monitor will monitor the clipboard changes and trigger register events. It's very easy to use, for details please refer below commands

Usages

import clipboard_monitor 
from PIL import Image, ImageGrab

def print_text(text):
	print("got text")
	print(text)

def print_files(files):
	print("got files")
	print(files)

def print_image():
	print("got image")
	image = ImageGrab.grabclipboard()
	image.save("./test.png")

clipboard_monitor.on_update(print)
clipboard_monitor.on_text(print_text)
clipboard_monitor.on_files(print_files)
clipboard_monitor.on_image(print_image)

clipboard_monitor.wait()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clipboard_monitor-1.0.5.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

clipboard_monitor-1.0.5-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file clipboard_monitor-1.0.5.tar.gz.

File metadata

  • Download URL: clipboard_monitor-1.0.5.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for clipboard_monitor-1.0.5.tar.gz
Algorithm Hash digest
SHA256 7540890c63f187ccc24599dabc5ad00e8b00cf1d888a826bee023fde72cb6ee8
MD5 625c3e8b72a9effe1178e0299cd66113
BLAKE2b-256 5b93f3e2d6bee79af0eccc190457dcb0d2a2c3d6f8fe7f4ffe50e571d7ca3bb6

See more details on using hashes here.

File details

Details for the file clipboard_monitor-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: clipboard_monitor-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for clipboard_monitor-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8c1acb9c642435a2499ead275d8665c2adf788e8bf92133066d2644e6df89b2e
MD5 5b035d6369bee08cf7d6a091ee7213aa
BLAKE2b-256 dde70b0931add695be057a3615c49c476731d7fc1bd38a4e9cf5b27d80862b98

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page