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)
Metadata
Release files for microgue 4.2.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| microgue-4.2.10.tar.gz | 20.1 kB | Without provenance | Details for microgue-4.2.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| microgue-4.2.10-py3-none-any.whl | Python 3 | none | any | Details for microgue-4.2.10-py3-none-any.whl |
Total release size: 57.2 kB
Release files / microgue-4.2.10.tar.gz
| Download URL | microgue-4.2.10.tar.gz |
|---|---|
| Size | 20.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a1f5b1bdebc437f42ffc73fb1d4d47ff01b4bd78e18e903e781129cf0eb5c1a7
|
|
BLAKE2b-256 checksum How to use checksums |
6ee1b019d0ff61dbaddcfc0f6325c9ca197a254c02496670b9d1aa48d1250f15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|
Release files / microgue-4.2.10-py3-none-any.whl
| Download URL | microgue-4.2.10-py3-none-any.whl |
|---|---|
| Size | 37.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
24586842d9c2f4be33493efac0c3d47fe2b4f43c20151194dbaa33f8f7502f83
|
|
BLAKE2b-256 checksum How to use checksums |
8c483a7bde07980f8004a31207099bba2291ca3b22820fd4bf70e9b942dd9dfc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|
Security for microgue 4.2.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.