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.3.tar.gz (3.2 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.3-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for osssign-1.3.tar.gz
Algorithm Hash digest
SHA256 fa0b207bcd29a0323913d2c9ab65752438aa705c1305fb934b069af7ba501794
MD5 3327fb3c164d36c6e0b947b8c979b46f
BLAKE2b-256 9a55238464cc9ae9eb4313f39216707b5595a6240ed7c877de7c856b09ff6906

See more details on using hashes here.

File details

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

File metadata

  • Download URL: osssign-1.3-py3-none-any.whl
  • Upload date:
  • Size: 3.6 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1dd87700c513ae04ae9c54664b79e3bad6e36ec38417509f8cdae0d83794a145
MD5 1d4aa2f46fc223bd8c09cef06ea84d36
BLAKE2b-256 4119c7777f8611a57cedad8031b3ac214f413e80beb3297e82362ca81007bebd

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