feat: CVF open access paper browser, search, and conference listing#1
Open
tamnd wants to merge 1 commit into
Open
feat: CVF open access paper browser, search, and conference listing#1tamnd wants to merge 1 commit into
tamnd wants to merge 1 commit into
Conversation
Adds a complete Go library (cvf/) and CLI (cli/) for the Computer Vision Foundation open access repository at openaccess.thecvf.com. Library: Config/DefaultConfig/NewClient, Papers/Search/Conferences methods, stdlib-only HTML parsing (no x/net/html), polite pacing + retry. CLI: papers, search, conferences commands with --conference/--year flags. Output: table/json/jsonl/csv/tsv via reflection-based render package. Tests: 7 httptest-based tests covering all three methods, limit, and 404.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cvf/package for https://openaccess.thecvf.com/papers(list by conference/year),search(keyword search in title/author),conferences(list all available conferences)pkg/renderwired for table/json/jsonl/csv/tsv/url outputTest plan
go test ./...passesgo build ./...succeeds with CGO_ENABLED=0cvf papers --conference CVPR --year 2024 --limit 5fetches paperscvf search "deformable" --conference CVPR --year 2024returns matchescvf conferenceslists available conferencescvf papers --conference ECCV --year 9999exits 3 (not found)