Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pyclipmgr

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pyclipmgr

this lib check for your machine's platform and use system commands to contact with clipboard (copy or paste) in python

  • 5.0.1
  • PyPI
  • Socket score

Maintainers
1

Py ClipBoard Manager

Features:

  • this lib check for your machine's platform and use system commands to contact with clipboard (copy or paste) in python

  • this script works with linux (XORG or Wayland), Windows and Macos

  • I didn't test it on windows and macos

  • for linux users! you need to install xclip if you use xorg or wl-clipboard if you use wayland from your package manager Now! you do not need to do that. I did it for you by providing the requierd binaries from this packages.

How to install?

  • you can clone the repo and import the script (pyclipmgr.py) to your script
git clone https://github.com/mohammed-saleh2007/py-clip-mgr
  • you can also use pip Project In PyPi here to install it (recommended)
pip install pyclipmgr

How to use it?

  • import the lib in your file
import pyclipmgr
  • to copy some text
pyclipmgr.copy("Some Text")
  • to paste from clipboard, this will return the clipboard content
pyclipmgr.paste()
  • to print them in terminal
print(pyclipmgr.paste())

- you can use it in your (console/terminal)

Hope this script get the work done as it did with me

FAQs


Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc