skillfed

klaviyo

Deprecated Klaviyo SDK

klaviyo v3.1.7 76.4K downloads/30d#14,632 on PyPI16
Permissive license MIT License Abandoned released

What it is and what it does

Klaviyo is a deprecated Python client for Klaviyo's email marketing and customer data platform. It provides methods to track customer events and profile properties, manage email lists and subscribers, query metrics and campaign data, and retrieve profile information—all via Klaviyo's older v1/v2 REST APIs. The package wraps HTTP requests and simplejson for JSON parsing.

The package is no longer maintained. Klaviyo officially deprecated it on 2024-06-30 and recommends migrating to their newer SDK (klaviyo-api-python). The repository is archived, the last commit was in August 2023, and no further updates will be released. Installing this package for new projects is not recommended; it should only be used to maintain legacy integrations already in production.

Use it for:

  • Maintain legacy Python applications already integrated with Klaviyo's v1/v2 APIs that cannot be immediately refactored.
  • Track customer events and profile updates from a backend application to Klaviyo's platform.
  • Query and manage email lists, subscribers, and segments in existing Klaviyo integrations.
  • Retrieve campaign and metrics data for reporting in older codebases that depend on this SDK.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

A deprecated client library for integrating with Klaviyo's email marketing and customer data platform via its v1/v2 APIs, supporting event tracking, profile management, list operations, and campaign retrieval.

No—do not install for new projects. The package is officially deprecated, abandoned, and will receive no updates. Install only if you are maintaining an existing legacy application already using this SDK and cannot immediately migrate to Klaviyo's newer Python SDK. For any new integration, use the recommended replacement (klaviyo-api-python) instead.

Install

klaviyo on PyPI

pip

pip install klaviyo

uv

uv add klaviyo

poetry

poetry add klaviyo

Installing klaviyo

Before you install

Installation is straightforward with low friction—only two runtime dependencies (requests and simplejson)—but the package is abandoned as of 2023-08-18 and officially deprecated as of 2024-06-30. No further updates will be released.

License in practice

Licensed under MIT License (permissive), so commercial and private use are permitted, but the package's abandoned status means no security patches or compatibility fixes will be applied.

Quickstart

pip install klaviyo

import klaviyo

client = klaviyo.Klaviyo(public_token=PUBLIC_TOKEN, private_token=PRIVATE_TOKEN)
client.Public.track('Filled out profile', email='someone@mailinator.com', properties={'Added social accounts': False})

Requires valid Klaviyo public and private API tokens; the package is deprecated and will not receive updates.

Verify before relying

  • Whether the v1/v2 Klaviyo APIs this SDK targets are still operational or have been sunset.
  • Compatibility with modern Python versions (requires_python is unspecified in the fact sheet).
  • Whether the newer SDK (klaviyo-api-python) is a drop-in replacement or requires significant refactoring.

Package facts

License MIT License (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 2 — requests, simplejson
Maintenance abandoned — 1,213 days since the last release
Last repo commit (repository archived)
First released
Downloads 76,356/month — #14,632 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: klaviyo-3.1.7-py2.py3-none-any.whl

Keywords: klaviyo

Tags

klaviyo email marketing api clientcustomer event tracking sdkemail list management pythoncustomer data platform integrationklaviyo deprecated sdkprofile and metrics api wrapperemail campaign management library
deprecatedemail-marketingabandoned

More Internet packages