Skip to main content

Python client for Baidu Yun (Personal Cloud Storage) 百度云/百度网盘 Python 客户端

Project description

It provides file operations like: list, download, upload, syncup, syncdown, etc.

The main purpose is to utilize Baidu Yun in Linux environments (e.g. Raspberry Pi)

== NOTE == Proxy is supported by the underlying Requests library, you can activate HTTP proxies by setting the HTTP_PROXY and HTTPS_PROXY environment variables respectively as follows: HTTP_PROXY=http://user:password@domain HTTPS_PROXY=http://user:password@domain (More information: Though from my experience, it seems that some proxy servers may not be supported properly.

### Version History:

  • 1.2.22: Fix “TypeError: b’xxxxxx’ is not JSON serializable” for cache
  • 1.2.21: Support aria2 downloading resuming (disable preallocation)
  • 1.2.20: Fix an error in upload resuming; Add in retries for aria2
  • 1.2.19: Add in aria2 download support
  • 1.2.18: Add in upload resuming using slices; Fix Unicode issue with py2_jsondump(); Fix the pypi setup package
  • 1.2.17: Fix UnicodeEncodeError on redirect; Add in retry on urllib3 TimeOutError
  • 1.2.16: Add in proxy prompts
  • 1.2.15: Fix a severe bug (accidental directory deletion) in download command intoduced in 1.2.14
  • 1.2.14: Add in download command
  • 1.2.13: Remove argcomplete; Improve encoding handling prompting
  • 1.2.12: Add in (optional) argcomplete
  • 1.2.11: Fix Exception in error dump introduced in 1.2.10
  • 1.2.10: Handle (32, ‘EPIPE’); Warn LOUDLY on encoding failures; Remove ‘is_revision’
  • 1.2.9: Fix formatex() Syntax Error; Handle (110, ‘ETIMEDOUT’)
  • 1.2.8: Fix a Syntax Error; Handle {‘error_code’: 0, ‘error_msg’: ‘no error’}
  • 1.2.7: Fix Hash Cache JSON saving (need to using string for Hashes)
  • 1.2.6: Fix Hash Cache JSON dumping (Unicode again)
  • 1.2.5: Add in offline (cloud) download; Fix stack printing
  • 1.2.4: Fix command line parsing for Python 3 (Unicode by default)
  • 1.2.3: Fix GUI for Python 3
  • 1.2.2: Fix division for Python 3
  • 1.2.1: Make it universal (Python 2 & 3 compatible)
  • 1.0.20: Initial release

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
bypy-1.2.22.tar.gz (55.9 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