Skip to main content

edays-cli

Command-line client for the eDays leave/absence system. Read your own or your team's calendar, see who is off this week, check remaining holiday, 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+.

Windows + Claude desktop app: set the user environment variable UV_TOOL_DIR=%USERPROFILE%\.uv-tools before installing, or the install made from inside Claude won't work in a normal terminal. See the manual.

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 --usable   # 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 --pretty team absences # who is off this week (person x day grid)
edays --pretty entitlement --team         # remaining holiday for everyone
edays book holiday 2026-12-22 --to 2026-12-31 --dry-run
edays book home-office 2026-11-05 --day-part pm   # half day (afternoon)

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 + remaining holiday; session check
edays entitlement Remaining / yearly entitlement for you, --for NAME or --team
edays team Configured team roster
edays team sync / find / add Fill the roster from eDays (no manual ID lookup)
edays team absences Who is off: you + roster for a --week, --date or --from/--to range
edays absence-types List bookable absence types (--usable checks them); --add maps kinds for book
edays read Absences + public holidays for a --month or a --from/--to range
edays book KIND DATE Book an absence (precheck + confirm); --day-part am|pm for half days
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.4.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.4.0
File Size Uploaded Provenance Actions
edays_cli-0.4.0.tar.gz 583.5 kB Without provenance Details for edays_cli-0.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 609.3 kB

Release files / edays_cli-0.4.0.tar.gz

Download URL edays_cli-0.4.0.tar.gz
Size 583.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e9e377dbf0517e0d4d7c23348d68b6d79dd2161047a23d52a55dd2ae30ac9b96
BLAKE2b-256 checksum
How to use checksums
b8dd9ff56141ae49f1fcf2e58a2b46887b038c0222ba48357f496a47a7158ef4
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.4.0-py3-none-any.whl

Download URL edays_cli-0.4.0-py3-none-any.whl
Size 25.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
44cf6c9893e8f0e48a357c275485186a0bc7d78eea00cc3ef4501bd902d6f658
BLAKE2b-256 checksum
How to use checksums
351103d498dc6ba312a431e7fc1a8e8115a46e9a940f88104f3912ee9ca8bea9
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}

Security for edays-cli 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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