Skip to content

sergey-gr/py-s3-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S3 Browser

Setup

Required: Python 3

Virtual environment

Install python virtual environment package

pip3 install virtualenv

Initialize virtual environment

Linux:

python -m venv .venv

Windows:

py -m venv .venv

Script setup

Activate virtual environment

Linux:

source .venv/bin/activate

Windows:

# Git Bash
source .venv/Scripts/activate

# PowerShell
.venv\Scripts\activate

Install dependencies

pip3 install -r requirements.txt

Create configuration file from sample:

cp config/config.yml.sample config/config.yml

Edit configuration file by setting s3 credentials:

s3:
  address: s3.example.com
  use_ssl: True
  bucket: my_bucket_name
  accessKey: my_access_key
  secretKey: my_secret_key

Usage

python main.py

Log files are stored in logs directory if logging.output: file.

Log file name example:

./logs/YYY-MM-DD.log

About

Python script to test S3.

Resources

Stars

Watchers

Forks

Releases

No releases published