提供基本的数据上传功能
通过ssh上传数据到服务器- 通过s3上传数据到亚马逊云
- 通过oss上传数据到阿里云
- 默认使用分片上传模式
安装
# 初始化环境,如通过conda初始化python>=3.8的环境
conda create -n python3.8 python=3.8
# 安装依赖包
pip install click oss2 icecream
# 安装
pip install -i https://test.pypi.org/simple/ Yucebio-Uploader
使用&配置
# 查看使用方式
yucebio_upload --help
# 配置: 配置阿里云,亚马逊云
yucebio_upload -b ali -c
# 依次配置 access_key_id, access_key_secret, region, bucket
# 使用: 上传本地文件到远端
yucebio_upload -b ali <本地文件> <远端文件目录或文件名>
Release files for Yucebio-Uploader 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Yucebio_Uploader-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / Yucebio_Uploader-0.1.1-py3-none-any.whl
| Download URL | Yucebio_Uploader-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
15bf90975e8539aa0c81c3ff01212695ec84293f8e2991232162fb2c85e8b325
|
|
BLAKE2b-256 checksum How to use checksums |
a5484212024fe6e8e283abca0f5c2dedc3f6f0552d7ad2fead1ef8098d4a9ace
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.4
|