{"library":"smartlingapisdk","title":"Smartling API SDK for Python","description":"The Smartling API SDK for Python simplifies interaction with Smartling's cloud-based translation services APIs from Python applications. It provides a convenient, idiomatic Python interface to automate translation workflows, including file uploads, downloads, job management, and string operations. The current version is 3.1.9, and the library receives regular updates to support new API features and improvements.","language":"python","status":"active","last_verified":"Fri May 15","install":{"commands":["pip install SmartlingApiSDK"],"cli":null},"imports":["from smartlingApiSdk.api import FilesApi","from smartlingApiSdk.api import JobsApi","from smartlingApiSdk.api import StringsApi","from smartlingApiSdk.api import AccountProjectsApi","from smartlingApiSdk.api import ContextApi","from smartlingApiSdk.api import EstimatesApi","from smartlingApiSdk.api import JobBatchesV2Api","from smartlingApiSdk.api import TagsApi","from smartlingApiSdk.Credentials import Credentials"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import os\nfrom smartlingApiSdk.api import ProjectsApi\n\nUSER_IDENTIFIER = os.environ.get('SMARTLING_USER_IDENTIFIER', '')\nUSER_SECRET = os.environ.get('SMARTLING_USER_SECRET', '')\nACCOUNT_ID = os.environ.get('SMARTLING_ACCOUNT_ID', '')\n\nif not all([USER_IDENTIFIER, USER_SECRET, ACCOUNT_ID]):\n    print(\"Please set SMARTLING_USER_IDENTIFIER, SMARTLING_USER_SECRET, and SMARTLING_ACCOUNT_ID environment variables.\")\nelse:\n    try:\n        projects_api = ProjectsApi(USER_IDENTIFIER, USER_SECRET, ACCOUNT_ID)\n        # List projects in the account\n        projects_response = projects_api.listProjects()\n        print(\"Successfully connected to Smartling and listed projects.\")\n        print(f\"First 3 projects: {projects_response.data.items[:3]}\")\n    except Exception as e:\n        print(f\"An error occurred: {e}\")","lang":"python","description":"This quickstart demonstrates how to initialize the `ProjectsApi` client using Smartling API credentials (user identifier, user secret, and account ID) retrieved from environment variables. It then attempts to list the first three projects associated with the account, verifying successful connectivity and basic API interaction. Ensure you set the `SMARTLING_USER_IDENTIFIER`, `SMARTLING_USER_SECRET`, and `SMARTLING_ACCOUNT_ID` environment variables before running.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":{"tag":null,"tag_description":null,"last_tested":"2026-05-15","installed_version":"3.1.9","pypi_latest":"3.1.9","is_stale":false,"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":0.13,"wheel_type":"wheel"},"results":[{"runtime":"python:3.10-alpine","python_version":"3.10","os_libc":"alpine (musl)","variant":"SmartlingApiSDK","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":null,"import_time_s":0.13,"mem_mb":4.9,"disk_size":"18.6M"},{"runtime":"python:3.10-slim","python_version":"3.10","os_libc":"slim (glibc)","variant":"SmartlingApiSDK","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":1.6,"import_time_s":0.09,"mem_mb":4.9,"disk_size":"19M"},{"runtime":"python:3.11-alpine","python_version":"3.11","os_libc":"alpine (musl)","variant":"SmartlingApiSDK","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":null,"import_time_s":0.17,"mem_mb":5.3,"disk_size":"20.5M"},{"runtime":"python:3.11-slim","python_version":"3.11","os_libc":"slim (glibc)","variant":"SmartlingApiSDK","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":1.7,"import_time_s":0.15,"mem_mb":5.3,"disk_size":"21M"},{"runtime":"python:3.12-alpine","python_version":"3.12","os_libc":"alpine (musl)","variant":"SmartlingApiSDK","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":null,"import_time_s":0.14,"mem_mb":5.2,"disk_size":"12.4M"},{"runtime":"python:3.12-slim","python_version":"3.12","os_libc":"slim (glibc)","variant":"SmartlingApiSDK","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":1.5,"import_time_s":0.15,"mem_mb":5.2,"disk_size":"13M"},{"runtime":"python:3.13-alpine","python_version":"3.13","os_libc":"alpine (musl)","variant":"SmartlingApiSDK","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":null,"import_time_s":0.13,"mem_mb":5.2,"disk_size":"12.1M"},{"runtime":"python:3.13-slim","python_version":"3.13","os_libc":"slim (glibc)","variant":"SmartlingApiSDK","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":1.5,"import_time_s":0.13,"mem_mb":5.2,"disk_size":"13M"},{"runtime":"python:3.9-alpine","python_version":"3.9","os_libc":"alpine (musl)","variant":"SmartlingApiSDK","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":null,"import_time_s":0.11,"mem_mb":4.8,"disk_size":"18.1M"},{"runtime":"python:3.9-slim","python_version":"3.9","os_libc":"slim (glibc)","variant":"SmartlingApiSDK","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":1.8,"import_time_s":0.11,"mem_mb":4.8,"disk_size":"19M"}]}}