Python program to automate exporting my Markdown timesheets to Odoo
Find a file
Jef Roosens ac1e9f959a
feat(summary): add --weekly/-w and --short/-s flags
--weekly (-w): show the summary for the entire week containing the
given day, fetching from Joplin or parsing all tables in the file

--short (-s, repeatable):
  -s alone:       one line per project label + total
  -s --weekly:    per-day project totals with day subtotals
  -ss --weekly:   one line per day with right-aligned date + week total

Add filter_week_sections() to parser.py to split a document into
(date, rows) pairs for a given ISO week. Add print_summary_short(),
print_summary_weekly(), print_summary_weekly_short(), and
print_summary_weekly_totals() to output.py.
2026-06-02 09:31:07 +02:00
src/timesheets feat(summary): add --weekly/-w and --short/-s flags 2026-06-02 09:31:07 +02:00
tests feat(cli): add natural language date parsing via dateparser 2026-06-02 09:31:05 +02:00
.coverage feat(cli): add natural language date parsing via dateparser 2026-06-02 09:31:05 +02:00
.gitignore feat(summary): add --weekly/-w and --short/-s flags 2026-06-02 09:31:07 +02:00
.python-version feat: set up modularized version of project with testing 2026-06-02 09:31:01 +02:00
AGENTS.md refactor(cli): split into summary and csv subcommands 2026-06-02 09:31:06 +02:00
project_map.json feat: set up modularized version of project with testing 2026-06-02 09:31:01 +02:00
pyproject.toml feat(cli): add natural language date parsing via dateparser 2026-06-02 09:31:05 +02:00
README.md feat: set up modularized version of project with testing 2026-06-02 09:31:01 +02:00
timesheets.example.toml feat(config): add TOML config file support 2026-06-02 09:31:04 +02:00
uv.lock feat(cli): add natural language date parsing via dateparser 2026-06-02 09:31:05 +02:00