Metadata-Version: 2.4
Name: cosscom
Version: 0.1.0
Summary: The coss.com SDK for Python
License: MIT
License-File: LICENSE
Author: coss.com
Requires-Python: >=3.10,<4.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: OS Independent
Classifier: Operating System :: POSIX
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Provides-Extra: aiohttp
Requires-Dist: aiohttp (>=3.14.1,<4) ; (python_version >= "3.10") and (extra == "aiohttp")
Requires-Dist: httpx (>=0.21.2)
Requires-Dist: httpx-aiohttp (>=0.1.8,<0.2.0) ; (python_version >= "3.10") and (extra == "aiohttp")
Requires-Dist: pydantic (>=1.9.2)
Requires-Dist: pydantic-core (>=2.18.2,<3.0.0)
Requires-Dist: typing_extensions (>=4.0.0)
Project-URL: Homepage, https://coss.com/docs/sdks/python
Project-URL: Repository, https://github.com/cosscom/coss
Description-Content-Type: text/markdown

# coss.com SDK for Python

Every endpoint of the [coss.com](https://coss.com) API, typed, for Python 3.10+: email,
Hooks, Risk, webhooks and more, with retries, idempotency keys and webhook verification.

```sh
pip install cosscom
```

```python
from coss import Coss

client = Coss()  # reads COSS_API_KEY

email = client.email.send(
    from_="Acme <hello@acme.com>",
    to=["ada@example.com"],
    subject="Welcome to Acme",
    html="<p>Thanks for signing up!</p>",
)
```

- Guide: [coss.com/docs/sdks/python](https://coss.com/docs/sdks/python) (options, errors, lists, webhooks)
- Every method: [reference.md](./reference.md), and each endpoint's page in the
  [API reference](https://coss.com/docs/api-reference)

The SDK is generated from the API's OpenAPI document in
[cosscom/coss](https://github.com/cosscom/coss/tree/main/sdks/python). MIT licensed.

