<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-

'''The setup and build script for the python-twitter library.'''

__author__ = '<EMAIL>'
__version__ = '0.1-beta'


# The base package metadata to be used by both distutils and setuptools
METADATA = dict(
  name = "timeside",
  version = __version__,
  py_modules = ['timeside'],
  description='Web Audio Components',
  author='<NAME>, <NAME>, <NAME>',
  author_email='<EMAIL>',
  license='Gnu Public License V2',
  url='http://code.google.com/p/timeside',
  packages=['timeside','timeside.decoder','timeside.encoder','timeside.grapher','timeside.analyzer','timeside.tests'],
  keywords='audio analyze transcode graph',
  install_requires = ['setuptools',],
  include_package_data = True,
  scripts=['timeside/tools/waveform_batch'],
)


def Main():
  # Use setuptools if available, otherwise fallback and use distutils
  try:
    import setuptools
    setuptools.setup(**METADATA)
  except ImportError:
    import distutils.core
    distutils.core.setup(**METADATA)


if __name__ == '__main__':
  Main()<commit_msg>add tests.api module<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

'''The setup and build script for the python-twitter library.'''

__author__ = '<EMAIL>'
__version__ = '0.1-beta'


# The base package metadata to be used by both distutils and setuptools
METADATA = dict(
  name = "timeside",
  version = __version__,
  py_modules = ['timeside'],
  description='Web Audio Components',
  author='<NAME>, <NAME>, <NAME>',
  author_email='<EMAIL>',
  license='Gnu Public License V2',
  url='http://code.google.com/p/timeside',
  packages=['timeside','timeside.decoder','timeside.encoder','timeside.grapher',
            'timeside.analyzer','timeside.tests','timeside.tests.api'],
  keywords='audio analyze transcode graph',
  install_requires = ['setuptools',],
  include_package_data = True,
  scripts=['timeside/tools/waveform_batch'],
)


def Main():
  # Use setuptools if available, otherwise fallback and use distutils
  try:
    import setuptools
    setuptools.setup(**METADATA)
  except ImportError:
    import distutils.core
    distutils.core.setup(**METADATA)


if __name__ == '__main__':
  Main()
{'fraction_non_alphanumeric': 0.14929449248975876, 'fraction_numerical': 0.0036413290851160674, 'mean_word_length': 4.679586563307494, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '1900803', 'n_tokens_mistral': 725, 'n_tokens_neox': 706, 'n_words': 168}