Skip to content

alk3mist/temno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔦 Temno

A CLI for Yasno Outage Scheduling API.

Warning

🚧 This is a pet project / sandbox for exploring various dev tools. Do not use in production 😎.

Installation

Install with uv:

uv tool install --from git+https://github.com/alk3mist/temno.git temno

or with pipx:

pipx install --python=3.13 "temno @ git+https://github.com/alk3mist/temno.git"

You can also run commands without installing:

uvx --from git+https://github.com/alk3mist/temno.git temno <command>

Usage

Print help

temno --help
                                                                      
 Usage: temno [OPTIONS] COMMAND [ARGS]...                             
 ...

Find your blackout group

temno cities dnipro 
1 - м. Апостолове
2 - м. Верхівцеве
...temno streets dnipro --city-id=7
2881 - вул. Сірова
2882 - вул. Січнева
...temno houses dnipro --street-id=2881     
17 - 3.1
...

Print your weekly schedule

temno schedule weekly dnipro 1.1
MON - 00:00 - 04:00 - POSSIBLE_OUTAGE
...
SUN - 21:00 - 00:00 - POSSIBLE_OUTAGE

Print your daily schedule

temno schedule daily dnipro 5.1 # today by default
08:00 - 09:00 - DEFINITE_OUTAGE
16:00 - 19:30 - DEFINITE_OUTAGEtemno schedule daily dnipro 5.2 tomorrow 
13:00 - 16:30 - DEFINITE_OUTAGE

Export your schedule as an iCalendar

temno schedule weekly dnipro 2.1 --ical group_2_1.ics
The calendar saved to "/home/greenlantern/group_2_1.ics"temno schedule daily dnipro 2.1 --ical group_2_1.ics
The calendar saved to "/home/greenlantern/group_2_1.ics"

About

🔦 A CLI for Yasno Outage Scheduling API

Topics

Resources

License

Stars

Watchers

Forks

Languages