Skip to main content

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.

  1. 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.

  1. To upload files/directories to S3:

    s3sync upload --directory <local_directory> --s3-bucket <bucket_name> --s3-prefix <prefix>
    
  2. To download files/directories from S3:

    s3sync download --s3-bucket <bucket_name> --s3-prefix <prefix> --directory <local_directory>
    

Versioning Example

  • Major version bump: v1.0.0 (Breaking backward compatibility)
  • Minor version bump: v1.1.0 (Backward-compatible new features)
  • Patch version bump: v1.1.1 (Backward-compatible bug fixes)
  • Alpha release: v2.0.0-alpha (Initial development)
  • Beta release: v2.0.0-beta (Feature-complete, testing phase)
  • Dev version: v2.0.0-dev (Development version)
  • Stable release: v2.0.0 (Production-ready)

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

s3sync_util-2.3.1.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

s3sync_util-2.3.1-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file s3sync_util-2.3.1.tar.gz.

File metadata

  • Download URL: s3sync_util-2.3.1.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.9.17 Darwin/22.2.0

File hashes

Hashes for s3sync_util-2.3.1.tar.gz
Algorithm Hash digest
SHA256 3eb00880940407a97ea152ad17cbedc08ef484a288d7d79cca31b5fc567ce0a5
MD5 ff4e9f36c108d2468ae041986a0fd1e2
BLAKE2b-256 318980dc948b4f8b27fa4df3ae1c3ed301216d5a6850eb1a2a74a6d70aacb8fc

See more details on using hashes here.

File details

Details for the file s3sync_util-2.3.1-py3-none-any.whl.

File metadata

  • Download URL: s3sync_util-2.3.1-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.9.17 Darwin/22.2.0

File hashes

Hashes for s3sync_util-2.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a65bcb9094af8a87204cb1c750394d8b5f2ae583f5f75886cd569dd681264b97
MD5 9e0ca67f80b1381f9473d3acf16b7967
BLAKE2b-256 ab0d587343fc5866d60768ec7a9be5303881f5a90b65af7e71407853ce4dedac

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