Skip to content

Commit 3f678cd

Browse files
committed
Merge pull request #7 from irlrobot/pypi_setup
Pypi setup
2 parents e80b625 + 21adebc commit 3f678cd

20 files changed

Lines changed: 19 additions & 27 deletions

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
recursive-include lambda_sample_events/json_samples *
1+
recursive-include aws_lambda_sample_events/json_samples *

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
[![Coverage Status](https://coveralls.io/repos/github/irlrobot/python_lambda_sample_events/badge.svg?branch=master)](https://coveralls.io/github/irlrobot/python_lambda_sample_events?branch=master)
2-
[ ![Codeship Status for irlrobot/python_lambda_sample_events](https://codeship.com/projects/938444a0-d5be-0133-1313-7edf9ccff8c4/status?branch=master)](https://codeship.com/projects/142651)
1+
[![Coverage Status](https://coveralls.io/repos/github/irlrobot/python_aws_lambda_sample_events/badge.svg?branch=master)](https://coveralls.io/github/irlrobot/python_aws_lambda_sample_events?branch=master)
2+
[ ![Codeship Status for irlrobot/python_aws_lambda_sample_events](https://codeship.com/projects/938444a0-d5be-0133-1313-7edf9ccff8c4/status?branch=master)](https://codeship.com/projects/142651)
33
# Python module for creating sample events to test AWS Lambda functions.
44
This small module is meant to help test Python based [AWS Lambda](https://aws.amazon.com/lambda/) functions that get triggered by other AWS services (ex: CodePipeline action). The module will generate an "event" that appears to come from a specified service which can be used to simulate an actual invocation of the function.
55

6+
# Installation
7+
``` pip install aws_lambda_sample_events ```
8+
69
# Usage Example
710
```python
8-
from lambda_sample_events import SampleEvent
11+
from aws_lambda_sample_events import SampleEvent
912
from pprint import pprint
1013
codepipeline = SampleEvent('codepipeline')
1114
pprint(codepipeline.event)
@@ -26,8 +29,3 @@ pprint(codepipeline.event)
2629
* cloudwatch_logs
2730
* cloudwatch_events
2831
* config_rule
29-
30-
# References
31-
[AWS Lambda Event Sources](http://docs.aws.amazon.com/lambda/latest/dg/eventsources.html)
32-
33-
[AWS ARNs](http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""
22
Python module for creating sample events to test AWS Lambda functions.
33
"""
4-
from lambda_sample_events.sample_event import SampleEvent
4+
from aws_lambda_sample_events.sample_event import SampleEvent

lambda_sample_events/json_samples/cloudformation.json renamed to aws_lambda_sample_events/json_samples/cloudformation.json

File renamed without changes.

lambda_sample_events/json_samples/cloudwatch_events.json renamed to aws_lambda_sample_events/json_samples/cloudwatch_events.json

File renamed without changes.

lambda_sample_events/json_samples/cloudwatch_logs.json renamed to aws_lambda_sample_events/json_samples/cloudwatch_logs.json

File renamed without changes.
File renamed without changes.

lambda_sample_events/json_samples/cognito_sync_trigger.json renamed to aws_lambda_sample_events/json_samples/cognito_sync_trigger.json

File renamed without changes.
File renamed without changes.

lambda_sample_events/json_samples/dynamodb_update.json renamed to aws_lambda_sample_events/json_samples/dynamodb_update.json

File renamed without changes.

0 commit comments

Comments
 (0)