semvec/pypi-packages huggingface dataset:
s3learning 0.1.0
Simple AWS S3 operations library
License: MIT
Requires Python: >=3.10

# S3Learning

A simple AWS S3 operations library for Python.

## Installation

```bash
pip install s3learning
```

## Usage

```python
from s3learning import S3Bucket, S3Object

# Create a bucket handler
bucket_handler = S3Bucket('us-east-1')
buckets = bucket_handler.list_buckets()
print(f"Available buckets: {buckets}")

# Work with objects in a bucket
object_handler = S3Object('us-east-1', 'my-bucket-name')
object_handler.upload_file('local_file.txt', 'remote_name.txt')
```

## Features

- Bucket operations: create, list, delete buckets
- Object operations: upload, download, delete, list objects
- Lifecycle policy management
- Resource existence checking