<commit_before>########################
Video Embed Code Cleaner
########################

Cleans and updates your video's embed code.

Over time, the embed codes used for videos from various providers have changed
and evolved, to make them more and more compatible with a broader set of
devices.

This is where vecc is useful: it detects the video provider and id from a given
embed code, and provides various utilities to clean this code and validate that
the video is still available.


Install
=======

Either use ``pip``, which is the easiest way:

::

    $ pip install vecc

Either download the tarball from http://pypi.python/org/pypi/vecc, untar it,
and install it manually:

::

    $ python setup.py install


Usage
=====

::

    $ vecc -h
    usage: vecc [-h] [--version] {clean,validate} ...

    Video Embed Code Cleaner.<commit_msg>typo in the pypi url<commit_after>########################
Video Embed Code Cleaner
########################

Cleans and updates your video's embed code.

Over time, the embed codes used for videos from various providers have changed
and evolved, to make them more and more compatible with a broader set of
devices.

This is where vecc is useful: it detects the video provider and id from a given
embed code, and provides various utilities to clean this code and validate that
the video is still available.


Install
=======

Either use ``pip``, which is the easiest way:

::

    $ pip install vecc

Either download the tarball from http://pypi.python.org/pypi/vecc, untar it,
and install it manually:

::

    $ python setup.py install


Usage
=====

::

    $ vecc -h
    usage: vecc [-h] [--version] {clean,validate} ...

    Video Embed Code Cleaner.
{'fraction_non_alphanumeric': 0.13270698766881972, 'fraction_numerical': 0.0, 'mean_word_length': 3.773109243697479, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1391765', 'n_tokens_mistral': 489, 'n_tokens_neox': 455, 'n_words': 229}