Uploader all files in a folder to Aliyun OSS
Must load OSS_ACCESS_KEY_ID and OSS_ACCESS_KEY_SECRET into environment variables first.
Install
pip install oss2-uploader
Usage
only executable under if __name__ == "__main__":
if __name__ == "__main__":
from oss2_uploader import folder_uploader_sync
folder_uploader_sync(
os.path.join(os.path.expanduser("~"), "Documents"),
"bucket_name",
"oss-ap-southeast-1.aliyuncs.com",
)
Metadata
Release files for oss2-uploader 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| oss2_uploader-0.1.0.tar.gz | 4.9 kB | Without provenance | Details for oss2_uploader-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| oss2_uploader-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for oss2_uploader-0.1.0-py3-none-any.whl |
Total release size: 10.0 kB
Release files / oss2_uploader-0.1.0.tar.gz
| Download URL | oss2_uploader-0.1.0.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea2a12974d3decac7d032ee930c09a08d8b033a45eb5cd9bca10f6cad6b2c8ee
|
|
BLAKE2b-256 checksum How to use checksums |
54d2096c75cae275f363968f507232c76efa8f27f59635db24299205d26429b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.0
|
Release files / oss2_uploader-0.1.0-py3-none-any.whl
| Download URL | oss2_uploader-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a466d6d125400d96fe2fee5ab49cb02fa28b4b66ebbc073ae7630fe04312dae5
|
|
BLAKE2b-256 checksum How to use checksums |
918a088f35ec56bf5355389f2c36d4dc8d4b1e504ad55ac44fd2d54caf588d96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.0
|
Security for oss2-uploader 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.