dotstrings
This is a Python toolkit for interacting with the localization files for iOS and macOS.
Examples
Read in a .strings file and print the entries:
import dotstrings
entries = dotstrings.load("/path/to/file.strings")
for entry in entries:
print("Key: " + entry.key)
print("Value: " + entry.value)
print("Comments: " + "\n".join(entry.comments))
Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Metadata
Release files for dotstrings 3.1.5
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 |
|---|---|---|---|---|
| dotstrings-3.1.5.tar.gz | 13.8 kB | Without provenance | Details for dotstrings-3.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dotstrings-3.1.5-py3-none-any.whl | Python 3 | none | any | Details for dotstrings-3.1.5-py3-none-any.whl |
Total release size: 30.0 kB
Release files / dotstrings-3.1.5.tar.gz
| Download URL | dotstrings-3.1.5.tar.gz |
|---|---|
| Size | 13.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43464753938a6cf28bec78e0041970c0b91793ffccacac1aebf1105158a27d56
|
|
BLAKE2b-256 checksum How to use checksums |
62b253bd2714318a54be9c2760fa5a0985ac6932efd198d723c70717da02e90d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.5 CPython/3.12.13 Darwin/25.3.0
|
Release files / dotstrings-3.1.5-py3-none-any.whl
| Download URL | dotstrings-3.1.5-py3-none-any.whl |
|---|---|
| Size | 16.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a30710ebe666dd6e552bc43d8e154b149c453f7f2d50bf7993830a5c60e4c31c
|
|
BLAKE2b-256 checksum How to use checksums |
8ba684ec09d5dcdd9477806f3d7adbadd41b5ec80aedd2c469826a8b71e6a117
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.5 CPython/3.12.13 Darwin/25.3.0
|
Security for dotstrings 3.1.5
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.