{ "info": { "author": "sashgorokhov", "author_email": "sashgorokhov@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "python-nnmclub\n**************\n\n.. image:: https://badge.fury.io/py/python-nnmclub.svg\n :target: https://badge.fury.io/py/python-nnmclub\n\nPython library to search torrents on popular russian torrent tracker.\n\nInstallation\n============\n\nVia pip:\n\n.. code-block:: shell\n\n pip install python-nnmclub\n\nUsage\n=====\n\n.. code-block:: python\n\n import pynnmclub\n nnmclub = pynnmclub.NNMClub()\n results = nnmclub.search(\"Iron Man\")\n\nReturn an iterable with dicts of all torrents found.\n\nTorrent dict is:\n\n.. code-block:: python\n\n {\n 'topic',\n 'detail_url',\n 'download_url',\n 'size', # in bytes\n 'seeders',\n 'leechers',\n 'added', # type: datetime.datetime\n 'views',\n 'messages',\n 'rating_number', # how many people rated this,\n 'rating', # rating. float from 0 to 5\n 'thanks', # how many people thanked this torrent\n }\n\nNOTE: With unathorized client you will be able to fetch only first 50 results of search.\n\nCreate an authorized client:\n\n.. code-block:: python\n\n nnmclub = pynnmclub.NNMClub(username, password)\n\nOr using previously created nnmclub client:\n\n.. code-block:: python\n\n nnmclub.login(username, password)\n\nIf username or password are invalid, whis will raise an ``pynnmclub.InvalidCredentials`` error\n(which is child to ``pynnmclub.NNMClubError``)\n\nThere is also a logger ``pynnmclub`` enabled that logs exceptions and warnings of parsing errors.\nIt also includes a full HTML of errored context as a DEBUG message.\n\n.. :changelog:\n\nHistory\n-------\n\n1.0.0 (2016-05-13)\n++++++++++++++++++\n\n* Fixed setup.py requires option (changed to install_requires)\n* Version bump\n\n0.1.0 (2016-04-11)\n++++++++++++++++++\n\n* Initial PyPI release", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/sashgorokhov/python-nnmclub/archive/master.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sashgorokhov/python-nnmclub", "keywords": "nnm-club,nnmclub,torrent", "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "python-nnmclub", "package_url": "https://pypi.org/project/python-nnmclub/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/python-nnmclub/", "project_urls": { "Download": "https://github.com/sashgorokhov/python-nnmclub/archive/master.zip", "Homepage": "https://github.com/sashgorokhov/python-nnmclub" }, "release_url": "https://pypi.org/project/python-nnmclub/1.0/", "requires_dist": null, "requires_python": null, "summary": "Python library to search torrents on popular russian torrent tracker.", "version": "1.0" }, "last_serial": 2113843, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "7fb6f9896eb09e3017a5c1a8c07b55fb", "sha256": "51a4dbc9324aa1f0e4e5446620ed460322fc7c1d150ec1875d190c23375d5bb9" }, "downloads": -1, "filename": "python-nnmclub-0.1.tar.gz", "has_sig": false, "md5_digest": "7fb6f9896eb09e3017a5c1a8c07b55fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4035, "upload_time": "2016-04-11T13:50:36", "url": "https://files.pythonhosted.org/packages/9f/0a/264408a16f5d5eeec8d8eae0d8d0d6f0ab394d351e013ec7c037f80aad93/python-nnmclub-0.1.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "34bda7bfb7e0e0d317d272d4a8f91962", "sha256": "40c30db82d61d23b3535a595216eb8a8af7f031b2638e0f0277c5a5f5e92b324" }, "downloads": -1, "filename": "python-nnmclub-1.0.zip", "has_sig": false, "md5_digest": "34bda7bfb7e0e0d317d272d4a8f91962", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5748, "upload_time": "2016-05-13T08:33:34", "url": "https://files.pythonhosted.org/packages/a4/2c/9fd1adde752aa6bab289e3445d9447be8ab4472f92aa2a9e023422a8122d/python-nnmclub-1.0.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "34bda7bfb7e0e0d317d272d4a8f91962", "sha256": "40c30db82d61d23b3535a595216eb8a8af7f031b2638e0f0277c5a5f5e92b324" }, "downloads": -1, "filename": "python-nnmclub-1.0.zip", "has_sig": false, "md5_digest": "34bda7bfb7e0e0d317d272d4a8f91962", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5748, "upload_time": "2016-05-13T08:33:34", "url": "https://files.pythonhosted.org/packages/a4/2c/9fd1adde752aa6bab289e3445d9447be8ab4472f92aa2a9e023422a8122d/python-nnmclub-1.0.zip" } ] }