Package short description.
Project description
Welcome to lbdrabbit Documentation
Documentation for lbdrabbit.
设计思路
Lambda Function 是 Serverless Architect 中的核心部件. 而架构中常用的中间件有:
Api Gateway, 用于向外部提供调用接口.
SQS, Kinesis Stream, DynamoDB Stream, 通过流中间件触发 Lambda Function
Event Rule, 根据 Cron Job 的规则, 定时触发 Lambda.
S3 Put Object Event, 由存储桶中的数据更新的事件触发.
那么我就会开始想, 能不能开发一个框架, 让我们专注于 Lambda Function 的核心处理逻辑实现, 以及事件驱动的规则定义, 然后自动的生成那些与部署相关的代码呢?
在对开源社区进行了一番调查之后发现, 目前已有 Serverless Framework 和 AWS Sam 两个框架. 这两个框架都可以简化 Lambda Function 的部署, 但是需要用户自行维护除 AWS Lambda 以外的模块的部署, 例如 API Gateway, S3, SQS, Kinesis, DynamoDB Stream. 另一个问题是, 他们都使用了 YML 格式的配置文件, 但是当 Lambda Function 数量很多时, 仍然需要手动的一个一个指定每个 Lambda Function 的具体配置.
于是, 我萌生了一个想法, 能不能 Lambda Function 的配置 像 Python 中的 类继承 一样简单和灵活呢? 能不能由 Lambda Function 的配置, 自动推导出其他系统的配置, 并自动帮我们部署这些系统呢?
这就是 lbdrabbit 诞生的原因.
Install
lbdrabbit is released on PyPI, so all you need is:
$ pip install lbdrabbit
To upgrade to latest version:
$ pip install --upgrade lbdrabbit
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
Built Distribution
File details
Details for the file lbdrabbit-0.0.1.tar.gz
.
File metadata
- Download URL: lbdrabbit-0.0.1.tar.gz
- Upload date:
- Size: 58.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76015a1e7368d207551af04f679a43a9809a339ec3304f708b93e1e4e82fe62d |
|
MD5 | 102b6c7cb5733cbb913d2207ab23e514 |
|
BLAKE2b-256 | aaabdc007a6c822bd02e100dcf05f84d9aba06b80d645dbb6a28a82c00765a94 |
File details
Details for the file lbdrabbit-0.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: lbdrabbit-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 86.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f72f19a1608cbad913273fa91a70ccdf5f40690d14dd38977d20606da3af9498 |
|
MD5 | 4501cba99586ec0f35946c9cebb63d26 |
|
BLAKE2b-256 | 3bbe90f5be70d28af40847f5e9d162434e211655e6de02efeecfdaa2895b93e9 |