Skip to main content

A Colorful AWS SDK wrapper for Python

Project description


A Colorful AWS SDK wrapper for Python

Current version at PyPI Supported Python Versions Software status PyPI - Downloads


pip install pinkboto


import pinkboto
aws ='production', region='us-east-1') 
selector = {'resource': 'aws_db_instance'}
projection = ['DBInstanceIdentifier', 'Endpoint']
rds = aws.find(selector, projection)


By default, pinkboto caching all requests with 120 seconds lifespan.

To disable:

aws ='production', region='us-east-1', cache=False)

To modify lifespan to 1 hour:

aws ='production', region='us-east-1', cache=3600)

AWS Lambda usage

When using pinkboto in an AWS Lambda it is important to change the cache folder to the /tmp writable folder.

aws ='production', region='us-east-1', cache=3600, cache_folder='/tmp/pinkboto')

Subfield projection

You can access a subfield in projection. For example 'Endpoint.Address' in rds

rds = aws.find({'resource': 'aws_db_instance'}, ['Endpoint.Address', 'AvailabilityZone'])

CSV output

pinkboto.to_csv(rds, 'result.csv')

pypi package publish

update version.
python3 sdist
twine upload dist/pinkboto-${new-version}.tar.gz


Pull requests for new features, bug fixes, and suggestions are welcome!


GNU General Public License v3 (GPLv3)

Developer install requirements

pre-commit install

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

pinkboto-0.0.46.tar.gz (23.0 kB view hashes)

Uploaded source

Supported by

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