No description
  • Python 92.1%
  • Makefile 7.9%
Find a file
2026-01-23 11:17:50 +04:00
src/venue_extractor feat: initial commit 2026-01-23 11:15:01 +04:00
templates feat: initial commit 2026-01-23 11:15:01 +04:00
tests feat: initial commit 2026-01-23 11:15:01 +04:00
.gitignore feat: initial commit 2026-01-23 11:15:01 +04:00
Makefile feat: initial commit 2026-01-23 11:15:01 +04:00
pyproject.toml feat: initial commit 2026-01-23 11:15:01 +04:00
README.md docs: add readme 2026-01-23 11:17:50 +04:00
uv.lock feat: initial commit 2026-01-23 11:15:01 +04:00

Venue Extractor

Extracts a venue name from markdown text using an Ollama.

Prerequisites

  • Python 3.10+ (the project uses uv to manage the virtual environment)
  • Ollama running locally on http://localhost:11434
  • The model granite4:3b installed (ollama pull granite4:3b)

Install / sync dependencies

make sync   # installs runtime + dev (pytest) deps via uv

Run the tests

make test   # runs the integration suite against the templates/ files

CLI usage (single entrypoint with subcommands)

# Fetch Meetup iCal and write template files
make fetch URL="https://www.meetup.com/<group>/events/ical"   # optional OUT=templates

# Extract a venue from stdin (or pipe a file)
cat templates/1.txt | make extract

# Or directly with the console script:
uv run venue-extractor extract < templates/1.txt

Adding new templates

Add a new *.txt under the templates/ directory and update the paramlist in tests/test_extract_venue_integration.py if you want the suite to check it.