telegramstats 3.0.1
Parse GDPR-exported Telegram data and print stats to the console
Requires Python: <4.0,>=3.13
Keywords: telegram, cli, chat, stats, gdpr-export

<div align="center">
<img alt="" src="https://forge.steffo.eu/steffo/telegramstats/raw/branch/main/.media/icon-512.png" height="128" style="border-radius: 100%;">
<hgroup>
<h1>Telegram Stats</h1>
<p>Parse GDPR-exported Telegram data and print stats to the console</p>
</hgroup>
</div>

## Quick setup

Make sure [pipx] is installed, then:

```bash
pipx install telegramstats[markov]
pipx run telegramstats --version
pipx run telegramstats --help
```

See [the documentation] for more information.

[pipx]: https://pipx.pypa.io/latest/
[the documentation]: https://forge.steffo.eu/steffo/telegramstats/wiki

## Supported stats

- Message counts in chats by user
- Generate markov chains from chat messages (`markov` extra)

## Links

### Tools

<a href="https://www.python.org/">
    <img alt="Written in Python" title="Written in Python" src="https://img.shields.io/badge/language-python-3775a9" height="30px">
</a>
&hairsp;
<a href="https://click.palletsprojects.com/en/stable/">
    <img alt="CLI with Click" title="CLI with Click" src="https://img.shields.io/badge/cli-click-917ab1" height="30px">
</a>

### Packaging

<a href="https://pypi.org/project/telegramstats">
    <img alt="Available on PyPI" title="Available on PyPI" src="https://img.shields.io/pypi/v/telegramstats?label=pypi&color=ffd242" height="30px">
</a>
&hairsp;
<a href="https://forge.steffo.eu/steffo/-/packages/pypi/telegramstats">
    <img alt="Available on Forgejo Packages" title="Available on Forgejo Packages" src="https://img.shields.io/badge/forgejo%20packages-latest-ff6600" height="30px">
</a>

### Documentation

<a href="https://forge.steffo.eu/steffo/telegramstats/wiki">
    <img alt="Documentation available" title="Documentation available" src="https://img.shields.io/website?url=https%3A%2F%2Fforge.steffo.eu%2Fsteffo%2Ftelegramstats%2Fwiki&up_color=175d36&up_message=available&down_message=error&label=documentation" height="30px">
</a>
&hairsp;
<a href="https://interoperable-europe.ec.europa.eu/collection/eupl/eupl-text-eupl-12">
    <img alt="Licensed under EUPL-1.2" title="Licensed under EUPL-1.2" src="https://img.shields.io/badge/license-EUPL--1.2-003399" height="30px">
</a>

### Development

<a href="https://forge.steffo.eu/steffo/telegramstats">
    <img alt="Code repository" title="Code repository" src="https://img.shields.io/gitea/last-commit/steffo/telegramstats?gitea_url=https%3A%2F%2Fforge.steffo.eu&color=374351" height="30px">
</a>
&hairsp;
<a href="https://forge.steffo.eu/steffo/telegramstats/releases">
    <img alt="Releases" title="Releases" src="https://img.shields.io/gitea/v/release/steffo/telegramstats?gitea_url=https%3A%2F%2Fforge.steffo.eu&label=last+release&color=374351" height="30px">
</a>
&hairsp;
<a href="https://forge.steffo.eu/steffo/telegramstats/issues">
    <img alt="Issues" title="Issues" src="https://img.shields.io/gitea/issues/open/steffo/telegramstats?gitea_url=https%3A%2F%2Fforge.steffo.eu&label=issues&color=374351" height="30px">
</a>
&hairsp;
<a href="https://forge.steffo.eu/steffo/telegramstats/pulls">
    <img alt="Pull requests" title="Pull requests" src="https://img.shields.io/gitea/pull-requests/open/steffo/telegramstats?gitea_url=https%3A%2F%2Fforge.steffo.eu&color=374351" height="30px">
</a>