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()
Metadata
Release files for multiclipboard 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| multiclipboard-1.0.0.tar.gz | 3.1 kB | Details |
Release files / multiclipboard-1.0.0.tar.gz
| Download URL | multiclipboard-1.0.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fcf4d94e7932455f3f2ba604ae8ca0aa7314cc180a11dd75b9a49aa4f7782404
|
|
BLAKE2b-256 checksum How to use checksums |
10abbee3f23d10a2b169d0490c7566e32eb27ddac5b03ff90544fd14ff95fea7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.6.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/2.7.16
|