Skip to main content

Unofficial Python API wrapper for

Project description

Build PyPI version

115 Wangpan (115网盘 or 115云) is an unofficial Python API and SDK for Supported Python verisons are 2.6, 2.7, 3.3, 3.4.


  • Authentication

  • Persistent session

  • Tasks management: BitTorrent and links

  • Files management: uploading, downloading, searching, and editing


libcurl is required. Install dependencies before installing the python package:


$ sudo apt-get install build-essential libcurl4-openssl-dev python-dev


$ sudo yum groupinstall "Development Tools"
$ sudo yum install libcurl libcurl-devel python-devel

Then, you can install with pip:

$ pip install 115wangpan

Or, if you want to install the latest from GitHub:

$ pip install git+


>>> import u115
>>> api = u115.API()
>>> api.login('', 'password')
>>> tasks = api.get_tasks()
>>> task = tasks[0]
>>> print
-Saki- 阿知賀編 episode of side-A
>>> print task.status_human
>>> print task.size_human
1.6 GiB
>>> files = task.list()
>>> files
[<File: 第8局 修行.mkv>]
>>> f = files[0]
>>> f.url
<Directory: -Saki- 阿知賀編 episode of side-A>
<Directory: 离线下载>

CLI commands

  • 115 down: for downloading files

  • 115 up: for creating tasks from torrents and links

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

115wangpan-0.7.6.tar.gz (22.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page