-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ae76bbf
commit 53026d8
Showing
6 changed files
with
67 additions
and
48 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,12 @@ | ||
Metadata-Version: 1.1 | ||
Metadata-Version: 2.1 | ||
Name: pyperclip | ||
Version: 1.8.2 | ||
Version: 1.9.0 | ||
Summary: A cross-platform clipboard module for Python. (Only handles plain text for now.) | ||
Home-page: https://github.com/asweigart/pyperclip | ||
Author: Al Sweigart | ||
Author-email: [email protected] | ||
License: BSD | ||
Description: Pyperclip is a cross-platform Python module for copy and paste clipboard functions. It works with Python 2 and 3. | ||
|
||
Install on Windows: `pip install pyperclip` | ||
|
||
Install on Linux/macOS: `pip3 install pyperclip` | ||
|
||
Al Sweigart [email protected] | ||
BSD License | ||
|
||
Example Usage | ||
============= | ||
|
||
>>> import pyperclip | ||
>>> pyperclip.copy('The text to be copied to the clipboard.') | ||
>>> pyperclip.paste() | ||
'The text to be copied to the clipboard.' | ||
|
||
|
||
Currently only handles plaintext. | ||
|
||
On Windows, no additional modules are needed. | ||
|
||
On Mac, this module makes use of the pbcopy and pbpaste commands, which should come with the os. | ||
|
||
On Linux, this module makes use of the xclip or xsel commands, which should come with the os. Otherwise run "sudo apt-get install xclip" or "sudo apt-get install xsel" (Note: xsel does not always seem to work.) | ||
|
||
Otherwise on Linux, you will need the gtk or PyQt4 modules installed. | ||
|
||
Keywords: clipboard copy paste clip xsel xclip | ||
Platform: UNKNOWN | ||
Classifier: Development Status :: 5 - Production/Stable | ||
Classifier: Environment :: Win32 (MS Windows) | ||
Classifier: Environment :: X11 Applications | ||
|
@@ -45,15 +16,48 @@ Classifier: License :: OSI Approved :: BSD License | |
Classifier: Operating System :: OS Independent | ||
Classifier: Programming Language :: Python | ||
Classifier: Programming Language :: Python :: 2 | ||
Classifier: Programming Language :: Python :: 2.6 | ||
Classifier: Programming Language :: Python :: 2.7 | ||
Classifier: Programming Language :: Python :: 3 | ||
Classifier: Programming Language :: Python :: 3.1 | ||
Classifier: Programming Language :: Python :: 3.2 | ||
Classifier: Programming Language :: Python :: 3.3 | ||
Classifier: Programming Language :: Python :: 3.4 | ||
Classifier: Programming Language :: Python :: 3.5 | ||
Classifier: Programming Language :: Python :: 3.6 | ||
Classifier: Programming Language :: Python :: 3.7 | ||
Classifier: Programming Language :: Python :: 3.8 | ||
Classifier: Programming Language :: Python :: 3.9 | ||
Classifier: Programming Language :: Python :: 3.10 | ||
Classifier: Programming Language :: Python :: 3.11 | ||
Classifier: Programming Language :: Python :: 3.12 | ||
License-File: LICENSE.txt | ||
License-File: AUTHORS.txt | ||
|
||
Pyperclip is a cross-platform Python module for copy and paste clipboard functions. It works with Python 2 and 3. | ||
|
||
Install on Windows: `pip install pyperclip` | ||
|
||
Install on Linux/macOS: `pip3 install pyperclip` | ||
|
||
Al Sweigart [email protected] | ||
BSD License | ||
|
||
Example Usage | ||
============= | ||
|
||
>>> import pyperclip | ||
>>> pyperclip.copy('The text to be copied to the clipboard.') | ||
>>> pyperclip.paste() | ||
'The text to be copied to the clipboard.' | ||
|
||
|
||
Currently only handles plaintext. | ||
|
||
On Windows, no additional modules are needed. | ||
|
||
On Mac, this module makes use of the pbcopy and pbpaste commands, which should come with the os. | ||
|
||
On Linux, this module makes use of the xclip or xsel commands, which should come with the os. Otherwise run "sudo apt-get install xclip" or "sudo apt-get install xsel" (Note: xsel does not always seem to work.) | ||
|
||
Otherwise on Linux, you will need the qtpy or PyQT5 modules installed. | ||
|
||
Support | ||
------- | ||
|
||
If you find this project helpful and would like to support its development, [consider donating to its creator on Patreon](https://www.patreon.com/AlSweigart). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters