Coder Social home page Coder Social logo

spazm / awstagsasadatabase Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 5 KB

AWS Tags As A Database (AWS TaaDb)πŸš€ is a Python 🐍 library using AWS Tags as a Key-Value database. This database is completely free* πŸ’Έ

License: MIT License

Python 100.00%

awstagsasadatabase's Introduction

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.getAllKeyPairs())

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

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

Resources πŸš€πŸš€

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.