Skip to content
Small Example which fetches S3-Buckets by using the AWS Boto3
Python HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
ListS3Buckets
listS3Documents
.gitignore
Pipfile
Pipfile.lock
README.md
db.sqlite3
manage.py
pytest.ini

README.md

Introduction

It's an AWS S3-Bucket clone by using Python's boto3. This repo lists all your S3-Buckets and Files within the Bucket.

What else is used?

It is written in Python via Django and using the boto3-library in order to connect AWS via Python.

Prerequirements

Make sure that you put your credentials in ~/.aws. You can configure them by using the AWS-CLI and aws configure. See if it works by using aws s3 ls. Below is a sample output by using the command.

2019-01-01 19:34:33 bucket1
2019-02-02 09:49:17 bucket2
2019-03-03 17:09:46 bucket3

How to use

Install requirements Activate pipenv shell

cd aws-s3-python
pipenv install
pipenv shell
python manage.py runserver

Testing

Django-Pytest

Usage

cd aws-s3-python
pytest
You can’t perform that action at this time.