dtool-ecs

Add ECS S3 support to dtool


License
MIT
Install
pip install dtool-ecs==0.2.0

Documentation

Add ECS S3 support to dtool

PyPi package

Features

  • Copy datasets to and from ECS S3 object storage
  • List all the datasets in a ECS S3 bucket
  • Create datasets directly in ECS S3

Installation

To install the dtool-ecs package:

pip install dtool-ecs

Configuration

Create the file .config/dtool/dtool.json and add the ECS account details using the format below:

{
   "DTOOL_ECS_ENDPOINT_<BUCKET NAME>": "<ENDPOINT URL HERE>",
   "DTOOL_ECS_ACCESS_KEY_<BUCKET NAME>": "<USER NAME HERE>",
   "DTOOL_ECS_SECRET_ACCESS_KEY_<BUCKET NAME>": "<KEY HERE>"
}

For example:

{
   "DTOOL_ECS_ENDPOINT_my-bucket": "http://blueberry.famous.uni.ac.uk",
   "DTOOL_ECS_ACCESS_KEY_ID_my-bucket": "olssont",
   "DTOOL_ECS_SECRET_ACCESS_KEY_my-bucket": "some-secret-token"
}

See the dtool documentation for more detail.

Related packages