Skip to content

Commit 1edce8e

Browse files
committed
1 parent 36078b2 commit 1edce8e

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

docs/README.gist.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ PutExtra是上传时的可选信息,默认为None
208208
上传文件到七牛(通常是客户端完成,但也可以发生在服务端):
209209

210210
直接上传二进制流
211+
211212
```{python}
212213
@gist(gist/conf.py#config)
213214
@@ -237,6 +238,7 @@ ret是一个字典,含有`hash`,`key`等信息。
237238
我们来看支持了断点上续传、分块并行上传的基本样例:
238239

239240
上传二进制流
241+
240242
```{python}
241243
@gist(gist/conf.py#config)
242244
@@ -246,6 +248,7 @@ ret是一个字典,含有`hash`,`key`等信息。
246248
```
247249

248250
上传本地文件
251+
249252
```{python}
250253
@gist(gist/conf.py#config)
251254
@@ -358,6 +361,7 @@ ret是一个字典,含有`hash`,`key`等信息。
358361

359362
<a name="batch-stat"></a>
360363
##### 批量获取文件信息
364+
361365
```{python}
362366
@gist(gist/conf.py#config)
363367
@@ -370,6 +374,7 @@ ret是一个字典,含有`hash`,`key`等信息。
370374

371375
<a name="batch-copy"></a>
372376
##### 批量复制文件
377+
373378
```{python}
374379
@gist(gist/conf.py#config)
375380
@@ -382,6 +387,7 @@ ret是一个字典,含有`hash`,`key`等信息。
382387

383388
<a name="batch-move"></a>
384389
##### 批量移动文件
390+
385391
```{python}
386392
@gist(gist/conf.py#config)
387393
@@ -394,6 +400,7 @@ ret是一个字典,含有`hash`,`key`等信息。
394400

395401
<a name="batch-delete"></a>
396402
##### 批量删除文件
403+
397404
```{python}
398405
@gist(gist/conf.py#config)
399406
@@ -435,6 +442,7 @@ ret是一个字典,含有`hash`,`key`等信息。
435442

436443
<a name="fop-image-info"></a>
437444
##### 查看图像属性
445+
438446
```{python}
439447
@gist(gist/conf.py#config)
440448
@@ -446,6 +454,7 @@ ret是一个字典,含有`hash`,`key`等信息。
446454

447455
<a name="fop-exif"></a>
448456
##### 查看图片EXIF信息
457+
449458
```{python}
450459
@gist(gist/conf.py#config)
451460
@@ -458,6 +467,7 @@ ret是一个字典,含有`hash`,`key`等信息。
458467

459468
<a name="fop-image-view"></a>
460469
##### 生成图片预览
470+
461471
```{python}
462472
@gist(gist/conf.py#config)
463473

docs/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ class PutExtra(object):
230230
上传文件到七牛(通常是客户端完成,但也可以发生在服务端):
231231

232232
直接上传二进制流
233+
233234
```{python}
234235
import qiniu.conf
235236
@@ -278,6 +279,7 @@ ret是一个字典,含有`hash`,`key`等信息。
278279
我们来看支持了断点上续传、分块并行上传的基本样例:
279280

280281
上传二进制流
282+
281283
```{python}
282284
import qiniu.conf
283285
@@ -297,6 +299,7 @@ print ret,
297299
```
298300

299301
上传本地文件
302+
300303
```{python}
301304
import qiniu.conf
302305
@@ -449,6 +452,7 @@ if err is not None:
449452

450453
<a name="batch-stat"></a>
451454
##### 批量获取文件信息
455+
452456
```{python}
453457
import qiniu.conf
454458
@@ -469,6 +473,7 @@ if err is not None:
469473

470474
<a name="batch-copy"></a>
471475
##### 批量复制文件
476+
472477
```{python}
473478
import qiniu.conf
474479
@@ -490,6 +495,7 @@ if not rets[0]['code'] == 200:
490495

491496
<a name="batch-move"></a>
492497
##### 批量移动文件
498+
493499
```{python}
494500
import qiniu.conf
495501
@@ -511,6 +517,7 @@ if not rets[0]['code'] == 200:
511517

512518
<a name="batch-delete"></a>
513519
##### 批量删除文件
520+
514521
```{python}
515522
import qiniu.conf
516523
@@ -587,6 +594,7 @@ def list_all(bucket, rs=None, prefix=None, limit=None):
587594

588595
<a name="fop-image-info"></a>
589596
##### 查看图像属性
597+
590598
```{python}
591599
import qiniu.conf
592600
@@ -612,6 +620,7 @@ print '可以在浏览器浏览: %s' % url
612620

613621
<a name="fop-exif"></a>
614622
##### 查看图片EXIF信息
623+
615624
```{python}
616625
import qiniu.conf
617626
@@ -638,6 +647,7 @@ print '可以在浏览器浏览: %s' % url
638647

639648
<a name="fop-image-view"></a>
640649
##### 生成图片预览
650+
641651
```{python}
642652
import qiniu.conf
643653

0 commit comments

Comments
 (0)