S3 Simple Compress ZIP
Documentation for AWS S3 In-Memory File Compression (zip) Program
Overview
The AWS S3 file compression (zip) program is a tool that allows users to compress one or more files stored in S3 into a single zip file all in memory without the need to download to your Hard Disk. This can be useful for reducing file sizes and saving storage costs.
Requirements
Before using the AWS S3 file compression (zip) program, you'll need to have the following:
Installation
How to install the project
Overview
The AWS S3 file compression (zip) program is a tool that allows users to compress one or more files stored in S3 into a single zip file all in memory without the need to download to your Hard Disk. This can be useful for reducing file sizes and saving storage costs. Requirements
Before using the AWS S3 file compression (zip) program, you'll need to have the following:
Bash
An AWS account Access to the AWS S3 service Basic knowledge of command line and AWS
Installation How to install the project
For installation of the project's CLI, we recommend using poetry to install:
Although this is only a recommendation! You can also install the project with your preferred package manager, such as pip:
How to use the program
To use the AWS S3 file compression (zip) program, follow the steps below:
- First, we need to import our package
- Then, instantiate the class
- We may or may not need to call the `credentials` method, depending on whether `~/.aws/credentials` already exists or not
- Finally, we just need to call the `zipping_in_s3` method
Code Example
example.py | |
---|---|
Here's a Python code example that implements the AWS S3 file compression (zip) program's functionality 100% in memory.