Metadata-Version: 2.1
Name: telegram-webapp-auth
Version: 3.0.5
Summary: Python package that implements Telegram Mini Apps authentication algorithms.
Home-page: https://pypi.org/project/telegram-webapp-auth/
License: MIT
Keywords: Telegram,Telegram Mini Apps,Telegram Bot,Poetry
Author: Dmitry Vasiliev
Author-email: contact.vasiliev.dmitry@gmail.com
Requires-Python: >=3.9.2,<4.0.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Security
Requires-Dist: cryptography (>=44,<46)
Project-URL: Documentation, https://swimmwatch.github.io/telegram-webapp-auth/
Project-URL: Repository, https://github.com/swimmwatch/telegram-webapp-auth
Description-Content-Type: text/markdown

# telegram-webapp-auth

<!-- markdownlint-disable -->
![telegram-webapp-auth](https://socialify.git.ci/swimmwatch/telegram-webapp-auth/image?description=1&font=Raleway&language=1&name=1&owner=1&pattern=Brick%20Wall&theme=Dark)

<div align="center">
  <p>
    <a href="https://github.com/telegram-mini-apps-dev/awesome-telegram-mini-apps">
      <img src="https://awesome.re/mentioned-badge.svg" alt="Mentioned in Awesome Telegram Mini Apps">
    </a>
    <a href="https://pypi.org/project/telegram-webapp-auth">
        <img src="https://img.shields.io/pypi/v/telegram-webapp-auth.svg" alt="PyPI">
    </a>
    <a href="pyproject.toml">
        <img src="https://img.shields.io/pypi/pyversions/telegram-webapp-auth" alt="Supported Python Versions">
    </a>
    <br/>
    <a href="LICENSE">
        <img src="https://img.shields.io/github/license/swimmwatch/telegram-webapp-auth" alt="License">
    </a>
    <a href="https://github.com/ambv/black">
        <img src="https://img.shields.io/badge/code%20style-black-black" alt="Code style">
    </a>
    <a href="https://github.com/pycqa/flake8">
        <img src="https://img.shields.io/badge/lint-flake8-black" alt="Linter">
    </a>
    <a href="https://github.com/python/mypy">
        <img src="https://img.shields.io/badge/type%20checker-mypy-black" alt="Type checker">
    </a>
    <a href="https://snyk.io/advisor/python/telegram-webapp-auth">
        <img src="https://snyk.io/advisor/python/telegram-webapp-auth/badge.svg" alt="Package health">
    </a>
    <br/>
    <a href="https://github.com/swimmwatch/telegram-webapp-auth/actions/workflows/python-check.yml">
        <img src="https://github.com/swimmwatch/telegram-webapp-auth/actions/workflows/python-check.yml/badge.svg" alt="Tests">
    </a>
    <a href="https://codecov.io/github/swimmwatch/telegram-webapp-auth" target="_blank">
        <img src="https://codecov.io/github/swimmwatch/telegram-webapp-auth/graph/badge.svg?token=M638BMDY5V" alt="Coverage">
    </a>
    <a href="https://github.com/swimmwatch/telegram-webapp-auth/actions/workflows/release.yml">
        <img src="https://github.com/swimmwatch/telegram-webapp-auth/actions/workflows/release.yml/badge.svg" alt="Release">
    </a>
    <a href="https://github.com/swimmwatch/telegram-webapp-auth/actions/workflows/docs.yml">
        <img src="https://github.com/swimmwatch/telegram-webapp-auth/actions/workflows/docs.yml/badge.svg" alt="Docs">
    </a>
  </p>
</div>
<!-- markdownlint-enable -->

This Python package implements [Telegram Mini Apps authentication algorithms](https://core.telegram.org/bots/webapps#validating-data-received-via-the-mini-app).

## Installation
```bash
pip install telegram-webapp-auth
```

## Documentation
[Small package - small documentation](https://swimmwatch.github.io/telegram-webapp-auth/guide/install/) :)

## License
`telegram-webapp-auth` is licensed under the [MIT License](LICENSE).

