{"id":28294,"library":"sprint-datapusher","title":"Sprint Datapusher","description":"A Python tool to read CSV files, transform them to JSON, and push the data to a sprint_excel_webserver. Current version 0.1.2, released sporadically. Python >=3.7, <4.0.","status":"active","version":"0.1.2","language":"python","source_language":"en","source_url":"https://github.com/heming-langrenn/sprint-excel","tags":["csv","json","sprint","datapusher","excel"],"install":[{"cmd":"pip install sprint-datapusher","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Common incorrect import path from misreading module structure.","wrong":"from sprint_datapusher.datapusher import Datapusher","symbol":"Datapusher","correct":"from sprint_datapusher import Datapusher"}],"quickstart":{"code":"import os\nfrom sprint_datapusher import Datapusher\n\ndp = Datapusher(\n    csv_path=\"data.csv\",\n    endpoint=os.environ.get('SPRINT_ENDPOINT', 'http://localhost:5000'),\n    api_key=os.environ.get('SPRINT_API_KEY', '')\n)\ndp.transform_and_push()\nprint(\"Data pushed successfully.\")","lang":"python","description":"Basic usage: read CSV, transform to JSON, push to sprint_excel_webserver."},"warnings":[{"fix":"Ensure CSV headers match the expected schema exactly.","message":"The library expects the CSV to have headers exactly matching the sprint_excel_webserver schema. Mismatched columns cause silent failures or 400 errors.","severity":"gotcha","affected_versions":">=0.1.0"},{"fix":"Wrap push calls in try/except and inspect response.","message":"No built-in validation or error reporting for failed pushes. Check HTTP response manually if needed.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Install with 'pip install sprint-datapusher' and import as 'from sprint_datapusher import Datapusher'.","cause":"Incorrect package name in import or pip install.","error":"ModuleNotFoundError: No module named 'sprint_datapusher'"},{"fix":"Set the environment variable SPRINT_ENDPOINT or pass the endpoint directly.","cause":"Required environment variables not set.","error":"KeyError: 'SPRINT_ENDPOINT'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}