Metadata-Version: 2.0
Name: govuk-bank-holidays
Version: 0.3
Summary: Tool to load UK bank holidays from GOV.UK
Home-page: https://github.com/ministryofjustice/govuk-bank-holidays
Author: Ministry of Justice Digital Services
Author-email: UNKNOWN
License: MIT
Description-Content-Type: UNKNOWN
Keywords: bank holidays govuk
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Requires-Dist: requests
Requires-Dist: six

GOV.UK Bank Holidays
====================

Usage
-----

Install using ``pip install govuk-bank-holidays``. Sample usage:

.. code-block:: python

    from govuk_bank_holidays.bank_holidays import BankHolidays

    bank_holidays = BankHolidays()
    for bank_holiday in bank_holidays.get_holidays():
        print(bank_holiday['title'], '>', bank_holiday['date'])
    print(bank_holidays.get_next_holiday())

    # choose a different locale for holiday titles and notes
    bank_holidays = BankHolidays(locale='cy')

Development
-----------

.. image:: https://travis-ci.org/ministryofjustice/govuk-bank-holidays.svg?branch=master
    :target: https://travis-ci.org/ministryofjustice/govuk-bank-holidays

Please report bugs and open pull requests on `GitHub`_.

Update translation files using ``python setup.py makemessages``, e.g. when updating the i18n module or when adding new languages.
Compile them using ``python setup.py compilemessages``; this is *required* before testing and distribution.

Use ``python setup.py compilemessages test`` to run all tests.

Distribute a new version by updating the ``VERSION`` tuple in ``govuk_bank_holidays`` and
run ``python setup.py compilemessages sdist bdist_wheel upload``.

Copyright
---------

Copyright (C) 2018 HM Government (Ministry of Justice Digital Services).
See LICENSE.txt for further details.

.. _GitHub: https://github.com/ministryofjustice/govuk-bank-holidays


