Number of watchers on Github | 3586 |
Number of open issues | 12 |
Average time to close an issue | 7 days |
Main language | Python |
Average time to merge a PR | 8 days |
Open pull requests | 4+ |
Closed pull requests | 7+ |
Last commit | over 1 year ago |
Repo Created | almost 6 years ago |
Repo Last Updated | over 1 year ago |
Size | 1.89 MB |
Organization / Author | houtianze |
Contributors | 16 |
Page Updated | 2018-03-12 |
Do you use bypy? Leave a review! | |
View open issues (12) | |
View bypy activity | |
View on github | |
Fresh, new opensource launches 🚀🚀🚀 | |
Trendy new open source projects in your inbox!
View examples
|
pip install bypy
bypy
pip install bypy
bypy
*bug __ *
This is project is now in maintenance
mode: NO new features will be added, and may be updated only if critical bugs are found.
--processes
/PythonLinuxWindows2TBRaspberry Pi
PCS API/apps/bypy
~~PCS API1000 #285 )1000 / ~~
*: Unicode//; *
Raspberry Pi
UTF-8http://perlgeek.de/en/article/set-up-a-clean-utf8-environment)
pip
pip install bypy
Python 2.7+, 3.3+): bypy
(python -m bypy
python3 -m bypy
: import bypy
bypygui
:
bypy
bypy info
.
bypy help <command>
bypy list
bypy syncup
or
bypy upload
bypy syncdown
or
bypy downdir /
bypy compare
bypy
-v
-d
-ddd
HTTP****wiki/
from bypy import ByPy
bp=ByPy()
bp.list() # or whatever instance methods of ByPy class
: LICENSE
PCS API: http://developer.baidu.com/wiki/index.php?title=docs/pcs/rest/file_data_apis_list ( baidudoc directory)
--processes
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 stoarge service under Linux environment (console), e.g. Raspberry Pi.
Due to Baidu PC permission restrictions, this program can only access your /apps/bypy
directoy 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 trueyou 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.
Important: You need to set you system locale encoding to UTF-8 for this to work (You can refere here: http://perlgeek.de/en/article/set-up-a-clean-utf8-environment)
pip install bypy
(Supports Python 2.7+, 3.3+)Standalone program
bypy
(or python -m bypy
, or python3 -m bypy
You will see all the commands and parameters it supportsAs a package in your code
import bypy
Simple GUI:
Run bypygui
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
.
-v
parameter, it will print more details about the progress.-d
parameter, it will print some debug messages.-ddd
, it will display HTTP messages as well (Warning: A lot
Please go to wiki
from bypy import ByPy
bp=ByPy()
bp.list() # or whatever instance methods of ByPy class
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)