pyperclip


Namepyperclip JSON
Version 1.8.2 PyPI version JSON
download
home_pagehttps://github.com/asweigart/pyperclip
SummaryA cross-platform clipboard module for Python. (Only handles plain text for now.)
upload_time2021-02-21 01:04:55
maintainer
docs_urlNone
authorAl Sweigart
requires_python
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 gtk or PyQt4 modules installed.
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/asweigart/pyperclip",
    "name": "pyperclip",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "clipboard copy paste clip xsel xclip",
    "author": "Al Sweigart",
    "author_email": "al@inventwithpython.com",
    "download_url": "https://files.pythonhosted.org/packages/a7/2c/4c64579f847bd5d539803c8b909e54ba087a79d01bb3aba433a95879a6c5/pyperclip-1.8.2.tar.gz",
    "platform": "",
    "description": "Pyperclip is a cross-platform Python module for copy and paste clipboard functions. It works with Python 2 and 3.\n\nInstall on Windows: `pip install pyperclip`\n\nInstall on Linux/macOS: `pip3 install pyperclip`\n\nAl Sweigart al@inventwithpython.com\nBSD License\n\nExample Usage\n=============\n\n    >>> import pyperclip\n    >>> pyperclip.copy('The text to be copied to the clipboard.')\n    >>> pyperclip.paste()\n    'The text to be copied to the clipboard.'\n\n\nCurrently only handles plaintext.\n\nOn Windows, no additional modules are needed.\n\nOn Mac, this module makes use of the pbcopy and pbpaste commands, which should come with the os.\n\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.)\n\nOtherwise on Linux, you will need the gtk or PyQt4 modules installed.",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "A cross-platform clipboard module for Python. (Only handles plain text for now.)",
    "version": "1.8.2",
    "split_keywords": [
        "clipboard",
        "copy",
        "paste",
        "clip",
        "xsel",
        "xclip"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "853603b2e8fa1b13622fdbe72d1fb201",
                "sha256": "105254a8b04934f0bc84e9c24eb360a591aaf6535c9def5f29d92af107a9bf57"
            },
            "downloads": -1,
            "filename": "pyperclip-1.8.2.tar.gz",
            "has_sig": false,
            "md5_digest": "853603b2e8fa1b13622fdbe72d1fb201",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 20920,
            "upload_time": "2021-02-21T01:04:55",
            "upload_time_iso_8601": "2021-02-21T01:04:55.809084Z",
            "url": "https://files.pythonhosted.org/packages/a7/2c/4c64579f847bd5d539803c8b909e54ba087a79d01bb3aba433a95879a6c5/pyperclip-1.8.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2021-02-21 01:04:55",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "asweigart",
    "github_project": "pyperclip",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "tox": true,
    "lcname": "pyperclip"
}
        
Elapsed time: 0.01588s