<commit_before>m3u8
====

Python [m3u8](http://tools.ietf.org/html/draft-pantos-http-live-streaming-08) parser.

Usage
-----

    import m3u8
  
    m3u8_obj = m3u8.load('/tmp/playlist.m3u8')
    print m3u8_obj.chunks
    print m3u8_obj.target_duration
  
    # if you already have the content as string, use
  
    m3u8_obj = m3u8.loads('/tmp/playlist.m3u8')

Runnign Tests
-------------

    $ ./runtests

Contributing
------------

All contribution is welcome! If, and only if, it

- has tests
- follows the code conventions

If you plan to implement a new feature or something that will take more than
a few minutes before a pull request, plase open an issue to make sure we don't
work on the same thing.<commit_msg>Update README example<commit_after>m3u8
====

Python [m3u8](http://tools.ietf.org/html/draft-pantos-http-live-streaming-08) parser.

Usage
-----

    import m3u8
  
    m3u8_obj = m3u8.load('/tmp/playlist.m3u8')
    print m3u8_obj.chunks
    print m3u8_obj.target_duration
  
    # if you already have the content as string, use
  
    m3u8_obj = m3u8.loads('#EXTM3U8 ... etc ... ')

Runnign Tests
-------------

    $ ./runtests

Contributing
------------

All contribution is welcome! If, and only if, it

- has tests
- follows the code conventions

If you plan to implement a new feature or something that will take more than
a few minutes before a pull request, plase open an issue to make sure we don't
work on the same thing.
{'fraction_non_alphanumeric': 0.12267401791867677, 'fraction_numerical': 0.03308063404548587, 'mean_word_length': 2.704081632653061, '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': '5668939', 'n_tokens_mistral': 512, 'n_tokens_neox': 503, 'n_words': 160}