Skip to content

feat: add the jobspy command - #422

Merged
kirkwat merged 1 commit into
mainfrom
feat/cli
Oct 19, 2026
Merged

kirkwat merged 1 commit into
mainfrom
feat/cli

Conversation

@kirkwat

@kirkwat kirkwat commented Oct 19, 2026

Copy link
Copy Markdown
Member
  • jobspy [QUERY] [options] runs scrape_jobs from the shell; the options mirror its parameters, and jobspy -h lists them, every output field and the exit codes
  • One JSON object per job on stdout (JSON Lines), 5 jobs from each of the four general boards and the main fields by default; --fields picks fields, --fields all prints every one; -o FILE also saves the full records, as JSON Lines, a JSON array (.json) or CSV (.csv) by file name
  • Errors and warnings go to stderr; exit 0 when at least one board answered (also with no jobs), 1 when every board failed, 2 for a usage error
  • Installed as a console script ([project.scripts]) and runnable as python -m jobspy; no new dependency
  • __all__ lists scrape_jobs as the public import; from jobspy import * no longer pulls in the scraper classes

@kirkwat
kirkwat merged commit 4092fbe into main Oct 19, 2026
6 checks passed
@kirkwat
kirkwat deleted the feat/cli branch October 19, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant