# Ordinance Search Index Builder Local source edition 1.0.0. Build an offline, searchable ordinance register from approved public text. Download a printable HTML reference and a searchable SQLite import script. ## Run locally Extract the complete ZIP. Use Python 3.12 from a terminal in the extracted directory. The tool uses the Python standard library. python run.py example.json results Use a new output folder for each run. Start with example.json and replace its synthetic values with your own data. Preserve field names, types and units. Files and reports are processed on your computer. ## Inputs Supply 1–1000 records with a unique number, title (up to 240 characters), body (up to 20000 characters), adopted (YYYY-MM-DD or null), status (active, amended or repealed) and approved (true or false). Only approved records appear in the exports. Open REGISTER.html in a browser, or import REGISTER.sql into an empty SQLite database with FTS5 to search the text. ## Results REGISTER.html is a self-contained numbered register with internal links and full text; open it locally and print or search. Import REGISTER.sql into an empty SQLite database with FTS5. Run the example in SEARCH.txt to search titles and bodies, including historical entries; filter by status as needed. Dates and legal status are supplied by the buyer. The results folder includes summary.json and the output files produced by this input. The sample produces: REGISTER.sql, REGISTER.html, SEARCH.txt. ## Español · Generador de índices de ordenanzas Crea un registro HTML imprimible y un índice de búsqueda SQLite a partir de las ordenanzas aprobadas. Extrae el ZIP completo y abre una terminal en esa carpeta con Python 3.12. El programa usa la biblioteca estándar de Python. Ejecuta: python run.py example.json resultados Copia example.json para preparar tus datos. Conserva los nombres y tipos de los campos, usa una carpeta de salida nueva y consulta summary.json junto con los archivos generados. La descripción detallada de los campos está en inglés. The included LICENSE covers use and modification for your own personal and commercial projects. This edition includes its source and can run locally after setup.