<commit_before>"""Setup for Flask Extras."""

from setuptools import setup, find_packages
import os

SRCDIR = '.'


def readme():
    """Grab the long README file."""
    try:
        with open('README.md', 'r') as fobj:
            return fobj.read()
    except IOError:
        try:
            with open('README.rst', 'r') as fobj:
                return fobj.read()
        except IOError:
            return 'No README specified.'


def get_requires():
    """Extract the requirements from a standard requirements.txt file."""
    path = '{}/requirements.txt'.format(
        os.path.abspath(os.path.dirname(__file__)))
    with open(path) as reqs:
        return [req for req in reqs.readlines() if req]

setup(
    name='flask_extras',
    version='1.0.0',
    description=('Assorted useful flask views, blueprints, '
                 'Jinja2 template filters, and templates/macros'),<commit_msg>Bump version<commit_after>"""Setup for Flask Extras."""

from setuptools import setup, find_packages
import os

SRCDIR = '.'


def readme():
    """Grab the long README file."""
    try:
        with open('README.md', 'r') as fobj:
            return fobj.read()
    except IOError:
        try:
            with open('README.rst', 'r') as fobj:
                return fobj.read()
        except IOError:
            return 'No README specified.'


def get_requires():
    """Extract the requirements from a standard requirements.txt file."""
    path = '{}/requirements.txt'.format(
        os.path.abspath(os.path.dirname(__file__)))
    with open(path) as reqs:
        return [req for req in reqs.readlines() if req]

setup(
    name='flask_extras',
    version='2.0.0',
    description=('Assorted useful flask views, blueprints, '
                 'Jinja2 template filters, and templates/macros'),
{'fraction_non_alphanumeric': 0.12853185595567868, 'fraction_numerical': 0.00443213296398892, 'mean_word_length': 2.5, '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': '1281642', 'n_tokens_mistral': 555, 'n_tokens_neox': 544, 'n_words': 162}