<commit_before># must do pip install twilio


from twilio.rest import TwilioRestClient
import json


with open('twilio_config.json', 'r') as infile:
    twilio_config = json.load(infile)


# account_sid
# auth_token
# phone_number

twilio_client = TwilioRestClient(
    twilio_config['account_sid'],
    twilio_config['auth_token']
)
<commit_msg>finished twilio sms helper<commit_after># must do pip install twilio


from twilio.rest import TwilioRestClient
import json


with open('twilio_config.json', 'r') as infile:
    twilio_config = json.load(infile)


twilio_client = TwilioRestClient(
    twilio_config['account_sid'],
    twilio_config['auth_token']
)

def send_sms(to_number, body):
    message = twilio_client.messages.create(
        body=body,
        to=to_number,
        from_=twilio_config['phone_number']
    )

if __name__ == '__main__':
    send_sms('+12485203071', 'hello twilio helper works')
{'fraction_non_alphanumeric': 0.10273224043715846, 'fraction_numerical': 0.012021857923497269, 'mean_word_length': 4.619631901840491, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2584980', 'n_tokens_mistral': 324, 'n_tokens_neox': 311, 'n_words': 68}