sparkpost
SparkPost Python API client
Decision gist · record as of 2026-08-14
Yes, but only if you are already committed to SparkPost and have an existing integration. The package is abandoned (last release November 2021, no commits since May 2023), so it carries maintenance risk. For new projects, contact SparkPost to confirm this is still the recommended client or whether they provide an actively maintained alternative. If you are locked into this library, the low install friction and lack of known vulnerabilities make it safe to use as-is.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a valid SparkPost API key (obtainable from the SparkPost app); Python 2.7 or later.
- Low install friction with a single dependency (requests).
- However, the package is abandoned—last release was 2021-11-09 and no commits since 2023-05-22.
License · maintenance · safety
Apache 2.0 (permissive) — Licensed under Apache 2.0 (permissive), which allows commercial use, modification, and distribution with minimal restrictions—suitable for most projects.
last release 2021-11-09 (1739 days) · last repo commit 2023-05-22 · 91 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 197,266 downloads/mo, #9,764 on PyPI
Alternatives
Verify before relying
pip install sparkpost
from sparkpost import SparkPost
sp = SparkPost('YOUR_API_KEY')
response = sp.transmissions.send(
recipients=['user@example.com'],
html='Hello world',
from_email='sender@example.com',
subject='Test'
)- Whether SparkPost has released a newer, actively maintained Python client since this package was abandoned.
- Current compatibility with modern Python versions beyond those listed in classifiers (3.4, 3.5).
- Whether the package works with current SparkPost API versions without undocumented breaking changes.
What it is and what it does
SparkPost is the official Python wrapper around SparkPost's email transmission API. It abstracts the HTTP calls needed to send transactional emails, manage templates, and track delivery through SparkPost's infrastructure. The library is lightweight, depending only on requests, and provides both a direct API client and a Django email backend for framework integration.
The package was last updated in November 2021 and has received no commits since May 2023, placing it in abandoned status. It targets Python 2.7 and Python 3.4+, though modern Python support is unspecified. If you are already using SparkPost and have an existing integration, this client will work; for new projects, you should verify whether SparkPost now maintains a newer client or recommends a different approach.
Use it for
- Send transactional emails (order confirmations, password resets) from a Python application via SparkPost.
- Integrate SparkPost email sending into a Django project using the built-in email backend.
- Manage email transmissions and track delivery metrics through SparkPost's API from Python code.
- Deploy email functionality on Google Cloud by wrapping requests with the appengine adapter.
- Programmatically send bulk or templated emails using SparkPost's transmission API.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, but only if you are already committed to SparkPost and have an existing integration.
The package is abandoned (last release November 2021, no commits since May 2023), so it carries maintenance risk. For new projects, contact SparkPost to confirm this is still the recommended client or whether they provide an actively maintained alternative. If you are locked into this library, the low install friction and lack of known vulnerabilities make it safe to use as-is.
Install
sparkpost on PyPI
Before you install
Low install friction with a single dependency (requests). However, the package is abandoned—last release was 2021-11-09 and no commits since 2023-05-22. Use only if you are locked into an existing SparkPost integration; for new projects, verify whether SparkPost maintains an actively supported client.
Requires a valid SparkPost API key (obtainable from the SparkPost app); Python 2.7 or later.
License in practice
Licensed under Apache 2.0 (permissive), which allows commercial use, modification, and distribution with minimal restrictions—suitable for most projects.
Quickstart
pip install sparkpost
from sparkpost import SparkPost
sp = SparkPost('YOUR_API_KEY')
response = sp.transmissions.send(
recipients=['user@example.com'],
html='Hello world',
from_email='sender@example.com',
subject='Test'
)
Verify before relying
- Whether SparkPost has released a newer, actively maintained Python client since this package was abandoned.
- Current compatibility with modern Python versions beyond those listed in classifiers (3.4, 3.5).
- Whether the package works with current SparkPost API versions without undocumented breaking changes.
Package facts
| License | Apache 2.0 permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagerequests |
| Maintenance | Abandoned 1,739 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 197,266 / month, #9,764 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Topic :: Communications :: Email |
Evidence: sparkpost-1.3.10-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “sparkpost email api client”
- sparkpostOfficial Python client for the SparkPost email transmission API,…
- neverbounce-sdkPython client library for the NeverBounce email verification API v4,…
- resendResend Python SDK provides a client library for sending emails…
Give your agent the search over MCP, or paste the wish link into any chat.
More Email packages
Converts Markdown text to HTML using a Python implementation of John Gruber's Markdown specification, with support for extensions.
Install it if you need to parse Markdown in Python.
aiosmtplib is an asynchronous SMTP client that sends email messages using asyncio, allowing non-blocking email operations in async Python applications.
Wikipedia-API is a Python wrapper for Wikipedia's MediaWiki API that retrieves page content, sections, links, categories, and metadata in both synchronous and asynchronous modes.
Extracts encapsulated HTML and plain text content from RTF bodies in .msg email files, reversing the RTF encapsulation that Microsoft Exchange applies.
Parses Outlook MSG files to extract email messages, attachments, and message properties like sent date and sender information.
Sends and receives email in Django through multiple transactional email service providers (ESPs) with a unified API that avoids vendor lock-in.
Install it if you're using Django and any transactional ESP; the abstraction pays for itself the moment you need to switch providers.
See also mailslurp-client · mailchimp-transactional · emails · yagmail · azure-communication-email · smtpapi · mailtrap · postmarker · sailthru-client