Skip to main content

Use AWS Tags As A Key-Value DataBase

Project description

AWS Tags As A DataBase (AWS TaaDB) 🚀🚀

PyPI version GitHub issues GitHub contributors GitHub last commit

NOTE: Please Don't Acutally Use this as a Database! Please Reference An AWS Database Safari By Corey Quinn for acutally databases

About 🏎️🏎️

Corey Quinn describes how to use AWS Managed DNS Offering (Route 53) as a DataBase in Route 53, Amazon Premier Database By Corey Quinn & Twitter Thread.

To continue to trend to misuse random AWS resources as, AWS Tags As A Database (AWS TaaDb) Python🐍🐍 library was created to use AWS Tags feature as a Key-Value database.

It uses AWS EC2 instance Tags as the database in its current configuration but nothing is stopping it from using any AWS resource that allows the use of Tags

Installation 🚀🚀

pip install TagsAsADatabase

Examples 🚀🚀

# imports AWS Tags As A Database Library
from TagsAsADatabase import DatabaseClient

# create a database client (using AWS EC2 instance Tags as backend)
# pass in the resource id of an ec2 instance
# region_name defaults to us-east-1
dbClient = DatabaseClient(INSTANCE_ID region_name=REGION_NAME)

# gets all the current Keys of the key-value database
# returns type List[str]
print(dbClient.getAllKeys())

# gets all the key-value pairs
# returns as type Dict[str, str]
print(dbClient.getKeyValuePairs())

# adds or updates the VALUE at KEY 
dbClient.updateKeyValue(KEY, VALUE)

# deletes the key-value pair at KEY
dbClient.deleteKeyValue(KEY)

Resources 🚀🚀

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

AWS Tags As A DataBase-0.0.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

AWS_Tags_As_A_DataBase-0.0.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file AWS Tags As A DataBase-0.0.1.tar.gz.

File metadata

  • Download URL: AWS Tags As A DataBase-0.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for AWS Tags As A DataBase-0.0.1.tar.gz
Algorithm Hash digest
SHA256 467f96ae58cdfb10f88bf85998dac922c02fa7216b0cb51334f153151ff6eb91
MD5 e7b8d47d1e829118ecd9bf130ee8f7c9
BLAKE2b-256 fe57269fac1c7c22b67a626003300a1055c8fcbb689462e18ce8dde9f87ae48d

See more details on using hashes here.

File details

Details for the file AWS_Tags_As_A_DataBase-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: AWS_Tags_As_A_DataBase-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for AWS_Tags_As_A_DataBase-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 883c2093b5e77c49927ba377a5c10cb8883650ba1498395175e76048eb267719
MD5 66ec7a96d17c0fb3f0a44f5e1720f7f0
BLAKE2b-256 08b7963ca906af6db285564e5df6e80a0d70959b3b269da365ca2eae37cddb31

See more details on using hashes here.

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