<commit_before># PetFeeder

A simple python class that controls a petfeeder.
Features include:
* Running on a schedule
* Running via a button press
* Re-ordering food from Amazon Dash Service
* Interactions with an Amazon Alexa app
* Website interface to view the status of the feeder

See the full writeup at <https://www.hackster.io/>

If you want to use Alexa app or view data via the web site sign up here <https://onlineservicehub.azurewebsites.net/> *(beta)*

<https://github.com/editter/PetFeeder/archive/master.zip>

```
TOKEN = "<Token>"
DEVICE_ID = "<Device-Id>"
DEVICE_KEY = "<Device-Key>"
FEEDER = PetFeeder(TOKEN,<commit_msg>Updated links for Hackster.io<commit_after>
<!--# PetFeeder-->

A simple python class that controls a petfeeder.
Features include:
* Running on a schedule
* Running via a button press
* Re-ordering food from Amazon Dash Service
* Interactions with an Amazon Alexa app
* Website interface to view the status of the feeder

See the full writeup at [Hackster.io](https://www.hackster.io/editter/smart-pet-feeder-b226d8)

If you want to use Alexa app or view data via the web site sign up here <https://onlineservicehub.azurewebsites.net/> *(beta)*

<https://github.com/editter/PetFeeder/>

```
TOKEN = "<Token>"
DEVICE_ID = "<Device-Id>"
DEVICE_KEY = "<Device-Key>"
FEEDER = PetFeeder(TOKEN,
{'fraction_non_alphanumeric': 0.10935143288084465, 'fraction_numerical': 0.0030165912518853697, 'mean_word_length': 4.59915611814346, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, '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': '6731201', 'n_tokens_mistral': 420, 'n_tokens_neox': 406, 'n_words': 154}