Downloads S3 links in JSON to local files, and vice versa
Project description
Installation
pip install tractorbeam
Synopsis
Use aws configure to set up your AWS command line environment.
$ echo '{"input1": "s3://mybucket/path/to/myfile.bam"}' | tractor down --strip-components 1
{"input1": "file:///cwd/path/to/myfile.bam"}
$ echo '{"input2": "file:///path/to/myfile.bam"}' | tractor up s3://mybucket/prefix/ --strip-components 0
{"input2": "s3:///mybucket/prefix/path/to/myfile.bam"}
Links
Bugs
Please report bugs, issues, feature requests, etc. on GitHub.
License
Licensed under the terms of the Apache License, Version 2.0.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tractorbeam-0.0.2.tar.gz
(3.8 kB
view details)
Built Distribution
File details
Details for the file tractorbeam-0.0.2.tar.gz
.
File metadata
- Download URL: tractorbeam-0.0.2.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 986eb717aa3ad4c25f443bb420ab932fa4a3d0d0ef386163f6fb15d0153844df |
|
MD5 | 7ee7d53d21bcac74a3b0e60f1f621006 |
|
BLAKE2b-256 | 8a876ea9b0dcd6ddf31de45a8955d5205e55e8f324d2a4f95256f1a1e13072a3 |
File details
Details for the file tractorbeam-0.0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: tractorbeam-0.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a28ca9bf5d844d47fa31ff3c1788ebdd82dd502417e2cce9581d15f4b04b4d09 |
|
MD5 | 52f0d334f6311bdbafa31a533556144e |
|
BLAKE2b-256 | 0215076601b1448b25f252a53e5026ad5aaecbb3a360af3a4ac3061acbc3026d |