{ "info": { "author": "Vikas Yadav", "author_email": "v1k45x@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "==================\npython-qBittorrent\n==================\n\n.. image:: https://readthedocs.org/projects/python-qbittorrent/badge/?version=latest\n :target: http://python-qbittorrent.readthedocs.org/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://badge.fury.io/py/python-qbittorrent.svg\n :target: https://badge.fury.io/py/python-qbittorrent\n\nPython wrapper for qBittorrent Web API (for versions above v3.1.x).\n\nFor qBittorrent clients with earlier versions, use *mookfist's* `python-qbittorrent `__.\n\nThis wrapper is based on the methods described in `qBittorrent's Official Web API Documentation `__\n\nSome methods are only supported in qBittorent's latest version (v3.3.1 when writing).\n\nIt'll be best if you upgrade your client to a latest version.\n\nInstallation\n============\n\nThe best way is to install a stable release from PyPI::\n\n $ pip install python-qbittorrent\n\nYou can also stay on the bleeding edge of the package::\n\n $ git clone https://github.com/v1k45/python-qBittorrent.git\n $ cd python-qBittorrent\n $ python setup.py install\n\nQuick usage guide\n=================\n.. code-block:: python\n\n from qbittorrent import Client\n\n qb = Client('http://127.0.0.1:8080/')\n\n qb.login('admin', 'your-secret-password')\n # not required when 'Bypass from localhost' setting is active.\n # defaults to admin:admin.\n # to use defaults, just do qb.login()\n\n torrents = qb.torrents()\n\n for torrent in torrents:\n print torrent['name']\n\nAPI methods\n===========\n\nGetting torrents\n----------------\n\n- Get all ``active`` torrents::\n\n qb.torrents()\n\n- Filter torrents::\n\n qb.torrents(filter='downloading', category='my category')\n # This will return all torrents which are currently\n # downloading and are labeled as ``my category``.\n\n qb.torrents(filter='paused', sort='ratio')\n # This will return all paused torrents sorted by their Leech:Seed ratio.\n\nRefer qBittorents WEB API documentation for all possible filters.\n\nDownloading torrents\n--------------------\n\n- Download torrents by link::\n\n magnet_link = \"magnet:?xt=urn:btih:e334ab9ddd91c10938a7.....\"\n qb.download_from_link(magnet_link)\n\n # No matter the link is correct or not,\n # method will always return empty JSON object.\n\n- Download multipe torrents by list of links::\n\n link_list = [link1, link2, link3]\n qb.download_from_link(link_list)\n\n- Downloading torrents by file::\n\n torrent_file = open('my-torrent-file.torrent', 'rb')\n qb.download_from_file(torrent_file)\n\n- Downloading multiple torrents by using files::\n\n torrent_file_list = [open('1.torrent', 'rb'), open('2.torrent', 'rb')]\n qb.download_from_file(torrent_file_list)\n\n- Specifing save path for downloads::\n\n dl_path = '/home/user/Downloads/special-dir/'\n qb.download_from_file(myfile, savepath=dl_path)\n\n # same for links.\n qb.download_from_link(my_magnet_uri, savepath=dl_path)\n\n- Applying labels to downloads::\n\n qb.download_from_file(myfile, label='secret-files ;) ')\n\n # same for links.\n qb.download_from_link(my_magnet_uri, category='anime')\n\nPause / Resume torrents\n-----------------------\n\n- Pausing/ Resuming all torrents::\n\n qb.pause_all()\n qb.resume_all()\n\n- Pausing/ Resuming a speicific torrent::\n\n info_hash = 'e334ab9ddd....infohash....5d7fff526cb4'\n qb.pause(info_hash)\n qb.resume(info_hash)\n\n- Pausing/ Resuming multiple torrents::\n\n info_hash_list = ['e334ab9ddd9......infohash......fff526cb4',\n 'c9dc36f46d9......infohash......90ebebc46',\n '4c859243615......infohash......8b1f20108']\n\n qb.pause_multiple(info_hash_list)\n qb.resume_multipe(info_hash_list)\n\n\nFull API method documentation\n=============================\n\nAll API methods of qBittorrent are mentioned @ `Read the docs `__\n\nAuthors\n=======\n\nMaintainer\n----------\n\n- `Vikas Yadav (v1k45) `__\n\nContributors\n------------\n\n*By chronological order*\n\n- `Matt Smith (psykzz) `__\n- `Nicolas Wright (dozedoff) `__\n- `sbivol `__\n- Your name here :)\n\nTODO\n====\n\n- Write tests", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/v1k45/python-qbittorrent", "keywords": "torrent,qBittorent,API,wrapper", "license": "The MIT License", "maintainer": "", "maintainer_email": "", "name": "python-qbittorrent", "package_url": "https://pypi.org/project/python-qbittorrent/", "platform": "OS Independent", "project_url": "https://pypi.org/project/python-qbittorrent/", "project_urls": { "Homepage": "https://github.com/v1k45/python-qbittorrent" }, "release_url": "https://pypi.org/project/python-qbittorrent/0.3.1/", "requires_dist": null, "requires_python": "", "summary": "Python wrapper for qBittorrent >3.1.x", "version": "0.3.1" }, "last_serial": 2724091, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "6518232ea8eae2535f4e817c3252ea70", "sha256": "abb22ca6b50baf867323f79a43cd2bc3a8264f6798716cad6c3e987e0fc111b2" }, "downloads": -1, "filename": "python-qbittorrent-0.1.tar.gz", "has_sig": false, "md5_digest": "6518232ea8eae2535f4e817c3252ea70", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6120, "upload_time": "2015-12-25T13:15:58", "url": "https://files.pythonhosted.org/packages/43/39/746d7179dd5bc95e23eb16663db3155f41b29a7ce7c338c99f3e7a712786/python-qbittorrent-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "f767f2aa039a2de0a1cee247fd2ee6fd", "sha256": "aa81bdc80442bee915df31f1dc71ec703a9ba632cff8fd00db2be574d54676a6" }, "downloads": -1, "filename": "python-qbittorrent-0.1.1.tar.gz", "has_sig": false, "md5_digest": "f767f2aa039a2de0a1cee247fd2ee6fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6292, "upload_time": "2015-12-25T13:42:24", "url": "https://files.pythonhosted.org/packages/39/de/bbfea7e06df5f3b8488aade0f39dfb30a0efca6087413d010491417c4d07/python-qbittorrent-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "b7df198a5eb9a33c5160ed71169a160f", "sha256": "dac77bb9e182ba12836f9f8e2c1c18a17d8d4b5b0ef95ef4ad4c35d9974b835d" }, "downloads": -1, "filename": "python-qbittorrent-0.1.2.tar.gz", "has_sig": false, "md5_digest": "b7df198a5eb9a33c5160ed71169a160f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7099, "upload_time": "2015-12-25T14:38:14", "url": "https://files.pythonhosted.org/packages/b9/a9/d322a57f4b0d1f1430a6891868429999941d78a7911cfb4d0a26659a439d/python-qbittorrent-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "338b372f655e414d9d8956eb3c9b0fff", "sha256": "687cb35fd775166614f01eeed7a938a5f6d36144c2a82a726c8c1e55da0fa624" }, "downloads": -1, "filename": "python-qbittorrent-0.1.3.tar.gz", "has_sig": false, "md5_digest": "338b372f655e414d9d8956eb3c9b0fff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7806, "upload_time": "2015-12-27T12:30:17", "url": "https://files.pythonhosted.org/packages/ce/81/ac898e59f3fcbde2b364ee1876a4ec87c4c9ab3018b757ea645e866613ef/python-qbittorrent-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "81bc3e7e653181c733f755e01e0bf8a7", "sha256": "3ba512d87741a50b02bc1ea2885d895f2c2c01612ab7a3013aa010ee3f0dff65" }, "downloads": -1, "filename": "python-qbittorrent-0.1.4.tar.gz", "has_sig": false, "md5_digest": "81bc3e7e653181c733f755e01e0bf8a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7881, "upload_time": "2015-12-31T07:02:31", "url": "https://files.pythonhosted.org/packages/8c/a8/1913f331a4fb8b98136b20aa09b6e4bea4ee138b7351a2f071c060cb94f3/python-qbittorrent-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "0e4db008660a26526a3dc7531d63a704", "sha256": "08a303e0fd5d8bfe6999c605124f0ca1dd535d4766e6840c055ff48fb3a3bd65" }, "downloads": -1, "filename": "python-qbittorrent-0.1.5.tar.gz", "has_sig": false, "md5_digest": "0e4db008660a26526a3dc7531d63a704", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7919, "upload_time": "2016-01-21T09:07:34", "url": "https://files.pythonhosted.org/packages/1d/5c/2458ef95f1a891a51b5f34936be693983770f6b38cf7d92a6d46e0b224d5/python-qbittorrent-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "a5706965550b98d58312ccf7f2751b03", "sha256": "e1bc37981d410f945e02906d907ed8095e4b8edb62355cd4cba21235a108fb2b" }, "downloads": -1, "filename": "python-qbittorrent-0.1.6.tar.gz", "has_sig": false, "md5_digest": "a5706965550b98d58312ccf7f2751b03", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8038, "upload_time": "2016-03-11T10:52:47", "url": "https://files.pythonhosted.org/packages/98/fa/3e154dc97fe0d82640ab56baf7662e66a6a8be711123a97514e5da524be3/python-qbittorrent-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "bb24df69282bfdc9a0fe1eee86bc28b2", "sha256": "15fa25056b3c968fcc9af83df7fd94ea44e98817dbb08d5b2ff33b47f712fe18" }, "downloads": -1, "filename": "python-qbittorrent-0.1.7.tar.gz", "has_sig": false, "md5_digest": "bb24df69282bfdc9a0fe1eee86bc28b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8027, "upload_time": "2016-03-28T05:28:28", "url": "https://files.pythonhosted.org/packages/44/65/7714ec4b9b6c4af45d2593d1bb2917eaa0b70f3e5f14f726aa6f648732bd/python-qbittorrent-0.1.7.tar.gz" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "db17bf4175eba903030a299c6e0d0019", "sha256": "34e7342a001152a354213fe406d8a97f28a372af33877eb4befddaa734366a99" }, "downloads": -1, "filename": "python-qbittorrent-0.1.8.tar.gz", "has_sig": false, "md5_digest": "db17bf4175eba903030a299c6e0d0019", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8079, "upload_time": "2016-04-05T13:12:15", "url": "https://files.pythonhosted.org/packages/00/d4/6d346402fc671699d1027123c758c2847882b5380dd6ad4d3ac580abc23e/python-qbittorrent-0.1.8.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "330a3b72da171ace19cda7515badcf5c", "sha256": "8f409d69ae22bff31bb1c9664fd0b622be3b26a44ad8f0f4eb085705e8cb3561" }, "downloads": -1, "filename": "python-qbittorrent-0.2.tar.gz", "has_sig": false, "md5_digest": "330a3b72da171ace19cda7515badcf5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8064, "upload_time": "2017-01-16T07:10:38", "url": "https://files.pythonhosted.org/packages/16/16/8a05256694cef17bc4c80c4c1e05b4342867326b4b4d45c9764e78eab3c1/python-qbittorrent-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "03b9fed104ee4bf766366634eecb462a", "sha256": "562968ade6fa8ef5d557d568374f6573e05d988748ddbc2ad6a877691a27c9f6" }, "downloads": -1, "filename": "python-qbittorrent-0.3.tar.gz", "has_sig": false, "md5_digest": "03b9fed104ee4bf766366634eecb462a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8085, "upload_time": "2017-01-25T14:59:14", "url": "https://files.pythonhosted.org/packages/f4/c6/67224f9aa0054d3702802192323010f27992dbe44bbce6f2018f74f78fa9/python-qbittorrent-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "7418a99829cfba71e76964bf22442cfe", "sha256": "63887903561217650ef2c7167935cdd6abe17d17106c88272e2b7864eb970e41" }, "downloads": -1, "filename": "python-qbittorrent-0.3.1.tar.gz", "has_sig": false, "md5_digest": "7418a99829cfba71e76964bf22442cfe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8166, "upload_time": "2017-03-22T19:33:01", "url": "https://files.pythonhosted.org/packages/2a/39/a0781dd5698f42a6eec513c1226ce6793f2c8fa67c2cc3d1f37e459291ae/python-qbittorrent-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7418a99829cfba71e76964bf22442cfe", "sha256": "63887903561217650ef2c7167935cdd6abe17d17106c88272e2b7864eb970e41" }, "downloads": -1, "filename": "python-qbittorrent-0.3.1.tar.gz", "has_sig": false, "md5_digest": "7418a99829cfba71e76964bf22442cfe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8166, "upload_time": "2017-03-22T19:33:01", "url": "https://files.pythonhosted.org/packages/2a/39/a0781dd5698f42a6eec513c1226ce6793f2c8fa67c2cc3d1f37e459291ae/python-qbittorrent-0.3.1.tar.gz" } ] }