xerox


Namexerox JSON
Version 0.4.1 PyPI version JSON
download
home_pagehttp://github.com/kennethreitz/xerox
SummarySimple Copy + Paste in Python.
upload_time2016-02-04 08:09:37
maintainerNone
docs_urlNone
authorKenneth Reitz
requires_pythonNone
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Xerox: Copy + Paste for Python
==============================

*Xerox* is a copy + paste module for python. It's aim is simple: to be as incredibly simple as possible.

Supported platforms are currently OS X, X11 (Linux, BSD, etc.), and Windows.

If you can make it simpler, please fork.

Usage
-----

Usage is as follows::

	xerox.copy(u'some string')

And to paste::

	>>> xerox.paste()
	u'some string'

On Linux you can optionally also copy into the X selection clipboard for
middle-click-paste capability::

    xerox.copy(u'Some string', xsel=True)

And you can choose to paste from the X selection rather than the system
clipboard::

    xerox.paste(xsel=True)

And, that's it.

Command Line
~~~~~~~~~~~~

To copy::

	$ xerox some string

or::

	$ echo some string | xerox

To paste::

	>>> xerox
	some string


Installation
------------

To install Xerox, simply::

	$ pip install xerox

Note: If you are installing xerox on Windows, you will also need to install the pywin32_ module.


Legal Stuff
-----------

MIT License.

(c\) 2016 Kenneth Reitz.

.. _pywin32: http://sourceforge.net/projects/pywin32/files/
            

Raw data

            {
    "_id": null,
    "home_page": "http://github.com/kennethreitz/xerox",
    "name": "xerox",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Kenneth Reitz",
    "author_email": "me@kennethreitz.com",
    "download_url": "https://files.pythonhosted.org/packages/a8/f2/48a3fb98b128e77e0c1e15a80c71d397c1ac1a4ed6db00e3e7307f767f93/xerox-0.4.1.tar.gz",
    "platform": "UNKNOWN",
    "description": "Xerox: Copy + Paste for Python\n==============================\n\n*Xerox* is a copy + paste module for python. It's aim is simple: to be as incredibly simple as possible.\n\nSupported platforms are currently OS X, X11 (Linux, BSD, etc.), and Windows.\n\nIf you can make it simpler, please fork.\n\nUsage\n-----\n\nUsage is as follows::\n\n\txerox.copy(u'some string')\n\nAnd to paste::\n\n\t>>> xerox.paste()\n\tu'some string'\n\nOn Linux you can optionally also copy into the X selection clipboard for\nmiddle-click-paste capability::\n\n    xerox.copy(u'Some string', xsel=True)\n\nAnd you can choose to paste from the X selection rather than the system\nclipboard::\n\n    xerox.paste(xsel=True)\n\nAnd, that's it.\n\nCommand Line\n~~~~~~~~~~~~\n\nTo copy::\n\n\t$ xerox some string\n\nor::\n\n\t$ echo some string | xerox\n\nTo paste::\n\n\t>>> xerox\n\tsome string\n\n\nInstallation\n------------\n\nTo install Xerox, simply::\n\n\t$ pip install xerox\n\nNote: If you are installing xerox on Windows, you will also need to install the pywin32_ module.\n\n\nLegal Stuff\n-----------\n\nMIT License.\n\n(c\\) 2016 Kenneth Reitz.\n\n.. _pywin32: http://sourceforge.net/projects/pywin32/files/",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Simple Copy + Paste in Python.",
    "version": "0.4.1",
    "project_urls": {
        "Download": "UNKNOWN",
        "Homepage": "http://github.com/kennethreitz/xerox"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a8f248a3fb98b128e77e0c1e15a80c71d397c1ac1a4ed6db00e3e7307f767f93",
                "md5": "0f782a2f522127317a6840a80553b667",
                "sha256": "1b598ed4ba017374f02e9cef983febdd19dba79a5301856fdba985c490b14325"
            },
            "downloads": -1,
            "filename": "xerox-0.4.1.tar.gz",
            "has_sig": false,
            "md5_digest": "0f782a2f522127317a6840a80553b667",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4645,
            "upload_time": "2016-02-04T08:09:37",
            "upload_time_iso_8601": "2016-02-04T08:09:37.326676Z",
            "url": "https://files.pythonhosted.org/packages/a8/f2/48a3fb98b128e77e0c1e15a80c71d397c1ac1a4ed6db00e3e7307f767f93/xerox-0.4.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2016-02-04 08:09:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "kennethreitz",
    "github_project": "xerox",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "xerox"
}
        
Elapsed time: 0.10803s