Skip to main content

Python wrapper for `baidu webdisk <https://pan.baidu.com>`.

Project description

百度网盘 Web API 的 Python 封装

PyPI - Python Version PyPI - Version PyPI - Downloads PyPI - Format PyPI - Status

安装

通过 pypi

pip install -U python-dupan

入门介绍

1. 导入模块和创建实例

导入模块

from dupan import DuPanClient

创建客户端对象,需要传入 cookie,如果不传或者 cookie 失效,则需要扫码登录

cookie = "BDUSS=...;STOKEN=..."
client = DuPanClient(cookie)

文档

正在编写中

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

python_dupan-0.0.0.8.tar.gz (11.6 kB view hashes)

Uploaded Source

Built Distribution

python_dupan-0.0.0.8-py3-none-any.whl (13.3 kB view hashes)

Uploaded Python 3

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