{"id":28961561,"url":"https://github.com/tirch/langrinder","last_synced_at":"2025-06-24T02:03:58.342Z","repository":{"id":296563944,"uuid":"993816489","full_name":"tirch/langrinder","owner":"tirch","description":"Flexible internationalization (i18n) engine based on Mako templates","archived":false,"fork":false,"pushed_at":"2025-06-15T12:58:29.000Z","size":418,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-15T14:12:02.970Z","etag":null,"topics":["babel","i18n","internationalization","python","telegrinder","telegrinder-tool"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tirch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-31T15:30:29.000Z","updated_at":"2025-06-15T12:58:33.000Z","dependencies_parsed_at":"2025-06-01T03:54:33.970Z","dependency_job_id":"2583f76c-ce4d-49cb-8fc5-78232c486b12","html_url":"https://github.com/tirch/langrinder","commit_stats":null,"previous_names":["tirch/langrinder"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/tirch/langrinder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tirch%2Flangrinder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tirch%2Flangrinder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tirch%2Flangrinder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tirch%2Flangrinder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tirch","download_url":"https://codeload.github.com/tirch/langrinder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tirch%2Flangrinder/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261589903,"owners_count":23181435,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["babel","i18n","internationalization","python","telegrinder","telegrinder-tool"],"created_at":"2025-06-24T02:03:56.848Z","updated_at":"2025-06-24T02:03:58.329Z","avatar_url":"https://github.com/tirch.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003ch1\u003eLangrinder\u003c/h1\u003e\n    \u003ci\u003eFlexible internationalization (i18n) engine based on \u003ca href=\"https://github.com/sqlalchemy/mako\"\u003eMako\u003c/a\u003e templates\u003c/i\u003e\n    \u003cbr\u003e\u003cbr\u003e\n    \u003cp\u003e\n      \u003ca href=\"#\"\u003e\u003cimg alt=\"Still in development\" src=\"https://img.shields.io/badge/still_in_development-E3956B?logo=textpattern\u0026logoColor=fff\u0026style=flat-square\u0026color=black\"\u003e\u003c/img\u003e\u003c/a\u003e\n      \u003ca href=\"#License\"\u003e\u003cimg alt=\"GitHub License\" src=\"https://img.shields.io/github/license/timoniq/telegrinder.svg?color=lightGreen\u0026labelColor=black\u0026style=flat-square\"\u003e\u003c/img\u003e\u003c/a\u003e\n      \u003ca href=\"https://docs.astral.sh/ruff/\"\u003e\u003cimg alt=\"Code Style\" src=\"https://img.shields.io/badge/code_style-Ruff-D7FF64?logo=ruff\u0026logoColor=fff\u0026style=flat-square\u0026labelColor=black\"\u003e\u003c/img\u003e\u003c/a\u003e\n      \u003ca href=\"https://github.com/tirch/langrinder/blob/master/pyproject.toml\"\u003e\u003cimg alt=\"Python versions\" src=\"https://img.shields.io/python/required-version-toml?tomlFilePath=https%3A%2F%2Fraw.githubusercontent.com%2Ftirch%2Flangrinder%2Frefs%2Fheads%2Fmaster%2Fpyproject.toml\u0026style=flat-square\u0026logo=python\u0026logoColor=fff\u0026labelColor=black\"\u003e\u003c/img\u003e\u003c/a\u003e\n      \u003ca href=\"https://github.com/tirch/langrinder/blob/master/pyproject.toml\"\u003e\n      \u003cimg alt=\"Project version\" src=\"https://img.shields.io/badge/version-v3.1.0-black?style=flat-square\u0026logo=python\u0026logoColor=fff\"\u003e\u003c/img\u003e\u003c/a\u003e\n    \u003c/p\u003e\n\u003c/div\u003e\n\n## Why Langrinder?\n- Based on mako templates. Maximum flexibility and comfort\n- Flexible compilers \u0026 parsers (default: JSON compiler)\n- Variety of built-in functions and integrations\n\n## Installation\n```shell\npip install \"langrinder @ git+https://github.com/tirch/langrinder.git\"\npip install \"langrinder[telegrinder] @ git+...\"\npip install \"langrinder[cli] @ git+...\" # Recommended\n```\n\n## Usage\n- Create locales files (`locales/\u003clocale\u003e/\u003csmth\u003e.mako`)\n    - `locales/en/main.mako`:\n        ```mako\n        @start: Hello from ${html.bold('Langrinder')}!\n        ```\n    - `locales/ru/main.mako`:\n        ```mako\n        @start: Привет от ${html.bold('Langrinder')}!\n        ```\n- Compile translations\n    ```shell\n    langrinder locales/ locales/compiled.json\n    ```\n- Enjoy! See our [main example](./examples/main.py) and [bot example](./examples/bot.py)!\n\n---\n\n## License\nLangrinder licensed under [MIT license](LICENSE). Free and open-source!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftirch%2Flangrinder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftirch%2Flangrinder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftirch%2Flangrinder/lists"}