{ "info": { "author": "naelstrof", "author_email": "", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 3" ], "description": "# Python bindings for slop\n\nJust a quick python extension for region selecting. Read https://github.com/naelstrof/slop for info on what kind of region selecting.\n\n## Usage\n\n```python\nimport slop\nrect = slop.select(border=30,r=1,g=0,b=0,a=0.5)\nprint(rect)\n```\nreturns\n```python\n{'x': 308, 'y': 179, 'w': 654, 'h': 447, 'id': 4199883, 'cancelled': 0}\n```\n\nAvailable arguments:\n\n| Argument | Type | Description |\n|---------------|----------|-------------------------------------------------------------------------------------------------|\n| border | Float | The border width in pixels. |\n| padding | Float | Space between the actual selection and the returned pixels, this is visible during selection. |\n| tolerance | Float | The distance the mouse has to move in pixels before detecting a drag selection. |\n| highlight | Bool | Draws an overlay over the selection with the given color. Only useful with alpha. |\n| noopengl | Bool | Disables OpenGL accelleration, as well as shaders. |\n| nokeyboard | Bool | Disables being able to cancel a selection with the keyboard. |\n| nodecorations | Bool | Set to 0, 1 or 2. Enables different methods for removing window frame decorations. |\n| shaders | List | A list of shader names. Example [\"wiggle\", \"blur1\", \"blur2\"]. Requires files, see slop website. |\n| r | Float | The red component of the rectangle color. |\n| g | Float | The green component of the rectangle color. |\n| b | Float | The blue component of the rectangle color. |\n| a | Float | The alpha component of the rectangle color. |\n| xdisplay | String | The desired X display string. |\n| quiet | Bool | If set to true, keeps slop from printing info to std::cout. |\n\n## Installation\n\nWindows: `python setup.py install`\nLinux: `sudo python setup.py install`", "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/naelstrof/slop-python", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "slop", "package_url": "https://pypi.org/project/slop/", "platform": "", "project_url": "https://pypi.org/project/slop/", "project_urls": { "Homepage": "https://github.com/naelstrof/slop-python" }, "release_url": "https://pypi.org/project/slop/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "slop bindings for Python", "version": "0.0.1" }, "last_serial": 3999224, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "c192b66c07e8282864f0df3714977675", "sha256": "844235c27acb38c3108e4a757bba197b7b2eed05106fd995af4fd29c71b17a0c" }, "downloads": -1, "filename": "slop-0.0.1.tar.gz", "has_sig": false, "md5_digest": "c192b66c07e8282864f0df3714977675", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2747, "upload_time": "2018-06-25T06:03:16", "url": "https://files.pythonhosted.org/packages/5b/8a/41bf601b79ce15e764ab0bc744825400e57e15545567219a4f0d48676632/slop-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c192b66c07e8282864f0df3714977675", "sha256": "844235c27acb38c3108e4a757bba197b7b2eed05106fd995af4fd29c71b17a0c" }, "downloads": -1, "filename": "slop-0.0.1.tar.gz", "has_sig": false, "md5_digest": "c192b66c07e8282864f0df3714977675", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2747, "upload_time": "2018-06-25T06:03:16", "url": "https://files.pythonhosted.org/packages/5b/8a/41bf601b79ce15e764ab0bc744825400e57e15545567219a4f0d48676632/slop-0.0.1.tar.gz" } ] }