Skip to content

Mass query - #2

Merged
morrieinmaas merged 6 commits into
mainfrom
mass_query
Feb 4, 2026
Merged

Mass query#2
morrieinmaas merged 6 commits into
mainfrom
mass_query

Conversation

@Elly-B

@Elly-B Elly-B commented Feb 4, 2026

Copy link
Copy Markdown
Collaborator

Added new way to query the sparkql database in sparql.py, that gives ready links for the documents changed between given dates.
Added function in client.py, to make use of those links

elitsa.bahovska and others added 6 commits January 28, 2026 15:44
…he second by default (more logical that way)
- Add get_html() and fetch_documents() for auto-detecting identifier types
- Add detect_id_type() returning celex, cellar_url, cellar_id, oj_reference, or unknown
- Add HTTP retry with exponential backoff for transient errors (500/502/503/504)
- Add lookup_cellar_url() for SPARQL-based identifier resolution
- Add parse_celex_id() and is_valid_celex_id() for CELEX validation
- Add ClientConfig options: max_retries, retry_delay, retry_backoff
- Switch from Makefile to justfile
- Add comprehensive test coverage for new features
- Add scripts/test_live_fetch.py for integration testing

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@morrieinmaas
morrieinmaas merged commit 36047a0 into main Feb 4, 2026
6 checks passed
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.

2 participants