Skip to content

Commit

Permalink
Release version 0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanss committed Oct 4, 2015
1 parent 48606cc commit 823541e
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 16 deletions.
10 changes: 9 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Version 0.4
===========

Released October 4, 2015

- Added holidays for New Zealand
- Add `append` and `get_list` methods to Holiday objects
- Add federal and provincial holidays for Australia
- Add federal and provincial holidays for New Zealand
- Add state-specific holidays for all US states and territories
- Include Dec 31st from previous year when observed New Year's Day
- Add ability to `sum()` Holiday objects


Version 0.3.1
Expand Down
9 changes: 6 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
holidays.py
===========

Holidays is 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.
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
Expand Down Expand Up @@ -45,6 +45,9 @@ Example Usage
custom_holidays.append({"2015-01-01": "New Year's Day"})
custom_holidays.append(['2015-07-01', '07/04/2015'])
custom_holidays.append(date(2015, 12, 25))
date(2015, 1, 1) in custom_holidays # True
date(2015, 1, 2) in custom_holidays # False
'12/25/2015' in custom_holidays # True
Install
Expand Down
9 changes: 5 additions & 4 deletions holidays.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@

# holidays.py
# -----------
# A fast, efficient Python library for generating country-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.
# 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.
#
# Author: ryanss <ryanssdev@icloud.com>
# Website: https://github.com/ryanss/holidays.py
# License: MIT (see LICENSE file)
# Version: 0.4 (October 4, 2015)


from datetime import date, datetime
Expand All @@ -19,7 +20,7 @@
import six


__version__ = '0.4-dev'
__version__ = '0.4'


MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY = range(7)
Expand Down
12 changes: 7 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# holidays.py
# -----------
# A fast, efficient Python library for generating country-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.
# 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.
#
# Author: ryanss <ryanssdev@icloud.com>
# Website: https://github.com/ryanss/holidays.py
# License: MIT (see LICENSE file)
# Version: 0.4 (October 4, 2015)


try:
Expand All @@ -17,13 +18,14 @@

setup(
name='holidays',
version='0.4-dev',
version='0.4',
author='ryanss',
author_email='ryanssdev@icloud.com',
url='https://github.com/ryanss/holidays.py',
bugtrack_url='https://github.com/ryanss/holidays.py/issues',
license='MIT',
py_modules=['holidays'],
description='Generates country-specific sets of holidays on the fly',
description='Generate and work with holidays in Python',
long_description=open('README.rst').read(),
install_requires=['python-dateutil'],
platforms='any',
Expand Down
7 changes: 4 additions & 3 deletions tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@

# holidays.py
# -----------
# A fast, efficient Python library for generating country-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.
# 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.
#
# Author: ryanss <ryanssdev@icloud.com>
# Website: https://github.com/ryanss/holidays.py
# License: MIT (see LICENSE file)
# Version: 0.4 (October 4, 2015)


from datetime import date, datetime
Expand Down

0 comments on commit 823541e

Please sign in to comment.