Releases: HumanTone/humantone-python
Releases · HumanTone/humantone-python
v0.0.1
Initial release of the official Python SDK for HumanTone.
Features
- Three endpoints:
humanize,detect,account.get - Sync client (
HumanTone) usingrequests - Async client (
AsyncHumanTone) viahttpx, opt-in viapip install "humantone-sdk[async]" - Full exception hierarchy with
error_code,request_id,details,retryableaccessors - Configurable retry policy (POST does not retry on 5xx/network by default to avoid double-billing on humanize; opt-in via
retry_on_post=True) HUMANTONE_API_KEYandHUMANTONE_BASE_URLenv var supportRetry-Afterheader parsed in both numeric seconds and HTTP-date formats- Frozen dataclass result types with full type hints
- PEP 561 compliant (
py.typedmarker)
Install
pip install humantone-sdkFor async:
pip install "humantone-sdk[async]"Compatibility
Python 3.10, 3.11, 3.12, 3.13. Linux, macOS, Windows.