Metadata-Version: 2.1
Name: SACalendar
Version: 0.0.3
Summary: Simple calendar for telegram bot (aiogram v2.x)
Home-page: https://github.com/bbt-t/SACalendar
Author: Nik Bbt-t
Author-email: bbt-pip@yandex.ru
License: MIT License
Download-URL: https://github.com/bbt-t/SACalendar/archive/refs/tags/v0.0.3.tar.gz
Keywords: async,aiogram,telegram,bot,calendar
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE

### About package

_This allows you to add a calendar to your telegram bot._

### Get Started

**Install package**

    pip install SACalendar 

**Simple example**

    from aiogram.contrib.fsm_storage.memory import MemoryStorage
    from aiogram.types import Message, CallbackQuery
    from CalendarBot import CalendarBot
    
    bot = Bot(token=BOT_TOKEN)
    dp = Dispatcher(bot, storage=MemoryStorage())
    my_calendar = CalendarBot()

    @dp.message_handler(CommandStart())
    async def start_working_with_bot(message: Message) -> None:
        await message.answer('YAHOO!', reply_markup=await my_calendar.enable())

    @dp.callback_query_handler(my_calendar.callback.filter())
    async def birthday_simple_calendar(call: CallbackQueryt) -> None:
        pass

### Demo
    
![image_calendar.webp](examples/image_calendar.webp)

### Description

This simple calendar supports 2 languages RU and EN.
To select a language, use:
    
    my_calendar = CalendarBot(language='EN')

Also, to improve the quality of the calendar display, you can transfer your time zone (default UTC)

    my_calendar = CalendarBot(tz='Europe/Vienna')

### Try it in action

-> `@my_Yuuko_bot`



