Sync directories/files with Amazon S3.
Project description
S3SyncUtility
S3SyncUtility is a Python tool using Boto3 to simplify syncing local directories with Amazon S3, for easy uploads and downloads.
Installation
You can install S3Sync using pip
by providing the Git repository URL:
pip install git+https://github.com/GeonsV3Collab/S3SyncUtility.git@development
or
pip install s3sync_util
Configuration
Initialize the S3Sync configuration:
s3sync config init
This will interactively create a .config.ini
file with your S3 bucket and prefix settings.
-
Modify `.config.ini`:
You can manually edit the `.config.ini` file to change the configuration options.
Usage
Before using the utility, make sure you have the required dependencies installed.
-
To upload files/directories to S3:
s3sync upload --directory <local_directory> --s3-bucket <bucket_name> --s3-prefix <prefix>
-
To download files/directories from S3:
s3sync download --s3-bucket <bucket_name> --s3-prefix <prefix> --directory <local_directory>
License
This project is licensed under the MIT License.
MIT License
Copyright (c) 2023 Geons Logix and V3 Analytics - Collaboration
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for s3sync_util-2.1.1b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 476664aaabb66bb0542a8cf875fa9b5a1760a33381532ba689e5110de1078f34 |
|
MD5 | e30b4434dce0f2cb0387e4a5488b7671 |
|
BLAKE2b-256 | 061d84adfc4fba2a4d0933dab3d59b1d181e4aefae72558132afee0e658fce91 |