Skip to main content

edays-cli

Command-line client for the eDays leave/absence system. Read your own or your team's calendar, and book or cancel Holiday / Home Office absences without opening the web app.

  • Works with any eDays instance — the instance URL, absence types and team roster live in your local config file, nothing is hard-coded.
  • Signs in through your organisation's normal SSO in a real browser window; the captured session is reused until it expires.
  • JSON output by default (script- and AI-agent-friendly), tables with --pretty.

Install

uv tool install edays-cli
edays install-browser        # one-time: downloads Chromium for the SSO login

or pip install edays-cli. Requires Python 3.11+.

Quick start

edays read                   # first run creates ~/.edays-cli/config.toml and says so
# edit the config: set [edays] base_url to your eDays address
edays login                  # sign in via SSO in the browser window
edays --pretty absence-types # list bookable types, then map the ones you use:
edays absence-types --add holiday=123 --add "home-office=Home Office"
edays --pretty team sync     # managers: add your direct reports to the roster
edays --pretty read --month 2026-11
edays book holiday 2026-12-22 --to 2026-12-31 --dry-run

Global flags (--pretty, --quiet, --config) go before the subcommand.

Command Purpose
edays install-browser One-time Chromium download for login
edays login Browser SSO sign-in; saves the session
edays whoami Profile + entitlement; session check
edays team Configured team roster
edays team sync / find / add Fill the roster from eDays (no manual ID lookup)
edays absence-types List bookable absence types; --add maps kinds for book
edays read Month calendar: absences + public holidays
edays book KIND DATE Book an absence (precheck + confirm)
edays cancel RECORD_ID Cancel an absence record

Documentation

Full installation, configuration and command reference: docs/manual.md.

Development

git clone https://github.com/xdoko01/edays-cli && cd edays-cli
uv run --extra dev pytest                    # offline unit tests
uv run --extra dev pytest -m integration     # live test; needs `edays login` first

Disclaimer

Unofficial tool, not affiliated with or endorsed by eDays. It uses the same internal API as the eDays web application, which may change without notice.

License

MIT

Metadata

Release files for edays-cli 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for edays-cli 0.2.0
File Size Uploaded
edays_cli-0.2.0.tar.gz 29.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for edays-cli 0.2.0
File Interpreter ABI Platform
edays_cli-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 47.2 kB

Release files / edays_cli-0.2.0.tar.gz

Download URL edays_cli-0.2.0.tar.gz
Size 29.7 kB
Tags Source
SHA-256 checksum
How to use checksums
288255e3744f97e8bd47c8fb8913247d2691f64defb19edaf1cee32c49c6dfeb
BLAKE2b-256 checksum
How to use checksums
ec8f6c1ba8beedd4ae0133e983779a3e89c9131ac6187a1f6e62fa81f74a9ffb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / edays_cli-0.2.0-py3-none-any.whl

Download URL edays_cli-0.2.0-py3-none-any.whl
Size 17.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c6e89666a34b9bf8d023c17e7362189034d63c1285a2bf8b8aeeca84b3d26772
BLAKE2b-256 checksum
How to use checksums
1e2b4ed4bb1320be6169d751a75828ec2c84b61557ebb9077541c2a984f5af51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

0.3.0

2 release files

This release

0.2.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page