Unofficial Python client for SeaArt.ai API
Project description
🚀 Installation
pip install seaart
⚙️ Quick Start
from seaart import SyncClient
with SyncClient() as client:
login = client.login("email@example.com", "password")
print(f"Logged in as {login.email}")
or
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/
💎 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/
- Docstrings inside
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.
Made with ❤️ by DeLaFault
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
seaart-0.0.1.tar.gz
(35.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
seaart-0.0.1-py3-none-any.whl
(12.5 kB
view details)
File details
Details for the file seaart-0.0.1.tar.gz.
File metadata
- Download URL: seaart-0.0.1.tar.gz
- Upload date:
- Size: 35.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e0e3f66fd0952a687a0dbb5c8bfbf42fb67b2ebb97ee8e612b2bdc26006141f
|
|
| MD5 |
8426bfe064127459958313482b5de83c
|
|
| BLAKE2b-256 |
e9ed723fe5ea30ee58b5bf591c638a59e2f1b3472ee94cdc826c07e09160cc32
|
File details
Details for the file seaart-0.0.1-py3-none-any.whl.
File metadata
- Download URL: seaart-0.0.1-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2005800d0bbad234bd056e6681f135968e024c9d79626f30e16a7ffa6145903a
|
|
| MD5 |
5146cfe1b5e298c1326b0e58fb3a9f7f
|
|
| BLAKE2b-256 |
91d97184d6ee6c12a73ad68923fa677762409394de963f47766160b6e7c0d7e6
|