Skip to main content

oss签名

Project description

计算阿里云的签名

用法

说明:获取回调

方法:ossSign.GetCallback

入参:

callback_url:回调地址

oss_callback_body:回调内容

说明:计算签名

方法:ossSign.GetSignV1

security_token:security_token

secret_access_key:secret_access_key

access_key_id:access_key_id

bucket_name:桶名称

object_path:文件对象路径

object_name:文件对象名

date:GMT时间,默认使用当前时间

callback:回调信息,默认不回调

打包

python setup.py sdist bdist_wheel

上传

安装依赖工具

pip install twine

上传到pypi(需要提前准备好账号)

twine upload --repository-url https://upload.pypi.org/legacy/ dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

osssign-1.5.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

osssign-1.5-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file osssign-1.5.tar.gz.

File metadata

  • Download URL: osssign-1.5.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for osssign-1.5.tar.gz
Algorithm Hash digest
SHA256 e2be38002739be471c3193d1132244eee9ab3015dc1db19853e162400c70d5c1
MD5 830831452b09b1d59b1a24e269402e8e
BLAKE2b-256 3bef0c5b5074d9f45318ed00e682020fdd53dd2ebcce7a5bc0ebadf4cb59263c

See more details on using hashes here.

File details

Details for the file osssign-1.5-py3-none-any.whl.

File metadata

  • Download URL: osssign-1.5-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for osssign-1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 779db605c21b18a73db5043d4399c487946b71e8cf4cd29adb42d8e6c162d03b
MD5 7e4b2390e36b6419643d4841e24a714a
BLAKE2b-256 108f9bbd9d047a2a446b9fabb9e86b0adc60d658c5ef17ea4e1dc9b2eff1c446

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page