将json中的s3链接下载到本地文件,反之亦然
tractorbeam的Python项目详细描述
安装
pip install tractorbeam
概要
使用aws configure设置aws命令行环境。
$ echo'{"input1": "s3://mybucket/path/to/myfile.bam"}'| tractor pull --strip-components 1{"input1": "file:///cwd/path/to/myfile.bam"} $ echo'{"input2": "file:///path/to/myfile.bam"}'| tractor push s3://mybucket/prefix/ --strip-components 0{"input2": "s3://mybucket/prefix/path/to/myfile.bam"}
链接
虫子
请在GitHub上报告错误、问题、功能请求等。