Skip to main content

s3psync: A simple tool to sync files and directories to Amazon S3.

Project description

S3 Parallel Sync

CodeQL Dependency Review Python package PyPI This script is used to sync files and folders to an S3 bucket in parallel, leveraging the aws s3 sync command. The aws s3 sync command supports multipart uploads and can utilize up to 10 threads, making it particularly useful when you have a large number of large files to upload. This script allows you to specify the number of parallel instances of aws s3 sync to use.

Requirements

  • Python 3.10 or higher
  • AWS CLI
  • AWS profile with the necessary permissions to perform S3 uploads (see here for more information on how to set up AWS profiles)
  • Make utility (Make for Windows, Make for Linux and Mac is usually pre-installed)

Usage

Next, you need to set up the environment using the provided Makefile. Follow these steps:

  1. Ensure you have make installed on your system. You can check this by running make --version in your terminal. Install or update make if needed.

  2. Install the necessary dependencies by running make install or make all.

  3. Create a Python virtual environment by running python3 -m venv --prompt s3psync venv. Activate it by running source venv/bin/activate.

  4. Verify the installation by running s3psync --version. If the tool is installed correctly, it should display the version number.

  5. Exit the virtual environment by running deactivate.

To sync files and folders to an S3 bucket in parallel, run the following command:

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

s3psync-0.0.1.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

s3psync-0.0.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file s3psync-0.0.1.tar.gz.

File metadata

  • Download URL: s3psync-0.0.1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for s3psync-0.0.1.tar.gz
Algorithm Hash digest
SHA256 0868cbcc717fe088bb1b5135c901199ffc222761fb9953f5e8388cd5aa19cbcc
MD5 b3d07b41e84d5fb119ee36c5ac85d86f
BLAKE2b-256 d4b5f9943a97118c5a4fd5c8fbe7ec682e91defd26030419c86c6e96ad92867d

See more details on using hashes here.

File details

Details for the file s3psync-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: s3psync-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for s3psync-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 523513d2b3a48ade8a4af7375c07757ec677edff376fdebacba48b7f554779a6
MD5 f13f6025d04fe14dbc092688664acdf8
BLAKE2b-256 223bb8c7a76131bd0be98a7a4b8a961b0d7b12974aa3901613c66da618459b08

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