Skip to main content

Telegram entity parser

Project description

TgEntity

Convert Telegram entities to HTML or Markdown.

This project is a rewrite of @telegraf/entity in Python.

pip install tgentity

Usage

from tgentity import to_markdown_v2, to_html

html = to_html(message)
markdown = to_markdown_v2(message)
  • Aliases
    • to_md = to_markdown_v2
    • to_markdown = to_markdown_v2

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tgentity_updated-0.4.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

TgEntity_Updated-0.4.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file tgentity_updated-0.4.0.tar.gz.

File metadata

  • Download URL: tgentity_updated-0.4.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for tgentity_updated-0.4.0.tar.gz
Algorithm Hash digest
SHA256 7fe33cab94f1062e7b50c801b41da5f610bd5231ee9357398f66c67032fc80ce
MD5 02d919ccffb1b1af04b83a4f93f568cb
BLAKE2b-256 1b0eab0ea6fb5d79ff7b720b75a874a51e24473fa652ff296feff05bcd101e9c

See more details on using hashes here.

File details

Details for the file TgEntity_Updated-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for TgEntity_Updated-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4fe71b43d610a29c8e15f6956d752ec53e7f8c054c4f996715cb8a4ac4e72520
MD5 d9e444e1f99b1c0398b0b405db5f5fdf
BLAKE2b-256 0df135bcf63e5c3a47f4c7b08fd750e74b1bacb1b1b3f238ae8ab4514849db7c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page