Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Python utilities for aws s3

Project description


Python s3 scripts and utilities. This library is intended to help push/pull resources from s3.


To recursively sync a directory to s3 -- only syncing those files have been recently updated, write the following in python:

from pys3utils import utils
utils.push_project_to_s3('my/path', 'my-bucket-name') 

This will recursively walk through all files listed under my/path, and upload a copy to s3. After push_project_to_s3 has been called, it creates and updates a hidden timestamp file in my/path, called .s3_sync_timestamp, which will carry the last time (in ms) when an update/push occured.

On a second call to push_project_to_s3, all files that have modified mtime before this time stamp file will be ignored.

Project details

Download files

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

Files for pys3utils, version 0.113.dev0
Filename, size File type Python version Upload date Hashes
Filename, size pys3utils-0.113.dev0.tar.gz (7.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page