<commit_before>whitelist
=========

Generate a list of ipaddresses based off the SPF records of domain names.

whitelist.py can generate a list of ip addresses for a domain name
```
fred$ ./whitelist.py -d google.com
192.168.127.12/16
2001:4860:4000::/36
. . .
172.16.58.3/16
```

or for a list of domain names.

```
fred$ ./bin/whitelist -f domains.txt
172.16.58.3/28
192.168.3.11
. . .
192.168.127.12/27
```<commit_msg>changed README file<commit_after>whitelist
=========

Generate a list of ipaddresses based off the SPF records of domain names.
This whitelist is intended for spamdb and pf

whitelist.py can generate a list of ip addresses for a domain name
```
fred$ ./whitelist.py -d google.com
192.168.127.12/16
2001:4860:4000::/36
. . .
172.16.58.3/16
```

or for a list of domain names.

```
fred$ ./bin/whitelist -f domains.txt
172.16.58.3/28
192.168.3.11
. . .
192.168.127.12/27
```

{'fraction_non_alphanumeric': 0.15436241610738255, 'fraction_numerical': 0.15436241610738255, 'mean_word_length': 3.2216981132075473, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 10, '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': '33591', 'n_tokens_mistral': 435, 'n_tokens_neox': 342, 'n_words': 104}