Skip to main content

Python SDK for Sevk API

Project description

[!WARNING] Sevk is currently in private beta. This SDK is not yet available for public use. Join the waitlist at sevk.io to get early access.

Sevk

Sevk Python SDK

Official Python SDK for Sevk email platform.

DocumentationWebsite

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sevk-0.0.1.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sevk-0.0.1-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file sevk-0.0.1.tar.gz.

File metadata

  • Download URL: sevk-0.0.1.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for sevk-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6338970eac7041da6f74dd17ddae8912a8bb670f49c68168921582b33c9d9c74
MD5 00436271d17cf3dc67cc77731a3f8cc3
BLAKE2b-256 7ec93119529364896090cb7bf0966ea80f5f37d8ba24aac9cc3cccfd9f5c4e89

See more details on using hashes here.

File details

Details for the file sevk-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: sevk-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for sevk-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b2a78d9d51ff0c9ece83ba41a397dc141ef549ac5b4493f6b1445fd46a066dca
MD5 336b6860786b5a57e9ab89b279e73322
BLAKE2b-256 6f49558008cb1fb1df2fd1d187c4cb3734e3890f592ccea6ab9e4be4d71c7675

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page