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

Uploaded Python 3

File details

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

File metadata

  • Download URL: osssign-1.8.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.8.tar.gz
Algorithm Hash digest
SHA256 a907bdf8ee845a11f09195a74dbe8b1d0dc102cb4d3eae2fa5f20ff35115777f
MD5 8c7472284e59ff8055ea0f10a3af20ac
BLAKE2b-256 f579fd79aeedc0402d2cc0129f3dacab95f93e59f793731dbd1abe3a72a7009f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: osssign-1.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 bcbb0895cf75d928e9a3df2571ce05eac8e389f64dc1d378acf17e6eec7f2d7f
MD5 3ba16773b949909c14d4b4a5d88afdf5
BLAKE2b-256 93ed8b0d4fbbe70dae0be6aa12e5e0082f108712fa2939ea87a3f169c2e3afe3

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