pyperclip


Namepyperclip JSON
Version 1.9.0 PyPI version JSON
download
home_pagehttps://github.com/asweigart/pyperclip
SummaryA cross-platform clipboard module for Python. (Only handles plain text for now.)
upload_time2024-06-18 20:38:48
maintainerNone
docs_urlNone
authorAl Sweigart
requires_pythonNone
licenseBSD
keywords clipboard copy paste clip xsel xclip
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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 al@inventwithpython.com
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).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/asweigart/pyperclip",
    "name": "pyperclip",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "clipboard copy paste clip xsel xclip",
    "author": "Al Sweigart",
    "author_email": "al@inventwithpython.com",
    "download_url": "https://files.pythonhosted.org/packages/30/23/2f0a3efc4d6a32f3b63cdff36cd398d9701d26cda58e3ab97ac79fb5e60d/pyperclip-1.9.0.tar.gz",
    "platform": null,
    "description": "Pyperclip is a cross-platform Python module for copy and paste clipboard functions. It works with Python 2 and 3.\r\n\r\nInstall on Windows: `pip install pyperclip`\r\n\r\nInstall on Linux/macOS: `pip3 install pyperclip`\r\n\r\nAl Sweigart al@inventwithpython.com\r\nBSD License\r\n\r\nExample Usage\r\n=============\r\n\r\n    >>> import pyperclip\r\n    >>> pyperclip.copy('The text to be copied to the clipboard.')\r\n    >>> pyperclip.paste()\r\n    'The text to be copied to the clipboard.'\r\n\r\n\r\nCurrently only handles plaintext.\r\n\r\nOn Windows, no additional modules are needed.\r\n\r\nOn Mac, this module makes use of the pbcopy and pbpaste commands, which should come with the os.\r\n\r\nOn 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.)\r\n\r\nOtherwise on Linux, you will need the qtpy or PyQT5 modules installed.\r\n\r\nSupport\r\n-------\r\n\r\nIf you find this project helpful and would like to support its development, [consider donating to its creator on Patreon](https://www.patreon.com/AlSweigart).\r\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "A cross-platform clipboard module for Python. (Only handles plain text for now.)",
    "version": "1.9.0",
    "project_urls": {
        "Homepage": "https://github.com/asweigart/pyperclip"
    },
    "split_keywords": [
        "clipboard",
        "copy",
        "paste",
        "clip",
        "xsel",
        "xclip"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "30232f0a3efc4d6a32f3b63cdff36cd398d9701d26cda58e3ab97ac79fb5e60d",
                "md5": "43f9e69bf948139055683d28080787f4",
                "sha256": "b7de0142ddc81bfc5c7507eea19da920b92252b548b96186caf94a5e2527d310"
            },
            "downloads": -1,
            "filename": "pyperclip-1.9.0.tar.gz",
            "has_sig": false,
            "md5_digest": "43f9e69bf948139055683d28080787f4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 20961,
            "upload_time": "2024-06-18T20:38:48",
            "upload_time_iso_8601": "2024-06-18T20:38:48.401895Z",
            "url": "https://files.pythonhosted.org/packages/30/23/2f0a3efc4d6a32f3b63cdff36cd398d9701d26cda58e3ab97ac79fb5e60d/pyperclip-1.9.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-18 20:38:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "asweigart",
    "github_project": "pyperclip",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "tox": true,
    "lcname": "pyperclip"
}
        
Elapsed time: 0.25333s