mailflurry-python
Official Python client library for the MailFlurry outbound deliverability and transactional ESP platform.
Installation
Install using pip:
pip install mailflurry
Getting Started
Initialize the client with your live developer API key (which must start with sk_live_):
from mailflurry import MailFlurry
client = MailFlurry(
api_key="sk_live_your_api_key_here",
base_url="https://mailflurry.com" # Optional: defaults to mailflurry.com
)
Resource Usage
1. Managing Sending Domains
Register a new domain to retrieve DKIM/SPF DNS targets, and verify it:
# Register domain
domain = client.domains.create(
workspace_id="workspace_id_123",
domain_name="mycompany.com"
)
print("TXT Host:", domain["dkimRecordName"])
print("TXT Value:", domain["dkimRecordValue"])
# Verify domain once DNS updates
verification = client.domains.verify(domain["id"])
print("Verified Status:", verification["dkimVerified"])
2. Sending & Managing Campaigns
# Create bulk or targeted dispatch campaign
campaign = client.campaigns.create(
workspace_id="workspace_id_123",
name="Monthly Tech Updates",
subject="What is new in MTA architectures",
content="<h1>Hello Developers</h1><p>Our Redis priorities queues are faster...</p>",
sender_email="newsletter@mycompany.com",
recipients=["engineer@client.com", "team@partner.io"]
)
print("Campaign Queued ID:", campaign["id"])
# Retrieve real-time stats
details = client.campaigns.details("workspace_id_123", campaign["id"])
print("Opens Count:", details["opensCount"])
print("Clicks Count:", details["clicksCount"])
License
MIT
Metadata
Release files for mailflurry 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mailflurry-1.0.0.tar.gz | 3.1 kB | Without provenance | Details for mailflurry-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mailflurry-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for mailflurry-1.0.0-py3-none-any.whl |
Total release size: 7.6 kB
Release files / mailflurry-1.0.0.tar.gz
| Download URL | mailflurry-1.0.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bc70004a960c9ded1008280801033ac750b55bb012b3aa6076928e682ba6d8e0
|
|
BLAKE2b-256 checksum How to use checksums |
6fa7bec3942d4b4f340de2b039773bf42979e67bd7c19ac8ec8472990395e449
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Release files / mailflurry-1.0.0-py3-none-any.whl
| Download URL | mailflurry-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4cc0991e2a0d78deed5d52cb28781a5721c5ad9808fb8b89b2e5a4243f7b0a42
|
|
BLAKE2b-256 checksum How to use checksums |
356a12b1bf90cb77db6af8644beb2ba461595c46bf364e254582109c9241358a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Security for mailflurry 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.