Python SDK

Official Python SDK for the Ziptax API

The Python SDK offers a simple, intuitive interface for interacting with the Ziptax API from scripts, data pipelines, and applications. It supports both synchronous and asynchronous usage, includes built-in error handling, and integrates naturally with common Python workflows for data engineering, ETL, and backend services. This SDK is a great fit for teams working in Databricks, AWS Lambda, FastAPI, Django, or other Python-driven environments.

The Python SDK is currently offered as a Beta product. Please send your comments and suggestions to support@zip.tax.

Project resources

Implementation example

1

Install

$pip install ziptax-sdk
2

Import

1from ziptax import ZiptaxClient
3

Configure the client

1client = ZiptaxClient.api_key(
2 "your-api-key-here",
3 timeout=60, # Request timeout in seconds
4 max_retries=5, # Maximum retry attempts
5 retry_delay=2.0, # Base delay between retries
6)
4

Get sales tax by address

1response = client.request.GetSalesTaxByAddress(
2 "200 Spectrum Center Drive, Irvine, CA 92618"
3)

Full documentation

Full reference documentation, including async usage, all request options, response types, and helper functions, is available in the GitHub repository and on PyPI.