METADATA 2.3 KB

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