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: http://docs.python-requests.org/en/master/user/advanced/#proxies) 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


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

bypy-1.2.22.tar.gz (55.9 kB view hashes)

Uploaded Source

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