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时间,默认为None

callback:回调信息,默认为None

打包

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.2.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.2-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: osssign-1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 93aeccbe17330f8da1a009f2a97830be044959f84491dbe3a42955091fca7a08
MD5 f4ac0d770dc2d971d02e063ebee021b0
BLAKE2b-256 70a95e72971088ca2a24fdf3e4b7e153e46e325df9171e1095bbb57cac1d3069

See more details on using hashes here.

File details

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

File metadata

  • Download URL: osssign-1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 72677d15dacd9fed4cb042e91db39bd4f701ee43b62a15a886ffb29f4f630cdd
MD5 1dbfa6b5538ccdf44672e5b950f23832
BLAKE2b-256 f211f0ef5a94ab92e64beff07ddc365e131bd899a4f5865060c089a04d43b226

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