kimai-everyday
A small TUI that turns natural-language recurrence sentences into Kimai timesheet entries.
Type "jeden Tag von 08:00 bis 12:00 und von 13:00 bis 17:00 im Mai außer vom 15. bis 23. Mai" — get a preview of every working day with both time blocks — confirm — done.
See CONTEXT.md for the domain glossary and docs/adr/ for the recorded architectural decisions.
Install
pipx install .
Requires Python 3.11+.
First run
kimai-everyday
On first run, the tool prompts for:
- Kimai base URL (e.g.
https://kimai.example.com) - Kimai API token
- Anthropic API key (or leave blank to use
$ANTHROPIC_API_KEY) - Timezone (defaults to your system timezone)
The token is validated against GET /api/users/me before the config is
written. The file is saved to ~/.config/kimai-everyday/config.toml with
mode 0600.
Day-to-day
kimai-everyday # full wizard
kimai-everyday --dry-run # show the preview, skip the POST step
kimai-everyday config # update saved settings (URL, tokens, timezone)
The wizard order: Project → Activity → Description → Pattern sentence → Preview table → confirmation → POST loop with progress bar → summary.
Patterns
The sentence is parsed by Claude Haiku. It accepts free-form German or English, including:
- "jeden Tag im Juni von 09:00 bis 17:00 Uhr"
- "Montag bis Donnerstag in der ersten Maiwoche, 08–12 und 13–17"
- "die nächsten zwei Wochen, 9–18 Uhr, außer Pfingstmontag"
- "jeden Werktag im Mai, auch am Samstag den 17."
Weekends and dates returned by Kimai's /api/public-holidays are skipped by
default. The user can opt them in with phrases like "auch am Samstag den 17.
Mai" or "auch am Tag der Arbeit".
Tests
pip install -e ".[dev]"
pytest
The pure date-filter logic in expansion.py is the only thing worth
unit-testing in depth; the rest is shell around external services.
Metadata
Release files for kimai-everyday 0.1.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 |
|---|---|---|---|---|
| kimai_everyday-0.1.0.tar.gz | 17.2 kB | Without provenance | Details for kimai_everyday-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kimai_everyday-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for kimai_everyday-0.1.0-py3-none-any.whl |
Total release size: 32.8 kB
Release files / kimai_everyday-0.1.0.tar.gz
| Download URL | kimai_everyday-0.1.0.tar.gz |
|---|---|
| Size | 17.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c551c6512019a1c776522e904e4ddd1585f132e29f2516bc7940f8e21b1a4422
|
|
BLAKE2b-256 checksum How to use checksums |
db10188689ad17ee679fc873ac3692e67d92229f0cbe146224ad3b3376fea9b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Release files / kimai_everyday-0.1.0-py3-none-any.whl
| Download URL | kimai_everyday-0.1.0-py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1ff04988bb5588c30b1dcb67feb1ce9c1a2d7076e5b666f09101f864d6c432ad
|
|
BLAKE2b-256 checksum How to use checksums |
7041efdeb9d61ba70d3088797e40a4c67a2dc5998b48fb3a6a7b2204366ed68d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Security for kimai-everyday 0.1.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.