AWS Python SDK wrapper for boto3 commonly used functions
Project description
AWS Python SDK
Simple wrapper for AWS boto3 sdk commonly used functions.
Provide the following environment variables:
- ENV: development | production | ...
- AWSPROFILE: A named profile (non default) in the credential file, e.g.: 'myprofile'
- AWSREGION: A region name, e.g.: 'eu-west-1
AWSPROFILE and AWSREGION are needed in development only, production uses the default session / client configuration.
Installation
pip install actvalue.aws-pysdk
Usage
from aws_pysdk import s3_write, s3_read
# Write to S3
s3_write('my-bucket', 'hello.txt', 'Hello World', 'text/plain')
# Read from S3
response = s3_read('my-bucket', 'hello.txt')
content = response['Body'].read()
Develpment and test
Create and activate virtual environment
python -m venv .venv
.\.venv\Scripts\activate
Install package in development mode
pip install -e .
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file actvalue_aws_pysdk-0.1.0.tar.gz.
File metadata
- Download URL: actvalue_aws_pysdk-0.1.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06e38707f6277630c9d7f964ade36b70fe78a0d56f65bd14cab944146bbb7c54
|
|
| MD5 |
4ad148b0482ba0c8306eee5ac6b69c3e
|
|
| BLAKE2b-256 |
8891889089c6ee29a7cd7a820d31378d755e17558eba82f74709430c00121155
|
File details
Details for the file actvalue.aws_pysdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: actvalue.aws_pysdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ff890508430dcbd40ead9641660893081df72201f97dff81d74bb01e6eb4f27
|
|
| MD5 |
fbbf24c184ab641cbf757588c09f246a
|
|
| BLAKE2b-256 |
e597c0797c501542a997e93d70c6600f52056f0d63c0fd9a7366282ea6776302
|