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

作者

  • 安德烈·基斯利克

许可证

根据Apache License, Version 2.0条款授权。

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

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
junit cucumber为什么会找到“runTest.java”来运行测试?   在Eclipse中找不到java KeyPairGenerator   java NotSerializableException即使在实现Serializable之后   noclassdeffounderror(java字符串连接)为什么会出现这种异常?   java Guice:将接口绑定到由动态代理创建的实例   使用Spring数据neo4j创建空间索引时发生java错误   java对于需要在50多个excel文件上运行并且每个文件平均包含25k行的项目,最佳的方法是什么   javaNIO中的java缓冲区写入/发送消息问题   如何在Java/eclipse中添加不调用super()的警告   JavaSpring:mvcUrl映射错误的id   java应该在getInstance或构造函数中使用Init方法吗?   安卓中的java空指针异常错误   java Jsoup不能完全获取原始html代码