s3psync: A simple tool to sync files and directories to Amazon S3.
Project description
S3 Parallel Sync
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:
-
Ensure you have
makeinstalled on your system. You can check this by runningmake --versionin your terminal. Install or updatemakeif needed. -
Install the necessary dependencies by running
make installormake all. -
Create a Python virtual environment by running
python3 -m venv --prompt s3psync venv. Activate it by runningsource venv/bin/activate. -
Verify the installation by running
s3psync --version. If the tool is installed correctly, it should display the version number. -
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file s3psync-0.0.2.tar.gz.
File metadata
- Download URL: s3psync-0.0.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ea3486e372637ca8e547058eefb84ba47bf5bb1c66e1b9b1e3bc04e7c7f3f63
|
|
| MD5 |
634e2e3409978862984624d0a1573ae6
|
|
| BLAKE2b-256 |
eec376c56c478010897cf0f040d324a740b6c5427258929f06c4da4106d33f83
|
File details
Details for the file s3psync-0.0.2-py3-none-any.whl.
File metadata
- Download URL: s3psync-0.0.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
285255a771d87ddecf62836f8e9abfe5fbc8e5b030eaa94155ea72e953eec1e2
|
|
| MD5 |
25bc6ab9d40b12dfe29a12389eca56d8
|
|
| BLAKE2b-256 |
5aa92b295a089ecd5e9d5f1ebd7b645e39c145ac66f44c53a66912a2a28ed457
|