semvec/pypi-packages huggingface dataset:
work-calendar-ru 1.1.2
Russian work calendar
License: MIT
Requires Python: >=3.6

# Russian work calendar

# Description
Simple library for checking current day as a holiday or weekend and current time as a working time or not.

## Setup
`pip install work_calendar_ru`

## Import package
`from work_calendar_ru import WCR`

## Using package
`wcr = WCR(start_hour=9, start_minutes=0, end_hour=19, end_minutes=30)`

Where `start_hour` and `start_minutes` is a time of the start of working day.

Therefore `end_hour` and `end_minutes` is a time of the end of working day.

* Work time now `wcr.is_work_time()`
* Holiday today `wcr.is_holiday()`
* Work day today `wcr.is_work_day()`
* Short work day today `wcr.is_short_work_day()`
* Work weekend day today `wcr.is_work_weekend()`
* Weekend day today `wcr.is_weekend()`

## License
MIT license
sendtelegram 0.2.0
A telegram replacement for sendmail.
License: MIT

# sendtelegram

Current version: 0.2.0

A Telegram replacement for sendmail.

`sendtelegram` uses a Telegram bot to send messages to a specific user. It reads from `stdin`, splits the input text into messages of at most MAX_MSG_LEN
characters (default: 4096) and send them
using the Telegram API.

`sendtelegram` adheres to the 12 factor principles to manage settings.

It requires two environment variables:
* SENDTELEGRAM_API_TOKEN: the Telegram API token.
* SENDTELEGRAM_CHAT_ID: id of the chat between the bot and the target user.


## Usage

```
usage: sendtelegram [-h] [-m MAX_MSG_LEN]

optional arguments:
  -h, --help            show this help message and exit
  -m MAX_MSG_LEN, --max-msg-len MAX_MSG_LEN
                        Max number of characters of a Telegram message (default: 4096)
```

## Examples

Sending a text file as a telegram message:
```
cat README.md | sendtelegram
```

## Author

* Giovanni Stracquadanio, giovanni.stracquadanio@ed.ac.uk