smartytalent-client
Python client for the SmartyTalent recruitment API, auto-generated from the OpenAPI spec using openapi-generator-cli with the python template.
Fully typed with Pydantic v2 models. Requires Python 3.9+.
Install
pip install smartytalent-client
Quick start
from smartytalent_client import ApiClient, Configuration
from smartytalent_client.api import TenantsApi
config = Configuration(
host="https://api.smartytalent.example.com",
access_token="<your-access-token>",
)
with ApiClient(config) as client:
tenants_api = TenantsApi(client)
tenants = tenants_api.list_tenants(filter_status="active")
for t in tenants:
print(t.id, t.name)
Authentication
The API uses Bearer token auth. Pass the raw token (no Bearer prefix) as access_token:
config = Configuration(
host="https://api.smartytalent.example.com",
access_token=access_token,
)
Async usage
Each API method has an _async variant built on asyncio:
import asyncio
from smartytalent_client import ApiClient, Configuration
from smartytalent_client.api import TenantsApi
async def main():
config = Configuration(host="...", access_token="...")
async with ApiClient(config) as client:
api = TenantsApi(client)
tenants = await api.list_tenants_async(filter_status="active")
print(tenants)
asyncio.run(main())
API surface
The client exposes one class per API tag, importable from smartytalent_client.api:
ActionsApi, AdsApi, ApikeysApi, AssessmentsApi, BrowsersApi, CallsApi, CandidatesApi, ChatsApi, ConversationsApi, EmailsApi, FilesApi, FindersApi, FormsApi, JobsApi, LinksApi, MeetingsApi, NotesApi, NotificationsApi, OperationsApi, PersonasApi, ReportsApi, RolesApi, RunsApi, TalentsApi, TenantsApi, TranslationsApi, TriggersApi, UsersApi, WebhooksApi, WorkflowsApi.
All request/response DTOs are Pydantic models in smartytalent_client.models.
Configuration options
Configuration accepts:
| Option | Type | Description |
|---|---|---|
host |
str |
API base URL |
access_token |
str |
OAuth2 bearer token |
api_key |
dict[str, str] |
Header-based API keys (by security scheme) |
username / password |
str |
HTTP basic auth |
verify_ssl |
bool |
Toggle TLS verification (default True) |
ssl_ca_cert |
str |
Path to a custom CA bundle |
proxy |
str |
HTTP/HTTPS proxy URL |
retries |
int |
Retry count for transient failures |
connection_pool_maxsize |
int |
urllib3 pool size |
Error handling
Non-2xx responses raise subclasses of smartytalent_client.ApiException:
from smartytalent_client import ApiException
from smartytalent_client.exceptions import NotFoundException, UnauthorizedException
try:
tenants_api.get_tenant(id="missing-id")
except NotFoundException:
...
except UnauthorizedException:
...
except ApiException as e:
print(e.status, e.reason, e.body)
Type safety
Every API method returns a Pydantic model — use .model_dump() to serialize, .model_validate() to parse. IDEs with type support (VS Code / PyCharm) provide full autocompletion on request parameters and response fields.
Versioning
This package is auto-published on every update to the OpenAPI spec. Version numbers are synchronized with the @smartytalent/* npm packages.
License
Licensed under the Apache License, Version 2.0.
Copyright © 2026 SmartyTalent (SmartyMeet sp. z o.o.)
Metadata
Release files for smartytalent-client 0.9.71
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| smartytalent_client-0.9.71.tar.gz | 913.3 kB | Without provenance | Details for smartytalent_client-0.9.71.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| smartytalent_client-0.9.71-py3-none-any.whl | Python 3 | none | any | Details for smartytalent_client-0.9.71-py3-none-any.whl |
Total release size: 3.1 MB
Release files / smartytalent_client-0.9.71.tar.gz
| Download URL | smartytalent_client-0.9.71.tar.gz |
|---|---|
| Size | 913.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
83cb53fb80f50ebb77cf92f556ebfe1d0a86b959e6b19bbf012b43829531abc8
|
|
BLAKE2b-256 checksum How to use checksums |
1e6a30479798d18345067c86deb98b497ceb21043544e8c1eefd2e38d606196d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|
Release files / smartytalent_client-0.9.71-py3-none-any.whl
| Download URL | smartytalent_client-0.9.71-py3-none-any.whl |
|---|---|
| Size | 2.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
63f1676127431c83e6085a0c263ce20e9f92f445fb37a845ec309d87c3adba33
|
|
BLAKE2b-256 checksum How to use checksums |
d356f9a61ef0b7c6d95b8c2b4fcc3ab897a5d4d5ad4248f3cbeea5aac60f5673
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|
Security for smartytalent-client 0.9.71
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.