This release is a pre-release and may not be stable for production use.
pys3utils
Python s3 scripts and utilities. This library is intended to help push/pull resources from s3.
Usage
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.
Release files for pys3utils 0.113.dev0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pys3utils-0.113.dev0.tar.gz | 7.4 kB | Details |
Release files / pys3utils-0.113.dev0.tar.gz
| Download URL | pys3utils-0.113.dev0.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba23c6e1130ae78bbca0270e588d5b1fe41182a0528322a9af1ecde77fae13b2
|
|
BLAKE2b-256 checksum How to use checksums |
23fe6facd6a28db4de7a9961c944d647398feb6ee1f55e81f845932b9a79562a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.14.2 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.5.2
|