Skip to main content

This project contains bootstrap code to speed up the development of AWS based microservices

Project description

AWS Microservice Bootstrap Code

This project contains bootstrap code to speed up the development of AWS based microservices

This includes:

  • Redis Cache
  • EventBridge
  • DynamoDB Models, Tables, and Objects
  • SQS Queues
  • Secrets Manager
  • S3 Storage

This project also includes base code for:

  • Logger Definitions
  • Service Definitions

Working On Microgue

Repo: https://bitbucket.org/michaelhudelson/microgue/src/master

Clone: git clone https://bitbucket.org/michaelhudelson/microgue/src/master

Requirements

  • Python 3.7+

Pre-Setup

  • Make sure you have an IAM user created with correct permissions in your AWS account

    • Create an Access Key on that user

    • Install awscli pip install awscli

    • Add that Access Key with aws configure

    • Verify you are using the correct Access Key with aws configure list

    • You can also verify by looking at the file ~/.aws/credentials

Install Microgue

pip install microgue

Distribution

# update version in setup.py

# commit and push changes
git add .
git commit -m "v1.0.X"
git push origin master

# tag the commit and push
git tag -a v1.0.X -m "Release v1.0.X"
git push --tags

# package with:
source venv/bin/activate
python setup.py sdist bdist_wheel

# https://pypi.org/project/microgue/
# upload to pypi with:
python -m twine upload dist/*

# OPTIONAL
# https://test.pypi.org/project/microgue/
# upload to test pypi with:
twine upload --repository-url https://test.pypi.org/legacy/ dist/*

Backlog

  • async events
  • async caches
  • async storages
  • write dynamodb orm documentation
  • get_all accept sk_operation ["eq", "begins_with", "between", "lt", "lte", "gt", "gte"]
    • Operation.begins_with = lambda sk, sk_value: Key(sk).begins_with(sk_value)

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

microgue-4.2.4.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

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

microgue-4.2.4-py3-none-any.whl (36.9 kB view details)

Uploaded Python 3

File details

Details for the file microgue-4.2.4.tar.gz.

File metadata

  • Download URL: microgue-4.2.4.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for microgue-4.2.4.tar.gz
Algorithm Hash digest
SHA256 89d7e7e50871b7a3bab8f1a37f7ddbc3fff06558285f9a66ab4cd6750f0463bf
MD5 3a3c258648853dd5d46c4d999ec33248
BLAKE2b-256 4690f57b8589d41c66cbc1bbf15d0594b14d8529f886046177c22f6c07f25658

See more details on using hashes here.

File details

Details for the file microgue-4.2.4-py3-none-any.whl.

File metadata

  • Download URL: microgue-4.2.4-py3-none-any.whl
  • Upload date:
  • Size: 36.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for microgue-4.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3dca2a00def56790529d3b9e680958478f850153a7820536d2f7941367bb9e01
MD5 bcb74eaa152f890f86b31ae45770f4b4
BLAKE2b-256 355cffebf584e3b7073f5100d2d7e2b3fe8b1432e7918e0b4d297980a7b19e3b

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