python-localizable
Localizable.strings parser for Python
Usage
Install using pip.
$ pip install localizable
You can either parse a full string directly or pass a file path:
import localizable
strings = localizable.parse_strings(filename='Localizable.strings')
strings = localizable.parse_strings(content="content of .strings file") # this works too
The output format is an array of dictionaries, in order, with the following key/value pairs:
/* Comment */
"Key" = "Value";
key: "Key"value: "Value"comment: "Comment"
License
GPLv2. Adapted from Transifex.
Release files for localizable 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| localizable-0.1.3.tar.gz | 9.7 kB | Details |
Release files / localizable-0.1.3.tar.gz
| Download URL | localizable-0.1.3.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb6c1ed3542da130796346af1c85ec0effc851eddbfad06e18d312c706879812
|
|
BLAKE2b-256 checksum How to use checksums |
f34f41a646026e646ff18525168e0b86f54373329a0ab61a420ba43b6a8d2caa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.4
|