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.6.tar.gz
(3.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
osssign-1.6-py3-none-any.whl
(3.7 kB
view details)
File details
Details for the file osssign-1.6.tar.gz.
File metadata
- Download URL: osssign-1.6.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
975a4b71d5434ce3f0fb1a778905541b84c644c3721339dc822de7184d093b9e
|
|
| MD5 |
b1d831bd45b0ad593ff9227a5158dd10
|
|
| BLAKE2b-256 |
f5dc2dcddddea3d01e3414e6d6ecb29e7c0b390ccf15add9500b1cb8959d993f
|
File details
Details for the file osssign-1.6-py3-none-any.whl.
File metadata
- Download URL: osssign-1.6-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c9d6cd37445ad25fe892ef4e8b07e341879d94e6fe61f8a152a5e40a8d196ba
|
|
| MD5 |
6cfba6bcaa83d79e4a4b1ecf507063e2
|
|
| BLAKE2b-256 |
3c6cde4d6e5f0571814f8af249705dc92e732b1a41cf583d991fcd232382f77a
|