This program will send, list or receive files to an object storage and store it securely.
Before running you must define two environment variables: DYNA_KEY and DYNA_SECRET with you key id and secret values, also, change the url in the code.
- Python > 3
- pip
To install Python please visit its Official Website and simply follow the instructions. Then you can install boto3 package with: pip install -r requirements.txt
. And you're good to go.
For a better experience move the src/main.py file to your path with a name you prefer.
Run ./main.py send <file>
, passing the path to the file, before sending, the program will append the relative path from your home directory.
Run ./main.py get <file>
, passing the path to the file, it will print the file's content to terminal, you may use redirection to create a file.
Run ./main.py list
and the program will print the size, in chunks, and the names to terminal.
Created by: Brian Mayer - bleemayer@gmail.com Initial commit: August 27, 2018 Distributed under BSD3-clause license. See LICENSE for more information.
There are lots of things to do, the ones in my mind now are listed below.
- Create a front-end program
Check the contributing file for details, but, in advance, it is pretty intuitive and straightforward.