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
src/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.2.tar.gz
(34.9 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.2-py3-none-any.whl
(12.5 kB
view details)
File details
Details for the file seaart-0.0.2.tar.gz.
File metadata
- Download URL: seaart-0.0.2.tar.gz
- Upload date:
- Size: 34.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1045a2ffcf9b0930760def81a47b2dc0ac99b0e3bba46e004caf208e733f4f86
|
|
| MD5 |
dff22c1dedfe43c840225a0627b17d13
|
|
| BLAKE2b-256 |
eccb7cddc27504b324b665c0dddb8ad76f6a98999b1521b5b3403796f35badb6
|
File details
Details for the file seaart-0.0.2-py3-none-any.whl.
File metadata
- Download URL: seaart-0.0.2-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 |
84dca2d15c332102206d664d4b74847ebace76c0436cd27d7da3e12c85229d84
|
|
| MD5 |
3000d807c810f37e8632780da976ed6a
|
|
| BLAKE2b-256 |
48015eb501a4bdf2d7db410629ad0c3444a4c84cc8dc631a500a58ee097ecf4e
|