Skip to main content

Klotty Python SDK

Code style: black Build codecov License: MIT PyPI PyPI - Python Version

Installation

To install Klotty Python SDK, simply execute the following command in a terminal:

pip install klotty

Setup

First, you need to get an API key, which is available in the Klotty Dashboard.

from klotty import Klotty

client = Klotty(api_key="kl_123")

Example

from klotty import Klotty

client = Klotty(api_key=os.environ["KLOTTY_API_KEY"])

client.send_email(
    to="to@email.com",
    sender="from@email.com",
    subject="hi",
    html="<strong>hello, world!</strong>"
)

Example sending email using React

Coming soon.

Download files

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

Source Distribution

klotty-0.1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

klotty-0.1.0-py2.py3-none-any.whl (5.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file klotty-0.1.0.tar.gz.

File metadata

  • Download URL: klotty-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.5

File hashes

Hashes for klotty-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2b4b70d6b09659405b1029d5b5156e6d8ca1f2357dff8b9baa160e6d58dae848
MD5 57d8c4d7dcbbf6580f36d5a1425061de
BLAKE2b-256 c73f9a5ca46c7414db989f601486ac3518fef772f5fe72e8f095559a1d0d6f9d

See more details on using hashes here.

File details

Details for the file klotty-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: klotty-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.5

File hashes

Hashes for klotty-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 24c2f6f94b589d41be54df8b9d4aa438943360d8dc971686f18fa1642c20480e
MD5 cc42e5d51dc1da5bf37f6e7422c2c297
BLAKE2b-256 b9274185eaca8a24fa1ba84b85303833270ff250e06aa519742ac31d9f3c9bd5

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

0.0.1

2 files

Supported by

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