Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tencentyun/cos-python-sdk-v5
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.2.0
Choose a base ref
...
head repository: tencentyun/cos-python-sdk-v5
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Dec 8, 2017

  1. Fix list_objects_versions

    dt3310321 committed Dec 8, 2017
    Copy the full SHA
    9976191 View commit details
  2. update user-agent version

    dt3310321 committed Dec 8, 2017
    Copy the full SHA
    40a4f66 View commit details

Commits on Dec 10, 2017

  1. Update README.rst

    dt3310321 authored Dec 10, 2017
    Copy the full SHA
    697a329 View commit details
  2. Update demo.py

    dt3310321 authored Dec 10, 2017
    Copy the full SHA
    c9e1d80 View commit details

Commits on Dec 15, 2017

  1. Copy the full SHA
    68605dd View commit details
  2. check for empty key

    dt3310321 committed Dec 15, 2017
    Copy the full SHA
    e4d6c35 View commit details
  3. Merge pull request #30 from dt3310321/s3

    S3
    dt3310321 authored Dec 15, 2017
    Copy the full SHA
    3f347f6 View commit details
  4. Update setup.py

    dt3310321 authored Dec 15, 2017
    Copy the full SHA
    eac010f View commit details

Commits on Dec 21, 2017

  1. Update demo.py

    dt3310321 authored Dec 21, 2017
    Copy the full SHA
    586d334 View commit details
  2. Update README.rst

    dt3310321 authored Dec 21, 2017
    Copy the full SHA
    09ad01e View commit details

Commits on Dec 27, 2017

  1. Copy the full SHA
    100ff34 View commit details
  2. Merge pull request #32 from alfredhuang211/master

    增加实现append object接口
    dt3310321 authored Dec 27, 2017
    Copy the full SHA
    c216a08 View commit details

Commits on Dec 29, 2017

  1. Update README.rst

    dt3310321 authored Dec 29, 2017
    Copy the full SHA
    cd148b1 View commit details

Commits on Jan 9, 2018

  1. Copy the full SHA
    f438fe4 View commit details

Commits on Jan 10, 2018

  1. Copy the full SHA
    ca2d335 View commit details

Commits on Jan 11, 2018

  1. Copy the full SHA
    b3f5131 View commit details
  2. Copy the full SHA
    263d4d1 View commit details
  3. Modify Version

    dt3310321 committed Jan 11, 2018
    Copy the full SHA
    2de8865 View commit details
  4. Modify Comment

    dt3310321 committed Jan 11, 2018
    Copy the full SHA
    033e196 View commit details
  5. Copy the full SHA
    1f99e53 View commit details

Commits on Jan 16, 2018

  1. fix bugs

    lewzylu committed Jan 16, 2018
    Copy the full SHA
    bf387dd View commit details
  2. Add MD5 check

    lewzylu committed Jan 16, 2018
    Copy the full SHA
    0088ffe View commit details
  3. Merge pull request #36 from lewzylu/add-md5-check

    Add md5 check
    dt3310321 authored Jan 16, 2018
    Copy the full SHA
    8cb717d View commit details

Commits on Jan 25, 2018

  1. Copy the full SHA
    e9267fd View commit details
  2. Update setup.py

    dt3310321 authored Jan 25, 2018
    Copy the full SHA
    245c1a6 View commit details
  3. Modify ut

    dt3310321 committed Jan 25, 2018
    Copy the full SHA
    83da5db View commit details
  4. Fix some spelling errors

    dt3310321 committed Jan 25, 2018
    Copy the full SHA
    5d6c716 View commit details
  5. Copy the full SHA
    37905f6 View commit details

Commits on Jan 26, 2018

  1. Copy the full SHA
    e89efb5 View commit details

Commits on Jan 31, 2018

  1. Add ServerSideEncryption

    dt3310321 committed Jan 31, 2018
    Copy the full SHA
    580ba3b View commit details

Commits on Feb 27, 2018

  1. Add put/get bucket logging

    dt3310321 committed Feb 27, 2018
    Copy the full SHA
    fa3dafc View commit details

Commits on Mar 22, 2018

  1. Fix 3xx status_code

    dt3310321 committed Mar 22, 2018
    Copy the full SHA
    3e8e09d View commit details

Commits on Mar 23, 2018

  1. Add code samples

    dt3310321 committed Mar 23, 2018
    Copy the full SHA
    d043619 View commit details

Commits on Mar 29, 2018

  1. Add server-side encryption

    dt3310321 committed Mar 29, 2018
    Copy the full SHA
    6ee2c07 View commit details
  2. Copy the full SHA
    17e406a View commit details

Commits on Apr 3, 2018

  1. Copy the full SHA
    638f450 View commit details
  2. Copy the full SHA
    5c3571a View commit details
  3. Merge pull request #38 from dt3310321/s3

    S3
    dt3310321 authored Apr 3, 2018
    Copy the full SHA
    557076c View commit details
  4. Copy the full SHA
    547f1bf View commit details
  5. Merge pull request #39 from dt3310321/s3

    Add EnableMD5 for upload_part
    dt3310321 authored Apr 3, 2018
    Copy the full SHA
    ea347ab View commit details

Commits on Apr 6, 2018

  1. Update README.rst

    dt3310321 authored Apr 6, 2018
    Copy the full SHA
    b7d3c90 View commit details

Commits on Apr 8, 2018

  1. Update setup.py

    dt3310321 authored Apr 8, 2018
    Copy the full SHA
    eea9049 View commit details
  2. modify user-agent

    dt3310321 authored Apr 8, 2018
    Copy the full SHA
    e8ae0db View commit details
  3. modify demo

    dt3310321 committed Apr 8, 2018
    Copy the full SHA
    4fd5075 View commit details
  4. modify user-agent

    dt3310321 committed Apr 8, 2018
    Copy the full SHA
    f9f2856 View commit details
  5. Merge pull request #41 from dt3310321/s3

    S3
    dt3310321 authored Apr 8, 2018
    Copy the full SHA
    b9db8e8 View commit details

Commits on Apr 17, 2018

  1. Add some high level apis

    dt3310321 committed Apr 17, 2018
    Copy the full SHA
    8cfad1e View commit details

Commits on Apr 18, 2018

  1. Copy the full SHA
    9642a0f View commit details
  2. Copy the full SHA
    dbcca70 View commit details

Commits on Apr 24, 2018

  1. Copy the full SHA
    0b8be98 View commit details
Showing with 33,162 additions and 2,496 deletions.
  1. +55 −0 .github/workflows/auto-changelog.yml
  2. +3 −0 .gitignore
  3. +40 −0 .travis.yml
  4. +659 −0 CHANGELOG.md
  5. +1 −0 MANIFEST.in
  6. +13 −110 README.rst
  7. +584 −0 demo/ai_recognition_demo.py
  8. +124 −0 demo/batch_operation_demo.py
  9. +31 −0 demo/bucket_acl.py
  10. +55 −0 demo/bucket_cors.py
  11. +45 −0 demo/bucket_domain.py
  12. +85 −0 demo/bucket_inventory.py
  13. +59 −0 demo/bucket_lifecycle.py
  14. +36 −0 demo/bucket_logging.py
  15. +46 −0 demo/bucket_operation.py
  16. +61 −0 demo/bucket_policy.py
  17. +47 −0 demo/bucket_referer.py
  18. +49 −0 demo/bucket_replication.py
  19. +45 −0 demo/bucket_tagging.py
  20. +38 −0 demo/bucket_versioning.py
  21. +61 −0 demo/bucket_website.py
  22. +316 −0 demo/ci_audit.py
  23. +66 −0 demo/ci_compress.py
  24. +201 −0 demo/ci_doc_preview.py
  25. +213 −0 demo/ci_file_process.py
  26. +757 −0 demo/ci_image.py
  27. +2,328 −0 demo/ci_media.py
  28. +198 −0 demo/ci_speech_recognition.py
  29. +1,925 −0 demo/ci_template.py
  30. +56 −0 demo/ci_watermark.py
  31. +128 −0 demo/client_encrypt.py
  32. +79 −0 demo/copy_object.py
  33. +111 −0 demo/delete_object.py
  34. +212 −0 demo/demo.py
  35. +135 −0 demo/dir_download_demo.py
  36. +93 −0 demo/disaster_recovery_demo.py
  37. +180 −0 demo/download_object.py
  38. +39 −0 demo/fetch_demo.py
  39. +32 −0 demo/get_object_url.py
  40. +258 −0 demo/get_presigned_url.py
  41. +26 −0 demo/head_object.py
  42. +100 −0 demo/hls_decrypt_token.py
  43. +62 −0 demo/list_objects.py
  44. +400 −0 demo/meta_insight_demo.py
  45. +47 −0 demo/modify_object_meta.py
  46. +33 −0 demo/object_acl.py
  47. +25 −0 demo/object_exists.py
  48. +50 −0 demo/object_tagging.py
  49. +31 −0 demo/restore_object.py
  50. +46 −0 demo/select_object.py
  51. +39 −0 demo/server_bucket_encrypt.py
  52. +136 −0 demo/server_object_encrypt.py
  53. +626 −0 demo/tce_demo.py
  54. +39 −0 demo/traffic_limit.py
  55. +224 −0 demo/upload_object.py
  56. +31 −0 qcloud_cos/.travis.yml
  57. +19 −5 qcloud_cos/__init__.py
  58. +1,048 −0 qcloud_cos/ai_recognition.py
  59. +198 −95 qcloud_cos/cos_auth.py
  60. +11,176 −1,293 qcloud_cos/cos_client.py
  61. +594 −233 qcloud_cos/cos_comm.py
  62. +182 −0 qcloud_cos/cos_encryption_client.py
  63. +16 −5 qcloud_cos/cos_exception.py
  64. +28 −22 qcloud_cos/cos_threadpool.py
  65. +429 −0 qcloud_cos/crypto.py
  66. +0 −75 qcloud_cos/demo.py
  67. +908 −0 qcloud_cos/meta_insight.py
  68. +234 −0 qcloud_cos/resumable_downloader.py
  69. +97 −0 qcloud_cos/select_event_stream.py
  70. +73 −16 qcloud_cos/streambody.py
  71. +0 −624 qcloud_cos/test.py
  72. +1 −0 qcloud_cos/version.py
  73. +16 −11 qcloud_cos/xml2dict.py
  74. +4 −2 requirements.txt
  75. +22 −5 setup.py
  76. 0 ut/__init__.py
  77. +6,738 −0 ut/test.py
55 changes: 55 additions & 0 deletions .github/workflows/auto-changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: ChangeLog

on:
workflow_dispatch:
release:
types: [published]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/setup-node@v2-beta
with:
node-version: '12'
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Checkout Tool
uses: actions/checkout@v2
with:
repository: konakonall/auto-changelog
path: 'auto-changelog'
- name: Build Tool
run: |
cd auto-changelog
npm install
npm link
- name: Generate ChangeLog
env: # Or as an environment variable
TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
auto-changelog --token $TOKEN
- name: Cat ChangeLog
run: cat CHANGELOG.md

- name: Commit files
env:
CI_USER: "gouki0123"
CI_EMAIL: "gouki0123@gmail.com"
run: |
git config --local user.email "$CI_EMAIL"
git config --local user.name "$CI_USER"
git add CHANGELOG.md && git commit -m 'Updated CHANGELOG.md' && echo "push=1" >> $GITHUB_ENV || echo "No changes to CHANGELOG.md"
- name: Push changes
if: env.push == 1
env:
CI_USER: "gouki0123"
CI_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git push "https://$CI_USER:$CI_TOKEN@github.com/$GITHUB_REPOSITORY.git" HEAD:master
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.pyc
ignore/
.vscode/
40 changes: 40 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
sudo: false
language: python
dist: xenial
python:
- '2.7'
- '3.5'
- '3.6'
- '3.8'
- '3.9'
- '3.9'
dist: focal
- '3.10'
dist: focal
install:
- pip install requests
- pip install six
- pip install nose
- pip install pycodestyle
- pip install importlib_metadata
- pip install xmltodict
- pip install crcmod
- pip install pycryptodome
notifications:
email:
recipients:
- wjielai@tencent.com
- fysntian@tencent.com
script:
- pycodestyle --max-line-length=200 qcloud_cos/.
- pycodestyle --max-line-length=200 ut/.
- nosetests -s -v ut/
deploy:
provider: pypi
distributions: sdist bdist_wheel
user: dt3310321
password:
secure: JCBE84C22lHElRm7HmIf//UI123EuiFznEFPoVMPlRGb/XBrtYb+x1SRaO7Dn165CfVDpXtdNbJYfD9s2p3FUKzxSqkwl7FkkSl2g1jwKO97gKBPGxozBN+9pOJLTQUXBwON+erJSpMCHxrUjKKZBi56mUYXPP+A1X8sIHFMF4rLdPSuobjx0VGm2qFWhFeuLFPNOfF5ZKQDCnieptBLhrMXRcxyhZja/HsQh/JOjnMKZAmgJep2w2hI7ScYeTF0Ljk3RQbSN88HjZ7XP+U3bhiy5IE2u0WhJr6Q1OwxIuw8EIP+5mBNELT8Q5AMDnR85ehOVf67nl8j0nCiLzS55t1wuFHWExwW4kKF0dLpeV/fj3huFwQuAYItgZzCA/h3Fne6D3omjknd1uvWcUQzzXU1ixdeuq8XoDYxF8eox3GWQ/jbZY8lLXQ1BhaMK5E/MY8DJs1S+i6I1mJ34rCcnRYS1R3zZAJryaFxI6UsEAniXu4ESI+da7KD4y4TC0hY4RlcFyqQ0OVeeXoclQytRfgIT+EPZHt1mAr8qinmy5K2GoVcWwEj54AXp4LwiOosve6vqdeXjR/EeGy3zWjEfhn5B4z8UMLyGS/S1k3rSpV85KB4nLuzKGlyUkC2sjGr/xiG7CBC1UCbqx1CGLlCZ/HvEmKvuSrbJNbsgBNU/og=
on:
tags: true
branch: master
Loading