Skip to main content

百度网盘 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


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.1.tar.gz (53.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pan_baidu_sdk-0.1.1-py3-none-any.whl (81.9 kB view details)

Uploaded Python 3

File details

Details for the file pan_baidu_sdk-0.1.1.tar.gz.

File metadata

  • Download URL: pan_baidu_sdk-0.1.1.tar.gz
  • Upload date:
  • Size: 53.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for pan_baidu_sdk-0.1.1.tar.gz
Algorithm Hash digest
SHA256 01f47b7cc7fc127ee7ddeb8245a5f63ec41adfb236e992dd8b18267f91ed2937
MD5 4664e5abd7626b3a55940b49b620ac74
BLAKE2b-256 d6a1ab5a6ca8620a8125aa46f8ea1fd5f2d1248393149d341ff63162655d1611

See more details on using hashes here.

File details

Details for the file pan_baidu_sdk-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pan_baidu_sdk-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 81.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for pan_baidu_sdk-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c45e6b41ee5c24d334a4bba4a1cea02a3de3ddede461ee23b8868163e9ec49f7
MD5 66ba327db662812b9d2adf7894d9c519
BLAKE2b-256 f8a6674d7a9e0441d2062164257def8fd63bd25a9a2150af0a10d94417617abe

See more details on using hashes here.

Supported by

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