Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

oss2-uploader

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oss2-uploader

Uploader files in a folder to Aliyun OSS

  • 0.0.9
  • PyPI
  • Socket score

Maintainers
1

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

    folder_uploader(, , 
        folder_path="./test-folder,
        bucket_name="test-bucket",
        oss_endpoint="oss-ap-southeast-1.aliyuncs.com",
        oss_path="pathname",
    )

if oss_path is omitted, will use the folder name as prefix in oss

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc