python-lokalise-api
Official Python interface for the Lokalise API v2
What it is and what it does
This is the official Python interface to Lokalise's REST API v2, a service for managing translation projects and localization workflows. It wraps HTTP requests to the Lokalise backend and returns structured Python objects representing projects, translation keys, and file upload operations, eliminating the need to parse raw JSON responses manually.
You authenticate with an API token or OAuth 2 credentials, then instantiate a client and call methods like project(), keys(), and upload_file() to interact with your translation data. The library handles serialization and deserialization, making it natural to work with Lokalise resources as Python objects rather than dictionaries.
Use it for:
- Automate bulk uploads of translation files to Lokalise projects from a CI/CD pipeline.
- Retrieve and iterate over translation keys programmatically to sync with external localization systems.
- Build a custom dashboard or reporting tool that queries project metadata and translation statistics.
- Manage multiple Lokalise projects and their settings via Python scripts instead of the web UI.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python client library for the Lokalise API v2, providing object-oriented access to translation project management, file uploads, and key retrieval operations.
Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively. Install it if you need to integrate Lokalise translation management into Python applications or automation workflows. The Python 3.10+ requirement is a hard constraint worth checking before adoption.
Install
python-lokalise-api on PyPI
pip
pip install python-lokalise-apiuv
uv add python-lokalise-apipoetry
poetry add python-lokalise-apiInstalling python-lokalise-api
Before you install
Low install friction with only two runtime dependencies (requests and exceptiongroup). Active maintenance with a recent release 23 days ago and ongoing repository activity.
License in practice
Permissive BSD 3 Clause License allows commercial and private use with minimal restrictions.
Quickstart
pip install python-lokalise-api
import lokalise
client = lokalise.Client('YOUR_API_TOKEN')
project = client.project('123.abc')
print(project.name)
Requires Python 3.10 or above.
Verify before relying
- Whether OAuth 2 token support is production-ready or still experimental.
- Rate limiting behavior and handling of large pagination requests.
- Performance characteristics when working with projects containing thousands of translation keys.
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — exceptiongroup, requests |
| Maintenance | actively maintained — 23 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 170,537/month — #10,392 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: python_lokalise_api-4.1.0-py3-none-any.whl
Keywords: api, client, lokalise
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
flufl.i18nflufl.i18n provides a high-level API for…
permissive · top 15,000 on PyPI
SmartlingApiSdkA Python SDK for interacting with Smartling's…
permissive · top 15,000 on PyPI
crowdin-api-clientA lightweight Python client library for the…
permissive · top 15,000 on PyPI
todoist_api_pythonOfficial Python SDK for the Todoist API,…
permissive · top 15,000 on PyPI
translate-toolkitTranslate Toolkit converts, validates, and…
copyleft · top 15,000 on PyPI
libretranslatepyPython client library for the LibreTranslate…
permissive · top 15,000 on PyPI
webdav4A WebDAV client library that provides a Python…
permissive · top 15,000 on PyPI
deeplProvides a Python client to interact with the…
permissive · top 5,000 on PyPI
google-cloud-translatePython client library for Google Cloud…
permissive · top 1,000 on PyPI