csv_zip_rsync
compress csv to zip and rsync to remote server
Usage
Compress csv files in a directory to zip file. And upload to remote ssh server.
Including checking zip completion and remove csv and zip files after they are uploaded.
csv_zip_rsync "{directory to backup}" "ssh name" "remote directory to upload" "not modified period in sec" "suffix to zip and upload"
Installation
pip install csv_zip_rsync
Used compression method
Original File :5902183
ZIP_STORED :zip_stats.st_size=5902297 rate:100.00% time:0.02641892433166504
ZIP_DEFLATED :zip_stats.st_size=1280575 rate:21.70% time:1.8873212337493896
ZIP_BZIP2 :zip_stats.st_size=1093927 rate:18.53% time:0.8491525650024414
ZIP_LZMA :zip_stats.st_size=972919 rate:16.48% time:5.862420558929443
LZMA showed most efficient compression rate. LIP_BZIP2 was fast enough. so I chose BZIP2.
Requirements
Compatibility
Licence
Metadata
Release files for csv-zip-rsync 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| csv_zip_rsync-0.2.0.tar.gz | 4.3 kB | Without provenance | Details for csv_zip_rsync-0.2.0.tar.gz |
Release files / csv_zip_rsync-0.2.0.tar.gz
| Download URL | csv_zip_rsync-0.2.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac07c6b8f0e1687337cb0971e078b297afecca12434477ab7620b9746316cb59
|
|
BLAKE2b-256 checksum How to use checksums |
4c386af71b3ab0f03dee158bd69e9433b2b5e4de3fe1d3187169d91cbf2334d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Security for csv-zip-rsync 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.