klotty


Nameklotty JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/drish/klotty-py
SummaryKlotty Python SDK
upload_time2022-12-09 00:48:32
maintainer
docs_urlNone
authorDerich Pacheco
requires_python>3.7.5
license
keywords email email platform
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Klotty Python SDK

[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
![Build](https://github.com/drish/klotty-py/actions/workflows/test.yaml/badge.svg)
[![codecov](https://codecov.io/gh/drish/klotty-py/branch/main/graph/badge.svg?token=GGD39PPFM0)](https://codecov.io/gh/drish/klotty-py)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![PyPI](https://img.shields.io/pypi/v/klotty)](https://pypi.org/project/klotty/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/klotty)](https://pypi.org/project/klotty)
---

## 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](https://klotty.com).

```py
from klotty import Klotty

client = Klotty(api_key="kl_123")
```

## Example

```py
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.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/drish/klotty-py",
    "name": "klotty",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">3.7.5",
    "maintainer_email": "",
    "keywords": "email,email platform",
    "author": "Derich Pacheco",
    "author_email": "carlosderich@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/c7/3f/9a5ca46c7414db989f601486ac3518fef772f5fe72e8f095559a1d0d6f9d/klotty-0.1.0.tar.gz",
    "platform": null,
    "description": "# Klotty Python SDK\n\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n![Build](https://github.com/drish/klotty-py/actions/workflows/test.yaml/badge.svg)\n[![codecov](https://codecov.io/gh/drish/klotty-py/branch/main/graph/badge.svg?token=GGD39PPFM0)](https://codecov.io/gh/drish/klotty-py)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![PyPI](https://img.shields.io/pypi/v/klotty)](https://pypi.org/project/klotty/)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/klotty)](https://pypi.org/project/klotty)\n---\n\n## Installation\n\nTo install Klotty Python SDK, simply execute the following command in a terminal:\n\n```\npip install klotty\n```\n\n## Setup\n\nFirst, you need to get an API key, which is available in the [Klotty Dashboard](https://klotty.com).\n\n```py\nfrom klotty import Klotty\n\nclient = Klotty(api_key=\"kl_123\")\n```\n\n## Example\n\n```py\nfrom klotty import Klotty\n\nclient = Klotty(api_key=os.environ[\"KLOTTY_API_KEY\"])\n\nclient.send_email(\n    to=\"to@email.com\",\n    sender=\"from@email.com\",\n    subject=\"hi\",\n    html=\"<strong>hello, world!</strong>\"\n)\n```\n\n## Example sending email using React\n\nComing soon.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Klotty Python SDK",
    "version": "0.1.0",
    "split_keywords": [
        "email",
        "email platform"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "cc42e5d51dc1da5bf37f6e7422c2c297",
                "sha256": "24c2f6f94b589d41be54df8b9d4aa438943360d8dc971686f18fa1642c20480e"
            },
            "downloads": -1,
            "filename": "klotty-0.1.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cc42e5d51dc1da5bf37f6e7422c2c297",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">3.7.5",
            "size": 5266,
            "upload_time": "2022-12-09T00:48:31",
            "upload_time_iso_8601": "2022-12-09T00:48:31.229810Z",
            "url": "https://files.pythonhosted.org/packages/b9/27/4185eaca8a24fa1ba84b85303833270ff250e06aa519742ac31d9f3c9bd5/klotty-0.1.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "57d8c4d7dcbbf6580f36d5a1425061de",
                "sha256": "2b4b70d6b09659405b1029d5b5156e6d8ca1f2357dff8b9baa160e6d58dae848"
            },
            "downloads": -1,
            "filename": "klotty-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "57d8c4d7dcbbf6580f36d5a1425061de",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">3.7.5",
            "size": 4311,
            "upload_time": "2022-12-09T00:48:32",
            "upload_time_iso_8601": "2022-12-09T00:48:32.392515Z",
            "url": "https://files.pythonhosted.org/packages/c7/3f/9a5ca46c7414db989f601486ac3518fef772f5fe72e8f095559a1d0d6f9d/klotty-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-09 00:48:32",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "drish",
    "github_project": "klotty-py",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "tox": true,
    "lcname": "klotty"
}
        
Elapsed time: 0.01705s