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.
  • 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-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, --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 + 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

Sensitive data

Absences whose name contains sick, illness or ill health are treated as sensitive (health data). read and team absences 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.5.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.5.0
File Size Uploaded Provenance Actions
edays_cli-0.5.0.tar.gz 690.8 kB Without provenance Details for edays_cli-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 720.9 kB

Release files / edays_cli-0.5.0.tar.gz

Download URL edays_cli-0.5.0.tar.gz
Size 690.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b4125b226571de180817e840575ec1c5b237f4f1e281bdee5d08ed4c0f9d5a42
BLAKE2b-256 checksum
How to use checksums
06015f85e6c3852eee69d4ca7483a027f955e290196c65d90e3d8844c2c9ed34
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.5.0-py3-none-any.whl

Download URL edays_cli-0.5.0-py3-none-any.whl
Size 30.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
473fa50239aa051f2311439756b64258f4c0888102ecd8bb4bbdf678a532c3a8
BLAKE2b-256 checksum
How to use checksums
887332017b4c6f35cbe10b5f191132b532e0bf2c54426abbfe1150f908395368
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.5.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