Saves and loads pices of text to the clipboard, via a database in a .db file
Project description
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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
multiclipboard-1.0.0.tar.gz
(3.1 kB
view details)
File details
Details for the file multiclipboard-1.0.0.tar.gz
.
File metadata
- Download URL: multiclipboard-1.0.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcf4d94e7932455f3f2ba604ae8ca0aa7314cc180a11dd75b9a49aa4f7782404 |
|
MD5 | 8f1e7e1e3165db46f3bea4d40d56e985 |
|
BLAKE2b-256 | 10abbee3f23d10a2b169d0490c7566e32eb27ddac5b03ff90544fd14ff95fea7 |