CoolFace
Datasetpublic

SafeVixAI/SafeVixAI-Dataset-Hub

SafeVixAI Dataset Hub 🛡️ The Intelligence Layer for the SafeVixAI platform — IIT Madras Road Safety Hackathon 2026 This repository hosts all datasets, pre-trained models, notebooks, and reproducible data acquisition scripts that power the SafeVixAI application. It is designed to be cloned directly into Google Colab or any research environment. Main Application Repo: SafeVixAI/SafeVixAI ⚡ Quickstart (Google Colab) # Clone the entire intelligence layer !git… See the full description on the dataset page: https://huggingface.co/datasets/SafeVixAI/SafeVixAI-Dataset-Hub.

sourceHugging Faceapache-2.0updated 4mo agoView on Hugging Face
1likes147downloads
fetch_blood_banks.py42 linesDownload Raw Back to data
1from __future__ import annotations2 3import logging4logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')5LOGGER = logging.getLogger(__name__)6 7 8from pathlib import Path9ROOT_DIR = Path(__file__).resolve().parents[2]10 11from _overpass_utils import build_arg_parser, build_india_query, fetch_elements, normalize_row, write_rows12 13 14DEFAULT_OUTPUT = ROOT_DIR / 'chatbot_service' / 'data' / 'hospitals' / 'blood_bank_directory.csv'15SELECTORS = [16    'node["amenity"="blood_bank"](area.searchArea);',17    'way["amenity"="blood_bank"](area.searchArea);',18    'relation["amenity"="blood_bank"](area.searchArea);',19    'node["healthcare"="blood_bank"](area.searchArea);',20    'way["healthcare"="blood_bank"](area.searchArea);',21    'relation["healthcare"="blood_bank"](area.searchArea);',22]23 24 25def main() -> None:26    parser = build_arg_parser('Fetch India blood bank data from Overpass.', DEFAULT_OUTPUT)27    args = parser.parse_args()28 29    query = build_india_query(SELECTORS, timeout=args.timeout)30    elements = fetch_elements(query, endpoint=args.endpoint, timeout=args.timeout)31    rows = [32        row33        for element in elements34        if (row := normalize_row(element, default_type='blood_bank', fallback_name='Unnamed blood bank')) is not None35    ]36    count = write_rows(args.output, rows)37    LOGGER.info(f'Saved {count} blood bank records to {args.output}')38 39 40if __name__ == '__main__':41    main()42 
SafeVixAI/SafeVixAI-Dataset-Hub · CoolFace