Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available: 6.14.0
metadata
title: BCQL Validator
emoji: 🔎
colorFrom: indigo
colorTo: blue
sdk: gradio
sdk_version: 6.13.0
app_file: app.py
pinned: false
license: apache-2.0
short_description: Validate BlackLab Corpus Query Language queries.
BCQL Validator (Gradio demo)
A small Gradio app that demonstrates bcql_py:
parse a BCQL query, validate it against a built-in or custom CorpusSpec, and
inspect the resulting AST.
The hosted demo lives at huggingface.co/spaces/BramVanroy/bcql_py_validation.
Run locally
From the repository root:
uv sync --group app
uv run python app/app.py
Then open the URL printed in the terminal (default http://localhost:7860).
Files
app.py- Gradio Blocks app and validation logic.requirements.txt- Pinned dependencies used by Hugging Face Spaces. Local development should useuv sync --group appinstead so that the in-repo source ofbcql_pyis used.