<commit_before>import os
from time import sleep

import stripe
from salesforce_bulk import SalesforceBulk
from simple_salesforce import Salesforce

from config import STRIPE_KEYS

stripe.api_key = STRIPE_KEYS['secret_key']

# get Stripe emails
customers = stripe.Customer.all(limit=100)
stripe_emails = set((x['email'].lower() for x in customers.auto_paging_iter()))<commit_msg>check if email exists<commit_after>import os
from time import sleep

import stripe
from salesforce_bulk import SalesforceBulk
from simple_salesforce import Salesforce

from config import STRIPE_KEYS

stripe.api_key = STRIPE_KEYS['secret_key']

# get Stripe emails
customers = stripe.Customer.list(limit=100)
stripe_emails = set((x['email'].lower() for x in customers.auto_paging_iter() if x['email']))
{'fraction_non_alphanumeric': 0.08472400513478819, 'fraction_numerical': 0.007702182284980745, 'mean_word_length': 7.125, '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': '5749061', 'n_tokens_mistral': 259, 'n_tokens_neox': 242, 'n_words': 70}