Typed Python client for the Thorbit API
Project description
Thorbit Python SDK
Typed Python client for the unified Thorbit API. Generated Pydantic models and methods cover all 79 Thorbit tools.
Install
python -m pip install thorbit-sdk
Python 3.11 or newer is required.
Use
import os
from thorbit.generated_tools import GeneratedCallThorbitTools
with GeneratedCallThorbitTools(
{"api_key": os.environ["THORBIT_API_KEY"]}
) as thorbit:
response = thorbit.thorbit_account_projects_list({"limit": 25})
print(response.result)
The lower-level CallThorbitTools.call_tool method supports dynamic integrations. Catch the exported stable exception classes for validation, HTTP, timeout, response, and transport failures.
Source and the generated contract are public at VilovietaSEO/thorbit-sdk.
License
MIT
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
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
File details
Details for the file thorbit_sdk-0.2.0.tar.gz.
File metadata
- Download URL: thorbit_sdk-0.2.0.tar.gz
- Upload date:
- Size: 75.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
837515ee927034aafc341439b9efe912f96951d2f8bcb7f5ef2190624b6b412f
|
|
| MD5 |
77c39a026793c4e9af5e5164c09f2d3d
|
|
| BLAKE2b-256 |
e3b04efa9f99e61ced96d56a7f54da1cbb067cb3eb25dc1c7eb590775d0f4781
|
File details
Details for the file thorbit_sdk-0.2.0-py3-none-any.whl.
File metadata
- Download URL: thorbit_sdk-0.2.0-py3-none-any.whl
- Upload date:
- Size: 76.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9dd5e2660b7debd3d761646ffb530be9922f6fefdddb05d89c7ac73e91594a7f
|
|
| MD5 |
0fef70f84d743573324a6b3906a113e9
|
|
| BLAKE2b-256 |
2f4439b96ee1e5be3dd1d3f9ce294257798275189dac1128c8c9467d8a8c0e6f
|