Skip to content

Commit

Permalink
Add in code sample (Close houtianze#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
houtianze committed Jun 18, 2017
1 parent 5523f07 commit f2f2d3b
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ bypy - Python client for Baidu Yun (Personal Cloud Storage) 百度云/百度网
中文说明 (English readme is at the bottom)
---

:smile: 目录上传/下载/同步加入了多进程支持(`--processes`
- 最新: 目录上传/下载/同步加入了多进程支持(`--processes`
---
这是一个百度云/百度网盘的Python客户端。主要的目的就是在Linux环境下(Windows下应该也可用,但没有仔细测试过)通过命令行来使用百度云盘的2TB的巨大空间。比如,你可以用在Raspberry Pi树莓派上。它提供文件列表、下载、上传、比较、向上同步、向下同步,等操作。

Expand Down Expand Up @@ -101,6 +101,14 @@ bypy compare
---
请移步至[wiki](../../wiki),方便分享/交流。

直接在Python程序中调用
----
```python
from bypy import ByPy
bp=ByPy()
bp.list() # or whatever instance methods of ByPy class
```

授权许可
---
请阅: [LICENSE](LICENSE)
Expand All @@ -110,7 +118,7 @@ bypy compare
Introduction
---

:smile: Multiprocessing added to directory upload / download / sync(`--processes`
- Latest feature: Multiprocessing added to directory upload / download / sync(`--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.

Expand Down Expand Up @@ -198,6 +206,15 @@ Tips / Sharing
---
Please go to [wiki](../../wiki)

To call from Python code
----
```python
from bypy import ByPy
bp=ByPy()
bp.list() # or whatever instance methods of ByPy class
```


License
---

Expand Down

0 comments on commit f2f2d3b

Please sign in to comment.