<commit_before>aws-ec2-events
==============

An extremely simplistic cli tool to emit amazon ec2 events. This might be useful with this whole aws reboot "gate".

usage
-----

	$ make
	$ cd bin
	#
	## To send alert to yourself when there's an event
	#
	$ ./aws-ec2-events \
			-key=<aws access key id> \
			-secret=<aws secret access key> \
			-alert_email=<email where you will recieve alerts> \
			-imap_username=<imap username> \
			-imap_password=<imap password>
	#
	## OR just take a look at what events your instnaces may have ...
	#
	$ ./aws-ec2-events -key=<aws access key id> -secret=<aws secret access key><commit_msg>Updated README.md.<commit_after>aws-ec2-events
==============

An extremely simplistic cli tool to emit amazon ec2 events. This might be useful with this whole aws reboot "gate".

Usage
-----

	$ make
	$ cd bin
	#
	## To send alert to yourself when there's an event
	#
	$ ./aws-ec2-events \
			-key=<aws access key id> \
			-secret=<aws secret access key> \
			-alert_email=<email where you will recieve alerts> \
			-imap_username=<imap username> \
			-imap_password=<imap password>
	#
	## OR just take a look at what events your instnaces may have ...
	#
	$ ./aws-ec2-events -key=<aws access key id> -secret=<aws secret access key>
{'fraction_non_alphanumeric': 0.13639968279143536, 'fraction_numerical': 0.006344171292624901, 'mean_word_length': 3.1241830065359477, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6212718', 'n_tokens_mistral': 452, 'n_tokens_neox': 423, 'n_words': 148}