Metadata-Version: 1.0
Name: python-ziptax
Version: 1.0.2
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: Copyright 2010-12 X Studios Inc

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
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
