Skip to main content

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",
    )

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)

Source distribution for oss2-uploader 0.1.0
File Size Uploaded
oss2_uploader-0.1.0.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for oss2-uploader 0.1.0
File Interpreter ABI Platform
oss2_uploader-0.1.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page