Avalara
Avalara Tax Python SDK.
What it is and what it does
The Avalara package is a Python SDK that wraps Avalara's AvaTax REST v2 API, allowing developers to integrate tax calculation and compliance operations into their applications. It provides an authenticated client that handles API communication, request formatting, and response parsing, with support for creating transactions, querying tax data, and managing company configurations. The SDK includes a TransactionBuilder utility to simplify the construction of complex tax transaction models.
The package depends only on requests for HTTP communication and is designed for both sandbox testing and production use. It requires valid Avalara credentials and network connectivity to the AvaTax service. The client is initialized with application metadata (name, version, machine name) and an environment flag, then authenticated with account credentials before making API calls.
Use it for:
- Calculate sales tax liability for e-commerce transactions across multiple jurisdictions.
- Create and commit tax transactions in AvaTax for audit trail and compliance reporting.
- Validate customer addresses and determine applicable tax rates before checkout.
- Integrate tax compliance into billing or invoicing systems via the AvaTax REST API.
- Build transaction models programmatically using the TransactionBuilder utility for complex multi-line orders.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python client library for Avalara's AvaTax REST v2 API, enabling tax calculation, transaction creation, and tax compliance operations through a single authenticated interface.
Yes, with conditions. The package is actively maintained and has no known vulnerabilities, making it suitable for production use if you are an Avalara customer. However, verify the license terms before committing, confirm Python version compatibility for your environment, and investigate the high install friction to ensure it does not block your deployment pipeline. The single dependency (requests) is standard and low-risk.
Install
avalara on PyPI
pip
pip install avalarauv
uv add avalarapoetry
poetry add avalaraInstalling Avalara
Before you install
High install friction reported. Package is actively maintained (last commit 2026-07-27, 18 days old) and marked Production/Stable, but the single runtime dependency is requests, a standard library. No known vulnerabilities.
License in practice
License treatment is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms in the repository before committing to a production integration.
Quickstart
from avalara import AvataxClient
client = AvataxClient('my app', 'ver 1.0', 'my machine', 'sandbox')
client = client.add_credentials('USERNAME', 'PASSWORD')
response = client.ping()
print(response.text())
Requires valid Avalara account credentials (username/account ID and password/license key) and network access to AvaTax service endpoints (sandbox or production).
Verify before relying
- Whether the unclear license permits commercial use and redistribution.
- Current Python version support—classifiers list 2.7 and 3.6, but requires_python is unspecified.
- Whether high install friction is due to missing wheels, C extensions, or large package size.
Package facts
| License | not declared (unclear) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | 1 — requests |
| Maintenance | actively maintained — 18 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 141,636/month — #11,236 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: avalara-26.7.3.tar.gz
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
taxjarPython client library for the TaxJar Sales Tax…
permissive · top 15,000 on PyPI
vat-utilsProvides Python utilities for VAT (Value Added…
unclear · top 15,000 on PyPI
beanstreamProvides a Python client library for the…
permissive · top 15,000 on PyPI
minfraudPython client library for MaxMind's minFraud…
permissive · top 15,000 on PyPI
paypalrestsdkA REST client library for integrating PayPal…
unclear · top 5,000 on PyPI
google-auth-oauthlibIntegrates oauthlib with google-auth to handle…
permissive · top 1,000 on PyPI
recurlyOfficial Python client library for Recurly's V3…
unclear · top 15,000 on PyPI
qase-api-v2-clientA Python client library for the Qase TestOps…
unclear · top 15,000 on PyPI
python-quickbooksA Python library for querying, creating,…
permissive · top 5,000 on PyPI