Skip to main content

Overtime management for Praise

Project description

praiselul

Overtime management CLI for Praise.

Mirrors RecoLul's interface, powered by Praise's REST API.

Install

pip install praiselul

Setup

praiselul config

Prompts for the Praise server URL and hours per day.

Login

Praise authenticates the CLI with a browser-approved device flow (it no longer accepts a password — login is protected by reCAPTCHA). The first time you run a command, praiselul prints a short code and opens the approval page:

  Opening https://praise.pafin.com/cli/authorize in your browser…
  Enter this code to authorize: ZMND-H966

  Waiting for approval… (Ctrl-C to cancel)
✓ Logged in.

Approve it in the browser and the command continues. The token is cached in ~/.praiselul/token (revoke it anytime from Account → Sessions), so later commands don't prompt again. Manage CLI sessions there like any other login.

Commands

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_HOURS_PER_DAY (default: 8)
  • PRAISE_TOKEN — a prs_cli_… token to use directly, skipping the browser flow (for headless/CI use)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

praiselul-0.4.0.tar.gz (20.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

praiselul-0.4.0-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file praiselul-0.4.0.tar.gz.

File metadata

  • Download URL: praiselul-0.4.0.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for praiselul-0.4.0.tar.gz
Algorithm Hash digest
SHA256 0a4ef87d3373d114bfcd39e098b8a64a493319dcfec77e72a7d87fb1f771436f
MD5 2a89af29c431113c439fcf97f0d77e73
BLAKE2b-256 b2379460049732d2038c0c30a059cfd14609224d49e9a8bdd7ad052e37a47d13

See more details on using hashes here.

File details

Details for the file praiselul-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: praiselul-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for praiselul-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 71066b8e16ea1a7e799ee9598af37c0bdf5fbd6befd104aeb067b2fe766cd4b7
MD5 d90b961c210d146e16d7800cc683fbb4
BLAKE2b-256 2b8b579f45e00f3a0963982ab683308c1fa93fd8964a0ac5cc67af53af91942a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page