Snapshot of houtianze/bypy: 8.6k★, Python. Python client for Baidu Yun (Personal Cloud Storage) 百度云/百度网盘Python客户端
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
This is a Python client for Baidu Yun (a.k.a PCS - Personal Cloud Storage), an online storage website offering 2 TB (fast) free personal storage. This main purpose is to be able to utilize this storage service under Linux environment (console), e.g. Raspberry Pi.
Due to Baidu PC permission restrictions, this program can only access your /apps/bypy directory at Baidu PCS
(Fixed) It's said the Baidu PCS API won't return more than 1000 items inside a directory ( #285 ),if this is true,you won't be able to see / download some files if you have a directory with more than 1000 files on Baidu Cloud
Features: Unicode / Chinese support; Retry on failures; Recursive down/up-load; Directory comparison; Hash caching.
Prerequisite
Important: You need to set you system locale encoding to UTF-8 for this to work (You can refer here: http://perlgeek.de/en/article/set-up-a-clean-utf8-environment)
Installation
pip install bypy (Supports Python 2.7+, 3.3+)
Usage
Standalone program
Simply run bypy (or python -m bypy, or python3 -m bypy)
You will see all the commands and parameters it supports
As a package in your code
import bypy
Simple GUI:
Run bypygui
Getting started
To get help and a list of available commands:
bypy
To authorize for first time use, run any commands e.g. bypy info and follow the instructions (login etc). This is a one-time requirement only.
To get more details about certain command:
bypy help <command>
List files at (App's) root directory at Baidu PCS:
bypy list
To sync up to the cloud (from the current directory):
bypy syncup
or
bypy upload
To sync down from the cloud (to the current directory):
bypy syncdown
or
bypy downdir /
To compare the current directory to (App's) root directory at Baidu PCS (which I think is very useful):
bypy compare
To get more information about the commands, check the output of bypy.
Debug
Add in -v parameter, it will print more details about the progress.
Add in -d parameter, it will print some debug messages.
Add in -ddd, it will display HTTP messages as well (Warning: A lot)
Integration Test (15-30min)
(In the project root directory) run: python -m bypy.test
To call from Python code
from bypy import ByPy
bp=ByPy()
bp.list() # or whatever instance methods of ByPy class
Tips / Sharing
Please go to wiki
License
Please refer to LICENSE
PCS API Document (link dead 404): http://developer.baidu.com/wiki/index.php?title=docs/pcs/rest/file_data_apis_list (Offline pdf retrieved before: baidudoc directory)
The most recent commit recorded on houtianze/bypy was 1.6 years ago, based on the GitHub push timestamp. The repository has 1.4k forks — one of the better signals of community interest.
How many stars does houtianze/bypy have?
houtianze/bypy has 8.6k GitHub stars — refresh the page for the live number, or check github.com/houtianze/bypy. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is houtianze/bypy open source?
Yes — houtianze/bypy ships under the MIT license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/houtianze/bypy.
What is houtianze/bypy?
houtianze/bypy (houtianze/bypy) is a Python project on GitHub. From the project's own README: Python client for Baidu Yun (Personal Cloud Storage) 百度云/百度网盘Python客户端
Where do I read more about houtianze/bypy?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/houtianze/bypy is the definitive source.
Read full README in the tab above.
Still deciding about bypy?
One click hands the question to an AI along with this page — see what it says about bypy.