跳转到主要内容

将S3链接的JSON下载到本地文件,反之亦然

项目描述

安装

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"}

作者

  • Andrey Kislyuk

许可证

根据Apache许可证,版本2.0许可。

https://img.shields.io/travis/kislyuk/tractorbeam.svg https://codecov.io/github/kislyuk/tractorbeam/coverage.svg?branch=master https://img.shields.io/pypi/v/tractorbeam.svg https://img.shields.io/pypi/l/tractorbeam.svg https://readthedocs.org/projects/tractorbeam/badge/?version=latest

由以下支持