<commit_before># applechecker

> Check Apple Store Inventory

Keep checking Apple Store inventory and send you alert when nearby stores have your desired device in stock.
Also let you know if inventory becomes zero again so you don't jump out of bed when it is already too late.

* [Prerequisites](#prerequisites)
* [Usage](#usage)

## Prerequisites

* `pip install requests`

* A gmail account if want email alert.

* For SMS alert, the script uses the free service provided by [TextBelt](http://textbelt.com/), which has some limitations like "IP addresses are limited to 75 texts per day" and "Phone numbers are limited to 3 texts every 3 minutes". Check their page for details.

## Usage<commit_msg>add instruction for handling 'insecure app' error from Gmail<commit_after># applechecker

> Check Apple Store Inventory

Keep checking Apple Store inventory and send you alert when nearby stores have your desired device in stock.
Also let you know if inventory becomes zero again so you don't jump out of bed when it is already too late.

* [Prerequisites](#prerequisites)
* [Usage](#usage)

## Prerequisites

* `pip install requests`

* A gmail account if want email alert. (Got refused by Gmail because the app is insecure? [Enable 2-Step Verification](https://support.google.com/accounts/answer/185839?hl=en) and [generate an App password](https://support.google.com/accounts/answer/185833?hl=en) for it. Or follow [this instruction](https://support.google.com/accounts/answer/6010255?hl=en) to allow insecure login)

* For SMS alert, the script uses the free service provided by [TextBelt](http://textbelt.com/), which has some limitations like "IP addresses are limited to 75 texts per day" and "Phone numbers are limited to 3 texts every 3 minutes". Check their page for details.

## Usage
{'fraction_non_alphanumeric': 0.07953281423804227, 'fraction_numerical': 0.01557285873192436, 'mean_word_length': 4.784565916398714, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 3, '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': '1105648', 'n_tokens_mistral': 517, 'n_tokens_neox': 470, 'n_words': 238}