Skip to main content

Add ECS S3 support to dtool

Project description

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.

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

dtool-ecs-0.5.0.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file dtool-ecs-0.5.0.tar.gz.

File metadata

  • Download URL: dtool-ecs-0.5.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.9

File hashes

Hashes for dtool-ecs-0.5.0.tar.gz
Algorithm Hash digest
SHA256 bae76be9b443f5580877215a6a2b8d97c18cce995b037c5023bc2bf32574b2d1
MD5 7c75a2bdbe3a44944b064e854cd0ffcc
BLAKE2b-256 6c1fc0c8cc1bd16dcc8557c2500f001f3159155e9e61623bda16e726e080dbeb

See more details on using hashes here.

Supported by

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