Repository navigation
Highlights
Importing and previewing events (requests from @arky in #20, #21, #19)
events post --dry-run. Validates every event against its type's schema exactly as a real post does, prints onewould postline per event, and sends nothing. With--no-validateit never connects, so a file can be previewed offline. (#42)events post --file history.csv. A CSV is read directly, one event per row, with no YAML conversion step.event_type,time,titleandlat/lon(or alocationcolumn holdinglat,lon) are recognised case-insensitively; every other column is a detail field. Cell values are coerced conservatively: integers, decimals andtrue/falsebecome numbers and booleans, everything else stays text, so dates, times, ids with leading zeros and codes likeNOsurvive.--event-typeis the default for rows without one;--map KEY=COLUMNpoints a field (or a reserved slot) at a differently named column. The delimiter is detected from the header (comma, semicolon, tab, pipe); errors name the file's line number; a row with surplus cells, a duplicate header, a column mapped twice, or both alocationandlat/lonis refused before anything is sent. Rows get the same validation and--dry-runas a YAML batch. (#46)events pull CATEGORY --event-type VALUE. A spec for just the requested types (repeatable) that keeps the category block and only the choice sets those types reference, so it applies directly; an unknown value lists the category's types. (#43)
Project
- Every pull request and push to main now runs the suite and the linters on Python 3.11, 3.12 and 3.13; the release workflow builds on the 3.11 floor instead of whatever Python the runner had. (#45)
CONTRIBUTING.mdrecords the process adopted after the 0.5.0 review rounds and what CI runs. (#37, #45)- The PyPI summary, keywords and links describe the whole tool. (#41, shipped in 0.5.1)
What's Changed
- events post --dry-run: validate and list what would be posted (#42)
- events post --file history.csv: import events from CSV rows (#46, replaces #44)
- events pull --event-type: a spec for one type that still applies (#43)
- CI: test on every supported Python; release builds on the 3.11 floor (#45)
- Bump version to 0.6.0
Full Changelog: v0.5.1...v0.6.0