Python SDK for Sevk API
Project description
Sevk Python SDK
Official Python SDK for Sevk email platform.
Installation
pip install sevk
Send Email
from sevk import Sevk
sevk = Sevk('your-api-key')
sevk.emails.send(
to='recipient@example.com',
from_='hello@yourdomain.com',
subject='Hello from Sevk!',
html='<h1>Welcome!</h1>'
)
Send Email with Markup
from sevk import Sevk
from sevk.markup import render
sevk = Sevk('your-api-key')
html = render('''
<section padding="40px 20px" background-color="#f8f9fa">
<container max-width="600px">
<heading level="1" color="#1a1a1a">Welcome!</heading>
<paragraph color="#666666">Thanks for signing up.</paragraph>
<button href="https://example.com" background-color="#5227FF" color="#ffffff" padding="12px 24px">
Get Started
</button>
</container>
</section>
''')
sevk.emails.send(
to='recipient@example.com',
from_='hello@yourdomain.com',
subject='Welcome!',
html=html
)
Documentation
For full documentation, visit docs.sevk.io
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sevk-1.0.0.tar.gz
(28.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
sevk-1.0.0-py3-none-any.whl
(24.2 kB
view details)
File details
Details for the file sevk-1.0.0.tar.gz.
File metadata
- Download URL: sevk-1.0.0.tar.gz
- Upload date:
- Size: 28.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f02cddfa75fdcc07ec20d2b320281671c4d7407b7ca8caa80b20d2e719b05bb4
|
|
| MD5 |
0ce72cf707c7f063258f46039360dd8a
|
|
| BLAKE2b-256 |
24d00c3826358e49a221fd5078af4e3cbee8e834837d4167b2bda804a53f90f6
|
File details
Details for the file sevk-1.0.0-py3-none-any.whl.
File metadata
- Download URL: sevk-1.0.0-py3-none-any.whl
- Upload date:
- Size: 24.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a53893247c07a6dac11efadc2630eb4766ec90d9fce027e91fa15efc9d73f8da
|
|
| MD5 |
4b65d1fba8c94db465490b401384281c
|
|
| BLAKE2b-256 |
2c709b3f37710268ad6fa736ef6c47d6130ed596068527099e92db661d5b8a5c
|