/usr/share/pyshared/requests_aws-0.1.5.egg-info/PKG-INFO is in python-awsauth 0.1.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | Metadata-Version: 1.0
Name: requests-aws
Version: 0.1.5
Summary: AWS authentication for Amazon S3 for the python requests module
Home-page: https://github.com/tax/python-requests-aws
Author: Paul Tax
Author-email: paultax@gmail.com
License: BSD licence, see LICENCE.txt
Description: #S3 using python-requests
AWS authentication for Amazon S3 for the wonderful [pyhon requests library](http://python-requests.org)
- Tested with python 2.6 and python 3.3.2
- At the moment only S3 is supported
## Usage
```python
import requests
from awsauth import S3Auth
ACCESS_KEY = 'ACCESSKEYXXXXXXXXXXXX'
SECRET_KEY = 'AWSSECRETKEYXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
s = 'Sam is sweet'
# Creating a file
r = requests.put('http://mybuck.s3.amazonaws.com/file.txt', data=s, auth=S3Auth(ACCESS_KEY, SECRET_KEY))
# Downloading a file
r = requests.get('http://mybuck.s3.amazonaws.com/file.txt', auth=S3Auth(ACCESS_KEY, SECRET_KEY))
if r.text == 'Sam is sweet':
print "It works"
# Removing a file
r = requests.delete('http://mybuck.s3.amazonaws.com/file.txt', auth=S3Auth(ACCESS_KEY, SECRET_KEY))
```
## Installation
Installing requests-aws is simple with pip:
```
$ pip install requests-aws
```
[![Build Status](https://travis-ci.org/tax/python-requests-aws.png?branch=master)](https://travis-ci.org/tax/python-requests-aws)
Platform: UNKNOWN
|