Metadata-Version: 2.0
Name: lambda-harness
Version: 1.3.0
Summary: Test harness for AWS Lambda
Home-page: https://github.com/brandond/lambda-harness
Author: Brandon Davidson
Author-email: brad@oatmail.org
License: Copyright 2016 Brandon Davidson
Requires-Dist: awscli
Requires-Dist: boto3
Requires-Dist: botocore
Requires-Dist: click

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
Description: Python Lambda Test Harness
        ==========================
        
        Sets up and executes Python code in a method highly analogous to the Lambda runtime environment.
        
        Current notable gaps include:
        
        * No support for runtime or memory limits
        * No support for intra-execution cgroup freeze/thaw
        
        Other than these caveats, it should look and feel roughly like a real Lambda execution, including all the correct environment variables, data structures, and log messages.
        
        Check out the page on `GitHub <https://github.com/brandond/lambda-harness>`_ for complete documentation.
        
        -------
        Example
        -------
        
        ::
        
          [user@host ~]$ lambda invoke --path ~/lambdas/Exec_Command_Example/ --payload '{"command": "echo Hello, World"}'
          <CREATE Id:4771091906264488b7ad71f930e2aea0>
          <RUN Mode:event Handler:function.lambda_handler Suppress_init:0>
          <RUNNING>
          [INFO]  2016-12-07T08:54:13.632Z                Function module init() called
          START RequestId: b64c27dc-0fe6-4ba7-9123-24ea0cc3072f Version: $LATEST
          [INFO]  2016-12-07T08:54:13.633Z        b64c27dc-0fe6-4ba7-9123-24ea0cc3072f    Running command: echo Hello, World
          END: RequestId: b64c27dc-0fe6-4ba7-9123-24ea0cc3072f
          REPORT: RequestId: b64c27dc-0fe6-4ba7-9123-24ea0cc3072f Duration: 92.31 ms Billed Duration: 100 ms Memory Size: 128 MB Max Memory Used: N/A MB
          Hello, World
        
          <TERMINATE Id:4771091906264488b7ad71f930e2aea0>
        
        -----
        Usage
        -----
        
        Bootstrap once, then invoke::
        
          lambda bootstrap
          lambda invoke --path /path/to/lambda/
        
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Provides: lambda_harness
