METADATA 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. Metadata-Version: 2.4
  2. Name: pyperclip
  3. Version: 1.11.0
  4. Summary: A cross-platform clipboard module for Python. (Only handles plain text for now.)
  5. Author-email: Al Sweigart <al@inventwithpython.com>
  6. License: BSD
  7. Project-URL: Homepage, https://github.com/asweigart/pyperclip
  8. Keywords: clipboard,copy,paste,clip,xsel,xclip
  9. Classifier: Development Status :: 5 - Production/Stable
  10. Classifier: Environment :: Win32 (MS Windows)
  11. Classifier: Environment :: X11 Applications
  12. Classifier: Environment :: MacOS X
  13. Classifier: Intended Audience :: Developers
  14. Classifier: License :: OSI Approved :: BSD License
  15. Classifier: Operating System :: OS Independent
  16. Classifier: Programming Language :: Python
  17. Classifier: Programming Language :: Python :: 3
  18. Classifier: Programming Language :: Python :: 3.5
  19. Classifier: Programming Language :: Python :: 3.6
  20. Classifier: Programming Language :: Python :: 3.7
  21. Classifier: Programming Language :: Python :: 3.8
  22. Classifier: Programming Language :: Python :: 3.9
  23. Classifier: Programming Language :: Python :: 3.10
  24. Classifier: Programming Language :: Python :: 3.11
  25. Classifier: Programming Language :: Python :: 3.12
  26. Classifier: Programming Language :: Python :: 3.13
  27. Classifier: Programming Language :: Python :: 3.14
  28. Description-Content-Type: text/markdown
  29. License-File: LICENSE.txt
  30. License-File: AUTHORS.txt
  31. Dynamic: license-file
  32. Pyperclip is a cross-platform Python module for copy and paste clipboard functions. It works with Python 2 and 3.
  33. Install on Windows: `pip install pyperclip`
  34. Install on Linux/macOS: `pip3 install pyperclip`
  35. Al Sweigart al@inventwithpython.com
  36. BSD License
  37. Example Usage
  38. =============
  39. >>> import pyperclip
  40. >>> pyperclip.copy('The text to be copied to the clipboard.')
  41. >>> pyperclip.paste()
  42. 'The text to be copied to the clipboard.'
  43. Currently only handles plaintext.
  44. On Windows, no additional modules are needed.
  45. On Mac, this module makes use of the pbcopy and pbpaste commands, which should come with the os.
  46. 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.)
  47. Otherwise on Linux, you will need the qtpy or PyQT5 modules installed.
  48. Support
  49. -------
  50. 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).