Skip to main content

Unofficial Python API wrapper for

Project description

Build PyPI version

115 Wangpan (115网盘) is an unofficial Python API for, mainly pertinent to its “lixian” (offline) features. Currently, only limited features have been implemented. Supported Python verisons are 2.6, 2.7 and 3.3.


  • Authentication
  • Tasks management (BitTorrent currently supported)
  • File management


Install dependencies before installing the python package:


$ sudo apt-get install 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


>>> 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.get_download_url()
<Directory: -Saki- 阿知賀編 episode of side-A>
<Directory: 离线下载>

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
115wangpan-0.2.2.tar.gz (14.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page