<commit_before>#!/usr/bin/env python
# encoding: utf-8
"""
helpers.py
Some modules to help with this project


Created by <NAME> on 2016-02-24.
Copyright (c) 2016 La Grange. All rights reserved.
MIT License
"""
def main():
    '''core program'''
    pass

if __name__ == "__main__":
    sys.exit(main())<commit_msg>for fetching content online<commit_after>#!/usr/bin/env python
# encoding: utf-8
"""
helpers.py
Some modules to help with this project


Created by <NAME> on 2016-02-24.
Copyright (c) 2016 La Grange. All rights reserved.
MIT License
"""
import requests
def fetch_content(uri):
    '''Fetch the URI and returns the raw content and its encoding'''
    content = requests.get(uri)
    return content.text, content.encoding
def main():
    '''core program'''
    pass

if __name__ == "__main__":
    sys.exit(main())
{'fraction_non_alphanumeric': 0.13059250302297462, 'fraction_numerical': 0.03143893591293833, 'mean_word_length': 3.8705882352941177, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 5, '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': '7449729', 'n_tokens_mistral': 279, 'n_tokens_neox': 258, 'n_words': 94}