seung-lab / cloud-files

Threaded Python and CLI client library for AWS S3, Google Cloud Storage (GCS), in-memory, and the local filesystem.
BSD 3-Clause "New" or "Revised" License
38 stars 8 forks source link

feat: s3 aliases #70

Closed william-silversmith closed 2 years ago

william-silversmith commented 2 years ago

This allows us to soft(er)-code matrix:// and tigerdata:// but also allows end-users to add their own aliases dynamically.

Persistent aliases can be added, listed, and removed via the command line which will be saved in ~/.cloudfiles/aliases.json. The file will only be accessed once (per process) if an unknown protocol is encountered.