<commit_before>Aws Proxy Library
===

Library with proxy classes for [AWS SDK PHP library](https://github.com/aws/aws-sdk-php).

For documentation of AWS SDK PHP library see [documentation](http://aws.amazon.com/sdkforphp/).


### Implemented proxies for services
- S3 storage service

### Usage

```php
$config = array(
  accessKeyId => xxx,
  secretAccessKeyId => xxx,
  region => 'ap-southeast-1',
  bucket => 'test-bucket'
);

$s3Client = new \HQ\Aws\S3Proxy($config);

$s3Client->downloadFile($s3FilePath, $localFilePath);
```<commit_msg>Add information about bucket setter to Readme.md<commit_after>Aws Proxy Library
===

Library with proxy classes for [AWS SDK PHP library](https://github.com/aws/aws-sdk-php).

For documentation of AWS SDK PHP library see [documentation](http://aws.amazon.com/sdkforphp/).


### Implemented proxies for services
- S3 storage service

### Usage

```php
$config = array(
  accessKeyId => xxx,
  secretAccessKeyId => xxx,
  region => 'ap-southeast-1',
  bucket => 'test-bucket' // you can modify later by calling $s3Client->setBucket('another-bucket')
);

$s3Client = new \HQ\Aws\S3Proxy($config);

$s3Client->downloadFile($s3FilePath, $localFilePath);
```
{'fraction_non_alphanumeric': 0.1514644351464435, 'fraction_numerical': 0.010878661087866108, 'mean_word_length': 4.695238095238095, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 14, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5651017', 'n_tokens_mistral': 411, 'n_tokens_neox': 385, 'n_words': 103}