Metadata-Version: 2.4
Name: seaart
Version: 0.0.1
Summary: Unofficial Python client for SeaArt.ai API
Author-email: DeLaFault <delafault@proton.me>
License: MIT License
        
        Copyright (c) 2025 DeFault
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: api,async,client,http,sdk,seaart,seaart.ai,seaartai
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries
Classifier: Typing :: Typed
Requires-Python: >=3.11
Requires-Dist: curl-cffi>=0.13.0
Requires-Dist: pydantic<3,>=2.12.3
Provides-Extra: dev
Requires-Dist: mypy>=1.18.2; extra == 'dev'
Requires-Dist: pytest-asyncio>=1.2.0; extra == 'dev'
Requires-Dist: pytest>=8.4.2; extra == 'dev'
Requires-Dist: ruff>=0.14.2; extra == 'dev'
Description-Content-Type: text/markdown

<div align="center">

# 🌀 SeaArt Python SDK

**Lightweight, typed, and async-ready Python client for the SeaArt.ai API.**

[![PyPI](https://img.shields.io/pypi/v/seaart?color=%2300E5FF&label=PyPI%20version)](https://pypi.org/project/seaart/)
[![Python](https://img.shields.io/badge/python-3.11%2B-blue)](https://www.python.org/)
[![License](https://img.shields.io/badge/license-MIT-green)](./LICENSE)

</div>

---

## 🚀 Installation

```bash
pip install seaart
````

## ⚙️ Quick Start

```python
from seaart import SyncClient

with SyncClient() as client:
    login = client.login("email@example.com", "password")
    print(f"Logged in as {login.email}")
```
or
```python
from seaart import AsyncClient

async with AsyncClient() as client:
    login = await client.login("email@example.com", "password")
    print(f"Logged in as {login.email}")
```
🔹 See more examples in [`examples/`](./examples/)

---

## 💎 Highlights

* ⚡ Built on **curl-cffi** — fast, modern, and supports HTTP/2 + HTTP/3
* 🔄 Unified sync & async interfaces with identical APIs
* 🧱 Clean architecture built on `BaseClient`
* 🧩 Fully typed Pydantic v2 models
* 🧠 Low-level `request()` access for custom endpoints
* 💥 Meaningful, structured exceptions
* 🧪 Safe context manager support (`with` / `async with`)

---

## 📘 Documentation

Full documentation is coming soon.

For now, check out:

* [examples/](./examples/)
* Docstrings inside [`seaart/_client.py`](./seaart/_client.py)
* Quick Start section above

---

## 🧩 TODO

Planned improvements and upcoming features:

* [ ] Add full **API coverage** (more endpoints, account & content methods)
* [ ] Implement detailed **logging** and debug mode
* [ ] Add **unit tests** and CI pipeline
* [ ] Improve **exception handling** and error messages
* [ ] Write **comprehensive** SDK documentation
* [ ] Add **CLI tool** for quick testing
* [ ] Add **rate limiting** and **retry logic**
* [ ] Enhance **response models** (more Pydantic schemas)

> Want to contribute? Fork and open a PR — every improvement helps 💙

## Requirements

Python 3.11 or higher.

---

<div align="center">

<sub><i>Made with ❤️ by <b>DeLaFault</b></i></sub>

</div>

---