{"id":25166107,"url":"https://github.com/sky-alin/telegram-text","last_synced_at":"2025-09-01T17:44:21.873Z","repository":{"id":40399222,"uuid":"489422997","full_name":"SKY-ALIN/telegram-text","owner":"SKY-ALIN","description":"📝 Python markup module for Telegram messenger","archived":false,"fork":false,"pushed_at":"2024-09-16T05:38:26.000Z","size":1429,"stargazers_count":91,"open_issues_count":5,"forks_count":6,"subscribers_count":3,"default_branch":"dev","last_synced_at":"2025-08-30T06:54:32.827Z","etag":null,"topics":["markdown","python","telegram"],"latest_commit_sha":null,"homepage":"https://telegram-text.alinsky.tech","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/SKY-ALIN.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-05-06T16:28:14.000Z","updated_at":"2025-08-27T14:26:32.000Z","dependencies_parsed_at":"2023-09-23T22:56:26.005Z","dependency_job_id":"ed96dc8f-07b1-49bb-bc4f-412a61c9060e","html_url":"https://github.com/SKY-ALIN/telegram-text","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/SKY-ALIN/telegram-text","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SKY-ALIN%2Ftelegram-text","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SKY-ALIN%2Ftelegram-text/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SKY-ALIN%2Ftelegram-text/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SKY-ALIN%2Ftelegram-text/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SKY-ALIN","download_url":"https://codeload.github.com/SKY-ALIN/telegram-text/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SKY-ALIN%2Ftelegram-text/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273166086,"owners_count":25057175,"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","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["markdown","python","telegram"],"created_at":"2025-02-09T05:47:42.781Z","updated_at":"2025-09-01T17:44:21.839Z","avatar_url":"https://github.com/SKY-ALIN.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# telegram-text\n**Python markup module for Telegram messenger.\nThis module provides a rich list of components to build any possible\nmarkup fast and render it to specific _html_ and _MarkdownV2_ formats.**\n\n[![versions](https://img.shields.io/pypi/pyversions/telegram-text.svg)](https://github.com/SKY-ALIN/telegram-text)\n![Tests](https://github.com/SKY-ALIN/telegram-text/actions/workflows/tests.yml/badge.svg)\n![Code Quality](https://github.com/SKY-ALIN/telegram-text/actions/workflows/code-quality.yml/badge.svg)\n[![codecov](https://codecov.io/gh/SKY-ALIN/telegram-text/branch/dev/graph/badge.svg?token=BK0ASC89B9)](https://codecov.io/gh/SKY-ALIN/telegram-text)\n[![PyPI version fury.io](https://badge.fury.io/py/telegram-text.svg)](https://pypi.org/project/telegram-text/)\n[![license](https://img.shields.io/github/license/SKY-ALIN/telegram-text.svg)](https://github.com/SKY-ALIN/telegram-text/blob/main/LICENSE)\n\n---\n\n### Installation\nInstall using `pip install telegram-text` or `poetry add telegram-text`\n\nAlso, `telegram-text` is integrated into following packages:\n\n| Module | Installation | Import | Documentation |\n| ------ | ------------ | ------ | ------------- |\n| [python-telegram](https://github.com/alexander-akhmetov/python-telegram) | `pip install python-telegram` | `from telegram.text import ...` | [Readme](https://github.com/alexander-akhmetov/python-telegram/blob/master/README.md) |\n| [OrigamiBot](https://github.com/cmd410/OrigamiBot) | `pip install origamibot[telegram-text]` | `from origamibot.text import ...` | [Release](https://github.com/cmd410/OrigamiBot/releases/tag/v2.3.0) |\n| [TGramBot](https://github.com/KeralaBots/TGramBot) | `pip install tgrambot` | `from tgrambot.text import ...` | [Readme](https://github.com/KeralaBots/TGramBot/blob/alpha/README.md) |\n\n### Basic Example\n\n```python\nfrom telegram_text import Bold, Italic, Underline\n\ntext = Underline(Bold(\"Bold\") + \"and\" + Italic(\"italic\") + \"with underline.\")\n```\n\n\u003cp align=\"center\"\u003e\n  \u003cimg \n    width=\"400\"\n    src=\"https://raw.githubusercontent.com/SKY-ALIN/telegram-text/dev/docs/source/_static/basic_example_result.jpg\"\n  /\u003e\n\u003c/p\u003e\n\n### Advanced Example\n\n```python\nfrom telegram_text import Bold, Chain, Italic, TOMLSection, Hashtag, Link, UnorderedList\n\ndescription = \"A Channel about software developing and distributing. Subscribe to follow new technologies.\"\ntags: dict[str, str] = {...}  # Tags description with following format `tag: tag_description`\nlinks: dict[str, str] = {...}  # Links with following format `text: url`\n\nmenu = Chain(\n    TOMLSection(\n        'Menu',\n        Italic(description),\n    ),\n    TOMLSection(\n        'Tags',\n        *[Hashtag(tag, style=Bold) + f\"- {about}\" for tag, about in tags.items()],\n    ),\n    TOMLSection(\n        'Links',\n        UnorderedList(*[Link(text, url) for text, url in links.items()]),\n    ),\n    sep='\\n\\n'\n)\n```\n\n![Advanced Example Result](https://raw.githubusercontent.com/SKY-ALIN/telegram-text/dev/docs/source/_static/advanced_example_result.jpg)\n\n---\n\nFull documentation and reference are available at \n[telegram-text.alinsky.tech](https://telegram-text.alinsky.tech)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsky-alin%2Ftelegram-text","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsky-alin%2Ftelegram-text","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsky-alin%2Ftelegram-text/lists"}