{ "info": { "author": "Charlie Sale", "author_email": "softwaresale01@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries" ], "description": "# Crossclip\nA cross platform clipboard API for python.\n\n# Current State of the Package\nBackends are written but untested. Package needs a better test\nsuite.\n\n## Overview\n\n### About\nCrossclip provides a standard python API for interacting with the system\nclipboard. As of now, Crossclip supports MacOS, Windows, and GNU/Linux desktop\nenvironments using Gtk and Qt environments. More environments can be added due\nto the modular design.\n\n### Dependencies\n\n#### All systems\n* Pillow (5.4.0)\n\n#### Linux\n* Gtk users: PyGObject\n* Qt users: PySide2\n\n#### Windows\n* pywin32\n\n#### Mac\n* pyobjc\n\n### Installation\nThis package is hosted on PyPI. Install via:\n\n`$ pip install crossclip`\n\n### Usage\nHere is an example program:\n```\n# Import the clipboard frontend class and Pillow Image package\nfrom crossclip.clipboard import Clipboard\nfrom PIL import Image\n\n# Create a new clipboard instance\ncb = Clipboard()\n\n# Get text from the clipboard\nmytext = cb.get_text()\n\n# Get an image from the clipboard\nmyimg = cb.get_image() # myimg is a PIL.Image class\n\n# Put text onto the clipboard\nmy_message = 'Hello World'\ncb.set_text(my_message)\n\n# Put an image onto the clipboard\ncb.set_image(my_pil_image_instance)\n\n# Access the backend instance\nbackend_text = cb.backend.get_text()\n```\n\nIt's as easy as that. The frontend wraps all of the backend specifics and\nprovides a simple, uniform interface.\n\n## Implementation Details\nThis library uses a collection of backends to provide clipboard functionality\nfor a specific system or clipboard. For example, there is a clipboard backend\nfor the Windows system clipboard and the Gtk+ clipboard. Each backend inherits\nfrom an abstract base class that provides a set of common abstract methods that\neach backend must implement.\n\nEach of these backends are used in the frontend class, `clipboard.Clipboard`.\nThe `Clipboard` class determines the backend to use based on the system platform\ndetermined by the `sys.platform` value. The Clipboard class carries an instance\nof the backend and uses its functions to provide clipboard functionality.\n\nWith a design like this, the library is extensible. New backends can be added\nand removed.\n\n## Contributing\nSee CONTRIBUTING.md\n\n## License\nThis package is licensed under the GPLv3.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/softwaresale/crossclip", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "crossclip", "package_url": "https://pypi.org/project/crossclip/", "platform": "", "project_url": "https://pypi.org/project/crossclip/", "project_urls": { "Homepage": "https://github.com/softwaresale/crossclip" }, "release_url": "https://pypi.org/project/crossclip/0.2.2/", "requires_dist": [ "Pillow", "pygobject ; extra == 'gtk'", "PyQt5 ; extra == 'qt'" ], "requires_python": "", "summary": "A Cross Platform clipboard manager", "version": "0.2.2" }, "last_serial": 5157427, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "d4c5eee268c10d15a359f349f331b55a", "sha256": "912ea8cbbf223d3bb8f68248379f05ab4c6556a1894051f5728a2082cd808ac6" }, "downloads": -1, "filename": "crossclip-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "d4c5eee268c10d15a359f349f331b55a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 19149, "upload_time": "2019-01-12T15:50:34", "url": "https://files.pythonhosted.org/packages/ba/bc/defa604224624b5c4e3a3f957ab18ddfec1fc4cd642f79817ef63830e33b/crossclip-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bdf84c60e467221222fec4dd06c76103", "sha256": "dcf72bc56b18633c41c538042231cd5b28299d2134e76487137273031b15c3fa" }, "downloads": -1, "filename": "crossclip-0.0.1.tar.gz", "has_sig": false, "md5_digest": "bdf84c60e467221222fec4dd06c76103", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5521, "upload_time": "2019-01-12T15:50:38", "url": "https://files.pythonhosted.org/packages/db/a5/bc3cdb7aa39c4c87ff7578904ffefe6e9e9f6d0cb34dca228733184985a3/crossclip-0.0.1.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "0cf117f0a928e3a58bedd822cdf629e3", "sha256": "771bff9947b0af0c66785afa9b66b72c352912224375542855b2eeffe9eefa73" }, "downloads": -1, "filename": "crossclip-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "0cf117f0a928e3a58bedd822cdf629e3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 23023, "upload_time": "2019-01-12T15:50:37", "url": "https://files.pythonhosted.org/packages/f5/2b/84972e1a90ed8f5774ee8d73580e6165501bc3d0847a847ba23f574b7c34/crossclip-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c042e2df3603d041c6108598a3baadd2", "sha256": "399b91d2f361f186f023351879a3e857193e2f2d622af73015db6494d53cfa0c" }, "downloads": -1, "filename": "crossclip-0.1.0.tar.gz", "has_sig": false, "md5_digest": "c042e2df3603d041c6108598a3baadd2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8318, "upload_time": "2019-01-12T15:50:40", "url": "https://files.pythonhosted.org/packages/07/3c/fcbbba3d3621bb165a682a6f5bb3d92c04073bbc412ee795175e62e0211f/crossclip-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "82e4d4d14aacf16c5d564c7192289434", "sha256": "128321cc9a1c4636f7a89ba4668828ecac6ae43682b1cca4251753c5ce2d7d1f" }, "downloads": -1, "filename": "crossclip-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "82e4d4d14aacf16c5d564c7192289434", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 23467, "upload_time": "2019-03-11T20:45:45", "url": "https://files.pythonhosted.org/packages/6b/00/5ad6cbff9c11aafea3eed7796415f6045451b0dc6cb60443cbf09a2ff5f7/crossclip-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6a3a1f37d58595dd35b3c98fbc5310ec", "sha256": "702cbab772ca0582a449bc54027941aa90b57260652eff60f832ae9639f9bf95" }, "downloads": -1, "filename": "crossclip-0.2.0.tar.gz", "has_sig": false, "md5_digest": "6a3a1f37d58595dd35b3c98fbc5310ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8970, "upload_time": "2019-03-11T20:45:47", "url": "https://files.pythonhosted.org/packages/86/e5/277910d349a04071b80b387d814f6ebaf585a23f277d68da67e7e4850368/crossclip-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "a818a2a7abbc539992b8a491277b4082", "sha256": "bb22c60897b668e22346fb2d08d947248ae41305d6c2285be70cab78aa05ff18" }, "downloads": -1, "filename": "crossclip-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a818a2a7abbc539992b8a491277b4082", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 23911, "upload_time": "2019-03-24T15:25:02", "url": "https://files.pythonhosted.org/packages/c0/f8/89455b1a8cb958b2c76b6693f10999426386a92feffb36fd3c183201ad30/crossclip-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0d6dbf2400177622dbbe25cd37e83332", "sha256": "df61d20f0429af0d7422241100847cd285f05f5e983c28a84c32cc22b681fa07" }, "downloads": -1, "filename": "crossclip-0.2.1.tar.gz", "has_sig": false, "md5_digest": "0d6dbf2400177622dbbe25cd37e83332", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9266, "upload_time": "2019-03-24T15:25:04", "url": "https://files.pythonhosted.org/packages/6f/c6/445914dcef63c62fd1919b58cb789bbe9856de7210702aaa1c668957eae1/crossclip-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "5551a78702f179d0cde82bebffdb0084", "sha256": "15a81ee0f65ce137bb99f870feb369dd31bdda5af30d8d7bee75ece6c293f603" }, "downloads": -1, "filename": "crossclip-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "5551a78702f179d0cde82bebffdb0084", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 24032, "upload_time": "2019-04-17T22:50:58", "url": "https://files.pythonhosted.org/packages/d0/da/f34e1c5fab92685dbc3e74f4ff083fb5a9708e7aab6f2db7c860e318484c/crossclip-0.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "966279f8f794f17d5e5447a369465484", "sha256": "926b7816446bc0a6508fdc4dd3511f9a328f851025dc9823f200347038954f29" }, "downloads": -1, "filename": "crossclip-0.2.2.tar.gz", "has_sig": false, "md5_digest": "966279f8f794f17d5e5447a369465484", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9377, "upload_time": "2019-04-17T22:51:00", "url": "https://files.pythonhosted.org/packages/67/cc/0284dafab67f8d6cf145c91e20c8157358fb741aa20b1aaec5113dcae988/crossclip-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5551a78702f179d0cde82bebffdb0084", "sha256": "15a81ee0f65ce137bb99f870feb369dd31bdda5af30d8d7bee75ece6c293f603" }, "downloads": -1, "filename": "crossclip-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "5551a78702f179d0cde82bebffdb0084", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 24032, "upload_time": "2019-04-17T22:50:58", "url": "https://files.pythonhosted.org/packages/d0/da/f34e1c5fab92685dbc3e74f4ff083fb5a9708e7aab6f2db7c860e318484c/crossclip-0.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "966279f8f794f17d5e5447a369465484", "sha256": "926b7816446bc0a6508fdc4dd3511f9a328f851025dc9823f200347038954f29" }, "downloads": -1, "filename": "crossclip-0.2.2.tar.gz", "has_sig": false, "md5_digest": "966279f8f794f17d5e5447a369465484", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9377, "upload_time": "2019-04-17T22:51:00", "url": "https://files.pythonhosted.org/packages/67/cc/0284dafab67f8d6cf145c91e20c8157358fb741aa20b1aaec5113dcae988/crossclip-0.2.2.tar.gz" } ] }