Skip to main content

Additional boto3 wrappers to make your life a little easier

Project description

boto3 assist

PyPI version License: MIT Downloads

This is in beta and subject to changes before it's initial 1.0.0 release

This libary was created to make life a little easier when using boto3.

Currently it supports:

  • User Authentication / Session Mapping
  • DynamoDB model mapping and key generation.

User Authentication / Session Mapping

Have you ever needed an easy way to load your sessions for a local, dev or production enviroment? Well this library makes it a little easier by lazy loading your boto3 session so that tools like python-dotenv can be used to load your environment vars first and then load your session.

DyamoDB model mapping and Key Generation

It's a light weight mapping tool to turn your python classes / object models to DynamoDB items that are ready for saving. See the examples directory in the repo for more information.

python -m vevn .venv
source ./.venv/bin/activate

pip install --upgrade pip  
pip install boto3-assist

Running Unit Tests

Several of our tests use a mocking library to simulate connections to S3, DynamoDB, etc. In order to use those tests, you will need to have a .env.unittest file at the root of this project (which our tests will attempt to locate and load).

For your convenince the .evn.unittest file has been added to this project. The values should not point to live AWS profiles, instead it should use the values added.

Since we also point to a profile, you should create the profile in the ~/.aws/config file. The entry should look like the following:

[profile moto-mock-tests]
region = us-east-1
output = json
aws_access_key_id = test
aws_secret_access_key = test

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

boto3_assist-0.14.0.tar.gz (93.2 kB view details)

Uploaded Source

Built Distribution

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

boto3_assist-0.14.0-py3-none-any.whl (85.1 kB view details)

Uploaded Python 3

File details

Details for the file boto3_assist-0.14.0.tar.gz.

File metadata

  • Download URL: boto3_assist-0.14.0.tar.gz
  • Upload date:
  • Size: 93.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for boto3_assist-0.14.0.tar.gz
Algorithm Hash digest
SHA256 204870b9946793b4ff26c6cc1d8b96e419cb4b4e0a4b1b6498e48d423f97d6e4
MD5 3c8bd7d1b5d3793047c2ac99a1fe3801
BLAKE2b-256 ed34873f8343d8aa92a03712653f1beb0c124654fc9dc017d8671f6a7ea44eab

See more details on using hashes here.

File details

Details for the file boto3_assist-0.14.0-py3-none-any.whl.

File metadata

  • Download URL: boto3_assist-0.14.0-py3-none-any.whl
  • Upload date:
  • Size: 85.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for boto3_assist-0.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 890a241c7edd309c80d63fdbaf606b9d8104d7ef95d5d3a71c6a478e27c50396
MD5 6ddecb2c00425c1d8f8a0f08a168207a
BLAKE2b-256 16b192359644d462147fdb8b844a1c70fe66c2754e7d53a8d31dcdedd3abb2b3

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