Python program to automate exporting my Markdown timesheets to Odoo
Find a file
Jef Roosens d6689a6c83
feat(parser): support multiple tables in a single markdown document
- Add extract_table_blocks() to split a document into contiguous table
  blocks, ignoring prose, headings, and blank lines between them
- Add parse_document() as the new top-level entry point that runs
  extract_table_blocks + detect_has_duration_column + parse_table per
  block and returns a combined flat list of rows
- Guard against empty End cells (e.g. in-progress rows) by validating
  the end field before calculating duration
- Update cli.py to use parse_document() instead of the manual
  detect + parse combo
- Add tests for extract_table_blocks and parse_document, including two
  smoke tests against the real 2026-W21 weekly timesheet file
2026-06-02 09:31:02 +02:00
src/timesheets feat(parser): support multiple tables in a single markdown document 2026-06-02 09:31:02 +02:00
tests feat(parser): support multiple tables in a single markdown document 2026-06-02 09:31:02 +02:00
.coverage feat: set up modularized version of project with testing 2026-06-02 09:31:01 +02:00
.gitignore feat: set up modularized version of project with testing 2026-06-02 09:31:01 +02:00
.python-version feat: set up modularized version of project with testing 2026-06-02 09:31:01 +02:00
AGENTS.md feat: set up modularized version of project with testing 2026-06-02 09:31:01 +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: set up modularized version of project with testing 2026-06-02 09:31:01 +02:00
README.md feat: set up modularized version of project with testing 2026-06-02 09:31:01 +02:00
uv.lock feat: set up modularized version of project with testing 2026-06-02 09:31:01 +02:00