Skip to main content

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

actvalue_aws_pysdk-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

actvalue.aws_pysdk-0.1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

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

Hashes for actvalue_aws_pysdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 06e38707f6277630c9d7f964ade36b70fe78a0d56f65bd14cab944146bbb7c54
MD5 4ad148b0482ba0c8306eee5ac6b69c3e
BLAKE2b-256 8891889089c6ee29a7cd7a820d31378d755e17558eba82f74709430c00121155

See more details on using hashes here.

File details

Details for the file actvalue.aws_pysdk-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for actvalue.aws_pysdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2ff890508430dcbd40ead9641660893081df72201f97dff81d74bb01e6eb4f27
MD5 fbbf24c184ab641cbf757588c09f246a
BLAKE2b-256 e597c0797c501542a997e93d70c6600f52056f0d63c0fd9a7366282ea6776302

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page