百度网盘 SDK,提供文件上传、下载、列表等功能的 Python 接口
Project description
百度网盘 SDK
这是一个用于操作百度网盘的 Python SDK,提供了文件上传、下载、列表等功能。
安装
pip install pan-baidu-sdk
使用方法
from pan_baidu_sdk import BaiduPan
# 初始化客户端
client = BaiduPan()
# 上传文件
client.upload_file("本地文件路径", "网盘目标路径")
# 下载文件
client.download_file("网盘文件路径", "本地保存路径")
# 获取文件列表
files = client.list_files("网盘目录路径")
功能特性
- 文件上传
- 文件下载
- 文件列表
- 用户信息查询
依赖要求
- Python >= 3.12
- requests >= 2.32.3
许可证
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pan_baidu_sdk-0.1.0.tar.gz
(52.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pan_baidu_sdk-0.1.0.tar.gz.
File metadata
- Download URL: pan_baidu_sdk-0.1.0.tar.gz
- Upload date:
- Size: 52.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0ad1f2686d2dc070f2d9ab586c5ed927a2fc83850378a185743bcf57dd0fec3
|
|
| MD5 |
65dc94daf722aa01f8c89e5a9282210f
|
|
| BLAKE2b-256 |
4f8658769b76751d62487fb996a2daeb3709950a09705b5999a3fc5d12a5305d
|
File details
Details for the file pan_baidu_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pan_baidu_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 81.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55737f59a18d28ad11b40b2d440dd3c12e1cc7f5eb9fab906e924ca3c9d2c450
|
|
| MD5 |
a0ca6a677e807c0aa22e27408f79b659
|
|
| BLAKE2b-256 |
03afe8179a6347ebeb713d69436619fd3724c3b631f7296dcdb339a5eea9de97
|