Điểm qua houtianze/bypy: 8.6k sao trên GitHub, viết chủ yếu bằng Python. Python client for Baidu Yun (Personal Cloud Storage) 百度云/百度网盘Python客户端
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
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)
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/houtianze/bypy là nguồn chính thức.
houtianze/bypy có bao nhiêu sao?
houtianze/bypy có 8.6k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/houtianze/bypy. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
houtianze/bypy có phải mã nguồn mở không?
Có — houtianze/bypy phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/houtianze/bypy.
houtianze/bypy còn đang phát triển không?
Commit gần nhất trên houtianze/bypy là 1.6 năm trước (theo timestamp GitHub). Repo có 1.4k fork — một chỉ báo về mức độ quan tâm của cộng đồng.
houtianze/bypy là gì?
houtianze/bypy (houtianze/bypy) là dự án Python trên GitHub. Theo mô tả gốc: Python client for Baidu Yun (Personal Cloud Storage) 百度云/百度网盘Python客户端
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về bypy?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về bypy.