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 and which requests are still waiting for approval, 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. - Private by default: sick leave (and any other absence type you mark as sensitive) is kept out of every output, so it is not shared with an AI assistant or a script.
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-toolsbefore 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 pending # requests waiting for your approval + pending in the team
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, --show-sensitive) 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 (with approval status) + public holidays for a --month or a --from/--to range |
edays pending |
Absences awaiting approval: your approval queue + pending requests of you and the roster |
edays book KIND DATE |
Book an absence (precheck + confirm); --day-part am|pm for half days |
edays cancel RECORD_ID |
Cancel an absence record |
Sensitive data
Absences whose name contains sick, illness or ill health are treated as sensitive
(health data). read, team absences and pending leave them out, absence-types never says
whether one was used recently, and entitlement / book refuse sensitive types. Add
more types, or show them as Unavailable instead of hiding them, in the config:
[privacy]
sensitive_types = ["*medical*", "*maternity*", 999] # name patterns or type IDs
mode = "hide" # or "redact"
To see them yourself, use the eDays web app, or run edays --show-sensitive ... in a
terminal: it asks for confirmation and refuses to run without an interactive terminal,
so an AI tool call cannot switch the protection off. Details:
manual §1.3.
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.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| edays_cli-0.6.0.tar.gz | 742.8 kB | Without provenance | Details for edays_cli-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| edays_cli-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for edays_cli-0.6.0-py3-none-any.whl |
Total release size: 776.4 kB
Release files / edays_cli-0.6.0.tar.gz
| Download URL | edays_cli-0.6.0.tar.gz |
|---|---|
| Size | 742.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd3315a68659b3b150025bdd33b60410597ee471d8e2da0e747244969d37f6da
|
|
BLAKE2b-256 checksum How to use checksums |
5feb0a1a9307dda5a2167cfc5ad7398ba22801006afd52e595fcda517ea3b0e3
|
| 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.6.0-py3-none-any.whl
| Download URL | edays_cli-0.6.0-py3-none-any.whl |
|---|---|
| Size | 33.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f3bee48cacf373934cc4708a3058e9cc6f8abdc22cf9c3b110fd7ac1e6b681c4
|
|
BLAKE2b-256 checksum How to use checksums |
5ac64464766ae971c2ce8520933d6a44968fb309e5077854b25d603962af7956
|
| 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.6.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.