Skip to main content

oss文件上传签名计算

Project description

计算阿里云OSS文件上传签名

用法

说明:获取回调

方法: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.7.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.7-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: osssign-1.7.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.7.tar.gz
Algorithm Hash digest
SHA256 9c8f7cd292d0232f665a3ac6ba991e543a1afeac2f873533dd5cc9860ed31d3c
MD5 cf15f298c1ecab283d7dd923940e04dc
BLAKE2b-256 52cc5b4d2f30825b64c0854d2b68974050523f142db20bf5acc0fc2887574899

See more details on using hashes here.

File details

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

File metadata

  • Download URL: osssign-1.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 3ffbf68764d6deefe1e1e5566336849b25940eda26ab2e0f6ef3ab43a9a38d51
MD5 d46b65e7f0e13c445e2bdb9b1b93af5d
BLAKE2b-256 0480cb74ea62a93ac2089f45799343e068e1b4f424818a39a8569c27740034cd

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