Skip to main content

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

Authors

  • Andrey Kislyuk

License

Licensed under the terms of the Apache License, Version 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

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.1.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

tractorbeam-0.1.1-py2.py3-none-any.whl (6.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file tractorbeam-0.1.1.tar.gz.

File metadata

  • Download URL: tractorbeam-0.1.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tractorbeam-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e1a484de99039162158f587d22d5788ff69d69546220b9b220ab31df0e4a5f22
MD5 3d54b215e097b7109601deec5568b3dd
BLAKE2b-256 8e5b3a7f7fc8a0dcbee644406fc51d1ab48c41c5a6d4f93dc018ea08868e0ea2

See more details on using hashes here.

File details

Details for the file tractorbeam-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for tractorbeam-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5d59c718f2c70592d7cdff3e1ac71a7e0d3f8f4ffa896f494de46f16f7e3d578
MD5 0d8818a20ba125d0d1f86ba8666472ae
BLAKE2b-256 9d7b2acac27f5831959b09938bff3f80a55ab0fd0a89afcfc2542f010eb2ce33

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page