跳转到主要内容

将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

项目细节


下载文件

下载您平台上的文件。如果您不确定选择哪个,请了解更多关于 安装软件包 的信息。

源分发

tractorbeam-0.1.3.tar.gz (3.9 kB 查看哈希值)

构建分发

tractorbeam-0.1.3-py2.py3-none-any.whl (6.0 kB 查看哈希值)

上传于 Python 2 Python 3

由以下支持