Metadata-Version: 2.1
Name: publicholiday
Version: 0.1.2
Summary: Is it a public holiday?
Home-page: https://github.com/timbirk/python-publicholiday
Author: Tim Birkett
Author-email: tim.birkett@devopsmakers.com
License: BSD
Description: 
        A cli utility to help run things or not run things based on if it is a public
        holiday. The command exits 0 if today is a public holiday and exits 1 if not.
        
        Installation: `pip install publicholiday`
        
        Examples usage:
        ```
        $ publicholiday --help
        Usage: publicholiday [OPTIONS]
        
          Is it a public holiday?
        
        Options:
          -c, --country TEXT  Supported country name or code.
          --help              Show this message and exit.
        
        # Run a script on a public holiday
        $ publicholiday && /thing/to/run.sh
        
        # Don't run a thing on public holidays
        $ publicholiday || /thing/to/run.sh
        ```
        
        By default `publicholiday` will check against UK public holidays. You can change
        this by passing a supported country:
        ```
        # Run a script on a Argentinian public holiday
        $ publicholiday -c Argentina && /thing/to/run.sh
        
        # Don't run a thing on US public holidays
        $ publicholiday -c US || /thing/to/run.sh
        ```
        
        This utility uses the `holidays` pip package, to find out if your country is
        supported see: https://pypi.org/project/holidays/
        
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Topic :: Utilities
Classifier: Environment :: Console
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: License :: Public Domain
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
