Skip to main content
Documentation Status https://github.com/MacHu-GWU/simple_aws_rds-project/workflows/CI/badge.svg https://codecov.io/gh/MacHu-GWU/simple_aws_rds-project/branch/main/graph/badge.svg https://img.shields.io/pypi/v/simple_aws_rds.svg https://img.shields.io/pypi/l/simple_aws_rds.svg https://img.shields.io/pypi/pyversions/simple_aws_rds.svg https://img.shields.io/badge/Release_History!--None.svg?style=social https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social
https://img.shields.io/badge/Link-Document-blue.svg https://img.shields.io/badge/Link-API-blue.svg https://img.shields.io/badge/Link-Source_Code-blue.svg https://img.shields.io/badge/Link-Install-blue.svg https://img.shields.io/badge/Link-GitHub-blue.svg https://img.shields.io/badge/Link-Submit_Issue-blue.svg https://img.shields.io/badge/Link-Request_Feature-blue.svg https://img.shields.io/badge/Link-Download-blue.svg

Welcome to simple_aws_rds Documentation

https://simple-aws-rds.readthedocs.io/en/latest/_static/simple_aws_rds-logo.png

Pythonic AWS RDS boto3 API, for human.

Usage:

from simple_aws_rds.api import RDSDBInstance, RDSDBSnapshot
from boto_session_manager import BotoSesManager

bsm = BotoSesManager()

# get db instance by id
db_inst = RDSDBInstance.from_id(bsm, "my-db-identifier")
# get db instance by tag key value pair, it returns a iter proxy that may have multiple db instance
db_inst = RDSDBInstance.from_tag_key_value(bsm, key="Env", value="prod").one_or_none()
db_inst = RDSDBInstance.query(bsm, filters=..., db_instance_identifier=...).all()

print(db_inst.id)
print(db_inst.status)
print(db_inst.instance_class)
print(db_inst.instance_create_time)
print(db_inst.engine)
print(db_inst.engine_version)
print(db_inst.endpoint)
print(db_inst.port)
print(db_inst.hosted_zone_id)
print(db_inst.vpc_id)
print(db_inst.subnet_ids)
print(db_inst.security_groups)
print(db_inst.availability_zone)
print(db_inst.publicly_accessible)
print(db_inst.tags)
print(db_inst.data)

print(db_inst.is_available())
print(db_inst.is_stopped())
print(db_inst.is_ready_to_start())
print(db_inst.is_ready_to_stop())

Install

simple_aws_rds is released on PyPI, so all you need is:

$ pip install simple_aws_rds

To upgrade to latest version:

$ pip install --upgrade simple_aws_rds

Metadata

Release files for simple-aws-rds 0.5.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simple-aws-rds 0.5.3
File Size Uploaded
simple_aws_rds-0.5.3.tar.gz 19.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for simple-aws-rds 0.5.3
File Interpreter ABI Platform
simple_aws_rds-0.5.3-py3-none-any.whl Python 3 none any Details

Total release size: 36.5 kB

Release files / simple_aws_rds-0.5.3.tar.gz

Download URL simple_aws_rds-0.5.3.tar.gz
Size 19.7 kB
Tags Source
SHA-256 checksum
How to use checksums
fa08b5c19594b4a85c6edfae2cba81a1d34ed237540ef3cf9e5dce531983e7db
BLAKE2b-256 checksum
How to use checksums
262058b40b6f2f92c4519bbfdec7c452b7eeb6713add66f81dbf76ea4f2e3e5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.10

Release files / simple_aws_rds-0.5.3-py3-none-any.whl

Download URL simple_aws_rds-0.5.3-py3-none-any.whl
Size 16.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb2dc114342b2661b1c0ed2284220d638737e114b7dcdfd88e1a3f1ea444b7f1
BLAKE2b-256 checksum
How to use checksums
1768131f5796dde1eca50042af7151600780a537693fbc0ae4d926e17747f90b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.10

Release history Release notifications | RSS feed

This release

0.5.3 This release

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.4.1

2 release files

0.3.1

2 release files

0.2.1

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page