<commit_before>Lamvery
=======

[![Build Status](https://img.shields.io/travis/marcy-terui/lamvery/master.svg)](http://travis-ci.org/marcy-terui/lamvery)
[![Coverage](https://img.shields.io/coveralls/marcy-terui/lamvery.svg)](https://coveralls.io/github/marcy-terui/lamvery)
[![Version](https://img.shields.io/pypi/v/lamvery.svg)](https://pypi.python.org/pypi/lamvery)
[![Downloads](https://img.shields.io/pypi/dm/lamvery.svg)](https://pypi.python.org/pypi/lamvery/)

Yet another deploy tool for AWS Lambda in the virtualenv.

# Requirements

- Python2.7
- ~~virtualenv~~

# Installation

```sh
pip install lamvery
```

# Setup

At first,

```sh
lamvery init
```

And put your `.lamvery.yml` like this.  
The configuration is written in YAML syntax with `jinja2` template.  
And environment variables stored `env` variable.

```yml
 profile: default
 region: us-east-1
 configuration:
   name: sample_lambda_function
   runtime: python2.7
   role: {{ env['AWS_LAMBDA_ROLE'] }}<commit_msg>[ci skip] Update README<commit_after>Lamvery
=======

[![Build Status](https://img.shields.io/travis/marcy-terui/lamvery/master.svg)](http://travis-ci.org/marcy-terui/lamvery)
[![Coverage](https://img.shields.io/coveralls/marcy-terui/lamvery.svg)](https://coveralls.io/github/marcy-terui/lamvery)
[![Version](https://img.shields.io/pypi/v/lamvery.svg)](https://pypi.python.org/pypi/lamvery)
[![Downloads](https://img.shields.io/pypi/dm/lamvery.svg)](https://pypi.python.org/pypi/lamvery/)

Function based deploy and management tool for AWS Lambda.

# Requirements

- Python2.7
- pip

# Recommends
- **virtualenv**  
  **Automatically collect the lightweighted and compiled libraries in virtualenv environment.**

# Installation

```sh
pip install lamvery
```

# Setup

At first,

```sh
lamvery init
```

And put your `.lamvery.yml` like this.  
The configuration is written in YAML syntax with `jinja2` template.  
And environment variables stored `env` variable.

```yml
 profile: default
 region: us-east-1
 configuration:
   name: sample_lambda_function
   runtime: python2.7
   role: {{ env['AWS_LAMBDA_ROLE'] }}
{'fraction_non_alphanumeric': 0.16682509505703422, 'fraction_numerical': 0.005703422053231939, 'mean_word_length': 4.658602150537634, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 14, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2905252', 'n_tokens_mistral': 802, 'n_tokens_neox': 745, 'n_words': 142}