Socket
Socket
Sign inDemoInstall

multiclipboard

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

multiclipboard

Saves and loads pices of text to the clipboard, via a database in a .db file


Maintainers
1

Readme

Multiclipboard

Saves and loads pices of text to the clipboard, via a database in a .db file

Install

$ pip install multiclipboard

How to use

# Import pakage
from multiclipboard import multiclipboard

# Folder to save the .db file
bd_file = "c:\\user\\my_files"

# Make an intance reading the clipboard
my_multiclipboard = multiclipboard.Multiclipboard(bd_file)


# Save text from clipboard to the database, and associate this text with a keyword
my_multiclipboard.save_text ("key4")

# Save specific text  clipboard to the database, and associate this text with a keyword
my_multiclipboard.save_text ("key2", text="Example text to save")

# Return specific text with keyword
text = my_multiclipboard.get_text ("key2")
print (text)

# Copy to clipboard specific text with keyword
my_multiclipboard.copy_text ("key4")

# Delete specific keywords and the keyword text
my_multiclipboard.delete_keyword (1)

# Delete all keywords from the file
my_multiclipboard.delete_all()

# Print all keywords from the file
my_multiclipboard.list_keywords()

Keywords

FAQs


Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc