{ "info": { "author": "wooddance", "author_email": "zireael.me@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], "description": "115 Wangpan\n===========\n\n|PyPI version|\n\n115 Wangpan (115\u7f51\u76d8 or 115\u4e91) is an unofficial Python API and SDK for 115.com. Supported Python verisons are 2.6, 2.7, 3.3, 3.4.\n\n* Documentation: http://115wangpan.readthedocs.org\n* GitHub: https://github.com/shichao-an/115wangpan\n* PyPI: https://pypi.python.org/pypi/115wangpan/\n\nFeatures\n--------\n\n* Authentication\n* Persistent session\n* Tasks management: BitTorrent and links\n* Files management: uploading, downloading, searching, and editing\n\nInstallation\n------------\n\n`libcurl `_ is required. Install dependencies before installing the python package:\n\nUbuntu:\n\n.. code-block:: bash\n\n $ sudo apt-get install build-essential libcurl4-openssl-dev python-dev\n\nFedora:\n\n.. code-block:: bash\n\n $ sudo yum groupinstall \"Development Tools\"\n $ sudo yum install libcurl libcurl-devel python-devel\n\n\nThen, you can install with pip:\n\n.. code-block:: bash\n\n $ pip install 115wangpan\n\nOr, if you want to install the latest from GitHub:\n\n.. code-block:: bash\n\n $ pip install git+https://github.com/shichao-an/115wangpan\n\nUsage\n-----\n\n.. code-block:: python\n\n >>> import u115\n >>> api = u115.API()\n >>> api.login('username@example.com', 'password')\n True\n >>> tasks = api.get_tasks()\n >>> task = tasks[0]\n >>> print task.name\n \u54b2-Saki- \u963f\u77e5\u8cc0\u7de8 episode of side-A\n >>> print task.status_human\n TRANSFERRED\n >>> print task.size_human\n 1.6 GiB\n >>> files = task.list()\n >>> files\n []\n >>> f = files[0]\n >>> f.url\n u'http://cdnuni.115.com/some-very-long-url.mkv'\n >>> f.directory\n \n >>> f.directory.parent\n \n\n\nCLI commands \n------------\n\n* 115 down: for downloading files\n* 115 up: for creating tasks from torrents and links\n\n\n\n.. |PyPI version| image:: https://img.shields.io/pypi/v/115wangpan.png\n :target: https://pypi.python.org/pypi/115wangpan/", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/wooddance/pan2", "keywords": "115 wangpan pan cloud lixian", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "pan2", "package_url": "https://pypi.org/project/pan2/", "platform": "", "project_url": "https://pypi.org/project/pan2/", "project_urls": { "Homepage": "https://github.com/wooddance/pan2" }, "release_url": "https://pypi.org/project/pan2/0.8.0/", "requires_dist": null, "requires_python": "", "summary": "Unofficial Python API wrapper for 115.com", "version": "0.8.0" }, "last_serial": 5571230, "releases": { "0.8.0": [ { "comment_text": "", "digests": { "md5": "92193715b0fd379f4dbb8d11ddc6ff49", "sha256": "290924c2bbc410b13ee58e4edfcb645ecc897f08cedcef929ea6ad90b99121f6" }, "downloads": -1, "filename": "pan2-0.8.0.tar.gz", "has_sig": false, "md5_digest": "92193715b0fd379f4dbb8d11ddc6ff49", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22434, "upload_time": "2019-07-23T08:44:56", "url": "https://files.pythonhosted.org/packages/1d/2c/94c969be75b37dc221cde2862f6f46bca4bf1223fe63ee1d1018290c60a3/pan2-0.8.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "92193715b0fd379f4dbb8d11ddc6ff49", "sha256": "290924c2bbc410b13ee58e4edfcb645ecc897f08cedcef929ea6ad90b99121f6" }, "downloads": -1, "filename": "pan2-0.8.0.tar.gz", "has_sig": false, "md5_digest": "92193715b0fd379f4dbb8d11ddc6ff49", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22434, "upload_time": "2019-07-23T08:44:56", "url": "https://files.pythonhosted.org/packages/1d/2c/94c969be75b37dc221cde2862f6f46bca4bf1223fe63ee1d1018290c60a3/pan2-0.8.0.tar.gz" } ] }