Skip to main content

AWS Lambda toolkit

Project description

https://badge.fury.io/py/Ardy.svg https://img.shields.io/pypi/dm/ardy.svg https://travis-ci.org/avara1986/ardy.svg?branch=master https://coveralls.io/repos/github/avara1986/ardy/badge.svg?branch=master Documentation Status Requirements Status Updates Python 3

Ardy is a toolkit to work with AWS Lambas and implement Continuous Integration. AWS Lambda is a serverless compute service that runs your code in response to events and automatically manages the underlying compute resources for you. Alas, AWS Lambda has a very bad GUI interfaces, especially if you work with teams and releases. You can’t see at a glance the triggers you have active, the resources of your AWS Lambda or have a version control.

With Ardy you can manage your AWS Lambda with a JSON config file stored in your VCS.

IMPORTANT NOTE: If you want to work with AWS Lambda, it’s recommended read about it. Ardy helps and support you to manage your environments but doesn’t performs “The black magic” for you.

Installation

Install the latest Ardy release via pip:

pip install ardy

You may also install a specific version:

pip install ardy==0.0.1

Quickstart

See the documentation

How to contrib

This project is build with Git Flow. If you want to commit some code use this pattern please:

http://nvie.com/img/git-model@2x.png

Extra: Why this name?

import operator
from nltk import FreqDist
from nltk.tokenize import RegexpTokenizer
from nltk.book import text6 # Book Monty Python Holy Grail
import requests


tokens = [f.lower() for f in text6]
result_holygrail = FreqDist(tokens)
# result_holygrail.most_common(42)
holygrail_top = [s[0] for s in sorted([(w, result_holygrail[w]) for w in set(tokens) if len(w) > 4 and result_holygrail[w] > 20], key=operator.itemgetter(1), reverse=True)]




tokenizer = RegexpTokenizer(r'\w+')

response = requests.get("http://www.angelfire.com/movies/closedcaptioned/meanlife.txt")
meanlife = response.text

tokens = tokenizer.tokenize(meanlife)

result_meanlife = FreqDist(tokens)
# result_meanlife.most_common(42)
meanlife_top = [s[0] for s in sorted([(w, result_meanlife[w]) for w in set(tokens) if len(w) > 4 and result_meanlife[w] > 20], key=operator.itemgetter(1), reverse=True)]
for i in range(0, 30):
    print("{}: {} {}".format(i+1, holygrail_top[i], meanlife_top[i]))
    print("{}: {}{}".format(i+1, holygrail_top[i][:2], meanlife_top[i][-2:]))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Ardy-0.0.6.tar.gz (64.5 kB view details)

Uploaded Source

File details

Details for the file Ardy-0.0.6.tar.gz.

File metadata

  • Download URL: Ardy-0.0.6.tar.gz
  • Upload date:
  • Size: 64.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for Ardy-0.0.6.tar.gz
Algorithm Hash digest
SHA256 97a4412445eed5b0f1fb565ca6ab7d7f624f20e32c538a6024163a62c212acd8
MD5 e99e5c6dbc8a171e249756f0abc55d13
BLAKE2b-256 7d57f76fe533ee172f2844b9fa8b581658ee96af13987c63447cd58fafdebd8a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page