Skip to main content

Official Python interface for the Lokalise API v2

Project description

Lokalise API v2 official Python interface

PyPI Build Status Test Coverage Downloads Docs

Official Python 3 interface for the Lokalise APIv2 that represents returned data as Python objects.

Quick start

This plugin requires Python 3.6 and above. Install it:

pip install python-lokalise-api

Obtain a Lokalise API token (in your Personal profile) and use it:

import lokalise
client = lokalise.Client('YOUR_API_TOKEN')
project = client.project('')

client.upload_file(project.project_id, {
    "data": 'ZnI6DQogIHRlc3Q6IHRyYW5zbGF0aW9u',
    "filename": 'python_upload.yml',
    "lang_iso": 'en'

translation_keys = client.keys(project.project_id, {"page": 2,
    "limit": 3,
    "disable_references": "1"})
translation_keys.items[0].key_name['web'] # => "sign_up"


Find detailed documentation at


This plugin is licensed under the BSD 3 Clause License.

Copyright (c) Lokalise team, Ilya Bodrov

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-lokalise-api, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size python_lokalise_api-0.4.0-py2.py3-none-any.whl (42.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size python-lokalise-api-0.4.0.tar.gz (49.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page