{ "info": { "author": "Michael Hadam", "author_email": "michael@hadam.us", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "Clutch\n======\n\n``clutch`` is a `Python `__ library for controlling\n`Transmission `__.\n\n``clutch`` is compatible with both Python2 and Python3.\n\nTo install:\n\n::\n\n pip install transmission-clutch\n\nTo use:\n\n::\n\n >>> from clutch.core import Client\n\n``clutch`` was designed to be a more lightweight and consistent\n`Transmission `__ RPC library than what\nwas currently available for `Python `__. Instead of\nsimply using the keys/fields in the `Transmission RPC\nspec `__\nwhich have a mix of dashed separated words and mixed case words,\n``clutch`` tries to convert all keys to be more Pythonic: underscore\nseparated words. This conversion is done so that it is still possible to\nspecify the fields/argument specified in the `Transmission RPC\nspec `__,\nbut if you do so your mileage may vary *(probably want to avoid it)*.\n\n``clutch`` is designed to work with all versions of\n`Transmission `__, but for renamed\nfields before and after Transmission version 1.60 (`RPC\nv5 `__)\nyou must specify the correct argument names (no automatic renames).\n\nTo use ``clutch`` to control a default ``transmission-daemon`` on\n``localhost``:\n\n::\n\n >>> client = Client()\n >>> client.list()\n\nwhich produces a list of dictionaries with the torrent information (keys\nare the fields: client.list\\_fields), and is synonymous to calling\n\n::\n\n >>> client.torrent.get(client.list_fields)\n\nTo use different connection information:\n\n- complete path\n\n ::\n\n >>> client = Client(address=\"https://host:port/path\")\n\n- default URL, but port change to 8080\n\n ::\n\n >>> client = Client(port=8080)\n\n- default URL, but different host\n\n ::\n\n >>> client = Client(host=\"github.com\")\n\n- default URL, but use a username and password\n\n ::\n\n >>> client = Client(username='username', password='password')\n\n``clutch``'s RPC methods are namespaced into four sections:\n\n`Client `__:\n\n- port\\_test -- return if transmission port is open.\n- blocklist\\_update -- update block list and return block list size.\n- *list* (``torrent.get`` helper) -- list basic torrent info for all\n torrents.\n\n`Client.queue `__:\n\n- move\\_bottom -- move torrent to bottom of the queue.\n- move\\_down -- move torrent down in the queue.\n- move\\_top -- move torrent to the top of the queue.\n- move\\_up -- move torrent up in the queue.\n\n`Client.session `__:\n\n- close -- shutdown the Transmission daemon.\n- get -- get session properties.\n- set -- set session properties.\n- stats -- get session statistics.\n\n`Client.torrent `__:\n\n- add -- add a new torrent.\n- get -- get torrent properties.\n- *files* (``torrent.get`` helper) -- get file information for one or\n more torrents.\n- *percent\\_done* (``torrent.get`` helper) -- get torrent percent done\n for one or more torrents.\n- remove -- remove a torrent from transmission and optionally delete\n the data.\n- set -- set torrent properties.\n- set\\_location -- set/move torrent location.\n\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mhadam/clutch", "keywords": "", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "transmission-clutch", "package_url": "https://pypi.org/project/transmission-clutch/", "platform": "", "project_url": "https://pypi.org/project/transmission-clutch/", "project_urls": { "Bug Tracker": "https://github.com/mhadam/clutch/issues", "Documentation": "https://github.com/mhadam/clutch/wiki", "Homepage": "https://github.com/mhadam/clutch", "Source Code": "https://github.com/mhadam/clutch" }, "release_url": "https://pypi.org/project/transmission-clutch/1.0.5/", "requires_dist": [ "certifi (==2018.1.18)", "chardet (==3.0.4)", "idna (==2.6)", "requests (==2.18.4)", "six (==1.11.0)", "urllib3 (==1.22)" ], "requires_python": "", "summary": "Transmission RPC for Python", "version": "1.0.5" }, "last_serial": 3573531, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "118c9b71b22c53801315583c3cab07f2", "sha256": "b38cf61ac540b9872d2f1f04f052d32166d302725e3064adb63a868b33223c91" }, "downloads": -1, "filename": "transmission_clutch-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "118c9b71b22c53801315583c3cab07f2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 17594, "upload_time": "2018-02-11T19:59:50", "url": "https://files.pythonhosted.org/packages/8f/e8/52fac89a652047d52f1b56d6748ae69dbf61580e7b33f7a363eed13ffd26/transmission_clutch-1.0.1-py2.py3-none-any.whl" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "cb551880daf75e9b69dda3fdee0df44e", "sha256": "7f11b8c73a3b75075aa22f83da4e55b11760be404f77fdf2e6162be88ab26452" }, "downloads": -1, "filename": "transmission_clutch-1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "cb551880daf75e9b69dda3fdee0df44e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 24513, "upload_time": "2018-02-12T03:15:41", "url": "https://files.pythonhosted.org/packages/5d/ab/5ab2970c610ecd8440a32436109a0a286c43c68d95dcd95ca398b1a373d7/transmission_clutch-1.0.2-py2.py3-none-any.whl" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "24f82cb1efd2fe260f507d392ae40b1a", "sha256": "709685258a16b5f3c1fa33bf98985f11da3dcc5b2f55102aaa7d9cc8ee750fa7" }, "downloads": -1, "filename": "transmission_clutch-1.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "24f82cb1efd2fe260f507d392ae40b1a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 24520, "upload_time": "2018-02-12T04:07:13", "url": "https://files.pythonhosted.org/packages/65/79/5edc767f1058e1984740953e0a6891f786595ebcc3a8b612a72cd27d9fbe/transmission_clutch-1.0.3-py2.py3-none-any.whl" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "91238666479dbb120d067a02ce27b2f1", "sha256": "eb1b4281a49ebd28f066337587113993de5738ad3cbef57c1675a9ea1531b942" }, "downloads": -1, "filename": "transmission_clutch-1.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "91238666479dbb120d067a02ce27b2f1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 24530, "upload_time": "2018-02-12T04:35:44", "url": "https://files.pythonhosted.org/packages/ab/04/9810997ff29ec89430ff51d0beda159a7b84360dfa009e5d5e3f7cbff9e5/transmission_clutch-1.0.4-py2.py3-none-any.whl" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "828cb491f4a8a407aa5c0b82df294549", "sha256": "dbe9673420ae9bf07c00c249c59346d1a0f71023b29297e816d3a2afa1aa716a" }, "downloads": -1, "filename": "transmission_clutch-1.0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "828cb491f4a8a407aa5c0b82df294549", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 24558, "upload_time": "2018-02-12T04:49:41", "url": "https://files.pythonhosted.org/packages/4b/38/c8c9ecd78c26c3b1deb073949f0996cc97c3fb0921b4c45452455543932b/transmission_clutch-1.0.5-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "828cb491f4a8a407aa5c0b82df294549", "sha256": "dbe9673420ae9bf07c00c249c59346d1a0f71023b29297e816d3a2afa1aa716a" }, "downloads": -1, "filename": "transmission_clutch-1.0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "828cb491f4a8a407aa5c0b82df294549", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 24558, "upload_time": "2018-02-12T04:49:41", "url": "https://files.pythonhosted.org/packages/4b/38/c8c9ecd78c26c3b1deb073949f0996cc97c3fb0921b4c45452455543932b/transmission_clutch-1.0.5-py2.py3-none-any.whl" } ] }