<commit_before>===========
holidays.py
===========

A fast, efficient Python library for generating country, province and state
specific sets of holidays on the fly. It aims to make determining whether a
specific date is a holiday as fast and flexible as possible.

.. image:: http://img.shields.io/travis/ryanss/holidays.py.svg
    :target: https://travis-ci.org/ryanss/holidays.py

.. image:: http://img.shields.io/coveralls/ryanss/holidays.py.svg
    :target: https://coveralls.io/r/ryanss/holidays.py

.. image:: http://img.shields.io/pypi/v/holidays.svg
    :target: https://pypi.python.org/pypi/holidays

.. image:: http://img.shields.io/pypi/dm/holidays.svg
    :target: https://pypi.python.org/pypi/holidays

.. image:: http://img.shields.io/pypi/l/holidays.svg
    :target: https://github.com/ryanss/holidays.py/blob/master/LICENSE


Example Usage
-------------

.. code-block:: python

    from datetime import date

    import holidays

    us_holidays = holidays.UnitedStates()  # or holidays.US()

    date(2015, 1, 1) in us_holidays  # True
    date(2015, 1, 2) in us_holidays  # False


    '2014-01-01' in us_holidays  # True
    '1/1/2014' in us_holidays  # True
    1388597445 in us_holidays  # True (Unix timestamp)<commit_msg>Remove PyPI downloads badge from README<commit_after>===========
holidays.py
===========

A fast, efficient Python library for generating country, province and state
specific sets of holidays on the fly. It aims to make determining whether a
specific date is a holiday as fast and flexible as possible.

.. image:: http://img.shields.io/travis/ryanss/holidays.py.svg
    :target: https://travis-ci.org/ryanss/holidays.py

.. image:: http://img.shields.io/coveralls/ryanss/holidays.py.svg
    :target: https://coveralls.io/r/ryanss/holidays.py

.. image:: http://img.shields.io/pypi/v/holidays.svg
    :target: https://pypi.python.org/pypi/holidays

.. image:: http://img.shields.io/pypi/l/holidays.svg
    :target: https://github.com/ryanss/holidays.py/blob/master/LICENSE


Example Usage
-------------

.. code-block:: python

    from datetime import date

    import holidays

    us_holidays = holidays.UnitedStates()  # or holidays.US()

    date(2015, 1, 1) in us_holidays  # True
    date(2015, 1, 2) in us_holidays  # False


    '2014-01-01' in us_holidays  # True
    '1/1/2014' in us_holidays  # True
    1388597445 in us_holidays  # True (Unix timestamp)
{'fraction_non_alphanumeric': 0.15339966832504145, 'fraction_numerical': 0.029850746268656716, 'mean_word_length': 3.2038327526132404, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 9, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '588641', 'n_tokens_mistral': 902, 'n_tokens_neox': 844, 'n_words': 196}