Metadata-Version: 1.0
Name: python-ziptax
Version: 1.0.1
Summary: Library for zip-tax.com API service
Home-page: https://github.com/xstudios/python-ziptax
Author: X Studios Inc.
Author-email: nwhiting@xstudiosinc.com
License: UNKNOWN
Description: python-ziptax
        =============
        
        Python Module for Integrating into the Zip-Tax.com API
        
        Install
        -------
        
        PIP
        
        .. code-block:: sh
        
            pip install python-ziptax
        
        Python
        
        .. code-block:: sh
        
            git clone https://github.com:xstudios/zip-tax.git
            cd zip-tax
            python setup.py install
        
        Configuration
        -------------
        
        The module will attempt to load a ``settings`` module and will look for the 
        following settings.
        
        * *ZIPTAX_API_KEY* - Your Zip-Tax.com API Key
        * *ZIPTAX_API_URL* - URL Location to call for API
        
        Usage
        -----
        
        Tax rates are returned based on area codes.
        
        .. code-block:: python
            
            # Getting tax rate for zipcode
            from ziptax import get_tax_rate
            print get_tax_rate(32725)
            # 0.064999997615814
        
        Errors
        ------
        
        On error a ``Ziptax_Failure`` Exception will be raised.
        
        .. code-block:: python
        
            # Catch Errors
            from ziptax import get_tax_rate, Ziptax_Failure
            try:
                tax_rate = get_tax_rate(23452)
            except Ziptax_Failure, e:
                print "FAILUED DUE TO %s" % e
Platform: UNKNOWN
