Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

microgue

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

microgue

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

pipPyPI
Version
4.2.6
Maintainers
1

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)

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts