Metadata-Version: 2.4
Name: praiselul
Version: 0.2.1
Summary: Overtime management for Praise
Author-email: guillaume@pafin.com
License-Expression: MIT
Project-URL: Repository, https://github.com/LysanderGG/praiselul
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: requests~=2.31
Requires-Dist: plotly~=5.18
Provides-Extra: dev
Requires-Dist: pytest~=8.0; extra == "dev"
Requires-Dist: ruff~=0.4; extra == "dev"

# praiselul

Overtime management CLI for [Praise](https://github.com/Cryptact/praise).

Mirrors [RecoLul](https://github.com/Maerig/recolul)'s interface, powered by Praise's REST API.

## Install

```bash
pip install praiselul
```

## Setup

```bash
praiselul config
```

Prompts for Praise server URL, email, password, and hours per day.

## Commands

```bash
praiselul balance                # Monthly overtime balance + workplace breakdown
praiselul balance --exclude-last-day
praiselul when                   # When to leave to avoid overtime
praiselul graph                  # Plotly overtime progression chart
praiselul graph --exclude-last-day
```

## Config

Stored in `~/.praiselul/config.ini`. Also supports environment variables:

- `PRAISE_URL`
- `PRAISE_EMAIL`
- `PRAISE_PASSWORD`
- `PRAISE_HOURS_PER_DAY` (default: 8)
