dotstrings


Namedotstrings JSON
Version 3.0.0 PyPI version JSON
download
home_pagehttps://github.com/Microsoft/dotstrings
SummaryTools for dealing with the .strings files for iOS and macOS
upload_time2024-04-26 09:25:58
maintainerNone
docs_urlNone
authorDale Myers
requires_python<4.0,>=3.10
licenseMIT
keywords localization ios macos strings
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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:**
```python
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](https://opensource.microsoft.com/codeofconduct/).
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Microsoft/dotstrings",
    "name": "dotstrings",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": "localization, iOS, macOS, strings",
    "author": "Dale Myers",
    "author_email": "dalemy@microsoft.com",
    "download_url": "https://files.pythonhosted.org/packages/31/ce/733ef1a053199892b61710512b108e943613b84c52a485a1baf519c11250/dotstrings-3.0.0.tar.gz",
    "platform": null,
    "description": "# dotstrings\n\nThis is a Python toolkit for interacting with the localization files for iOS and macOS.\n\n### Examples\n\n**Read in a .strings file and print the entries:**\n```python\nimport dotstrings\n\nentries = dotstrings.load(\"/path/to/file.strings\")\n\nfor entry in entries:\n    print(\"Key: \" + entry.key)\n    print(\"Value: \" + entry.value)\n    print(\"Comments: \" + \"\\n\".join(entry.comments))\n```\n\n# Contributing\n\nThis project welcomes contributions and suggestions.  Most contributions require you to agree to a\nContributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us\nthe rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.\n\nWhen you submit a pull request, a CLA bot will automatically determine whether you need to provide\na CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions\nprovided by the bot. You will only need to do this once across all repos using our CLA.\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).\nFor more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or\ncontact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Tools for dealing with the .strings files for iOS and macOS",
    "version": "3.0.0",
    "project_urls": {
        "Homepage": "https://github.com/Microsoft/dotstrings",
        "Repository": "https://github.com/Microsoft/dotstrings"
    },
    "split_keywords": [
        "localization",
        " ios",
        " macos",
        " strings"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7edebc4acccee2ff3398f767a5c11bb3fbd971a5e7f19cb2a546f693fd3b39c0",
                "md5": "295c80fbd74cb7d822485db5f1bf9c77",
                "sha256": "e0a19e8acc82b74e6c56ad7de4c00688cf0d9b5c481a62dd59c70966ce5d37f9"
            },
            "downloads": -1,
            "filename": "dotstrings-3.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "295c80fbd74cb7d822485db5f1bf9c77",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 14833,
            "upload_time": "2024-04-26T09:25:56",
            "upload_time_iso_8601": "2024-04-26T09:25:56.852957Z",
            "url": "https://files.pythonhosted.org/packages/7e/de/bc4acccee2ff3398f767a5c11bb3fbd971a5e7f19cb2a546f693fd3b39c0/dotstrings-3.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "31ce733ef1a053199892b61710512b108e943613b84c52a485a1baf519c11250",
                "md5": "39114af41f65bdea6d2a29d0e19a38d2",
                "sha256": "a8581b37e93b1f515a8992bf04658f84950d3605290e33e11d4f78cc1869fd5c"
            },
            "downloads": -1,
            "filename": "dotstrings-3.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "39114af41f65bdea6d2a29d0e19a38d2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 12445,
            "upload_time": "2024-04-26T09:25:58",
            "upload_time_iso_8601": "2024-04-26T09:25:58.717935Z",
            "url": "https://files.pythonhosted.org/packages/31/ce/733ef1a053199892b61710512b108e943613b84c52a485a1baf519c11250/dotstrings-3.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-26 09:25:58",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Microsoft",
    "github_project": "dotstrings",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "dotstrings"
}
        
Elapsed time: 0.24738s