Skip to content

Telegram bot to facilitate work with mechanisms for checking PIN values. Verification is provided only by logical operations; the program does not access databases containing personal data of citizens.

License

Notifications You must be signed in to change notification settings

co-andrey-l/PINFL-Helper-tbot

Repository files navigation

Telegram Bot for PINFL Analysis

linting: pylint

This project is a Telegram bot that analyzes the PINFL (Personal Identification Number for Individual Taxpayer) entered by the user and reports its validity, as well as its birth date, region code, and other parameters.

Why is this project needed?

PINFL (PINFL) is a unique identification number used in several countries to identify citizens. This project is intended for processing and analyzing PINFL to ensure its correctness and provide information about the birth date and other data contained in this number.

How to use?

  1. Navigate to the project directory.

  2. Copy .env.example to .env.

  3. Update all values in .env.

  4. docker build -t pinfl_bot .

  5. docker run -d pinfl_bot

Additional features

  1. The bot pre-checks the entered text for the presence of only digits and a length of at least 14 characters. If the entered text does not meet these criteria, the bot will send a message with the corresponding warning.

  2. If the entered PINFL is shorter than 14 characters, the missing characters will be filled with zeros before analysis.

About

Telegram bot to facilitate work with mechanisms for checking PIN values. Verification is provided only by logical operations; the program does not access databases containing personal data of citizens.

Topics

Resources

License

Stars

Watchers

Forks