<commit_before>akamai-clear-rest
=================

Just a Python3 script to clear Akamai cache via their new REST API.

    $ ./akamai-clear-rest.py --help
    usage: akamai-clear-rest.py [-h] (--cpcode CPCODE | --object OBJECT) --user
                                USER --passwd <PASSWORD>
    
    optional arguments:
      -h, --help       show this help message and exit
      --cpcode CPCODE  CP code to clear
      --object OBJECT  Object to clear (can specify multiple times)
      --user USER      Akamai user
      --passwd <PASSWORD>  <PASSWORD><commit_msg>update readme to include reference to Requests<commit_after>akamai-clear-rest
=================

Just a Python3 script to clear Akamai cache via their new REST API.

    $ ./akamai-clear-rest.py --help
    usage: akamai-clear-rest.py [-h] (--cpcode CPCODE | --object OBJECT) --user
                                USER --passwd <PASSWORD>
    
    optional arguments:
      -h, --help       show this help message and exit
      --cpcode CPCODE  CP code to clear
      --object OBJECT  Object to clear (can specify multiple times)
      --user USER      Akamai user
      --passwd <PASSWORD>  <PASSWORD>

Uses the lovely [Requests](http://docs.python-requests.org/en/latest/) module.
{'fraction_non_alphanumeric': 0.12290502793296089, 'fraction_numerical': 0.0015961691939345571, 'mean_word_length': 2.135, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '2415544', 'n_tokens_mistral': 375, 'n_tokens_neox': 373, 'n_words': 128}