--- id: klaviyo version: "3.1.7" license: MIT License license_treatment: permissive maintenance: abandoned --- # klaviyo — Deprecated Klaviyo SDK License: permissive · Maintenance: abandoned · Downloads: 76.4K/mo ## 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 above — 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 pip install klaviyo uv add klaviyo 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: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 76.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags klaviyo email marketing api client, customer event tracking sdk, email list management python, customer data platform integration, klaviyo deprecated sdk, profile and metrics api wrapper, email campaign management library, deprecated, email-marketing, abandoned [View on SkillFed](https://skillfed.io/packages/klaviyo) · [View on PyPI](https://pypi.org/project/klaviyo/)