Python sandbox for healthcare automation patterns using Playwright scraping, OpenClaw-style parallel extraction, and optional LLM/CrewAI reporting workflows.
- Browser automation examples with Playwright (
healthcare_automation.py,advanced_playwright.py) - OpenClaw-style concurrency demos (
openclaw_final_working.py,openclaw_final.py,openclaw_healthcare.py) - LLM reporting flows (OpenAI and Ollama variants)
- Crew-based multi-agent healthcare analysis scripts
- Generated artifacts (Excel, JSON, HTML, TXT reports)
Windows PowerShell:
python -m venv .venv
.venv\Scripts\Activate.ps1pip install pandas openpyxl playwright tenacity requests
python -m playwright installpython openclaw_final_working.pyExpected outputs include:
openclaw_healthcare_report.xlsxopenclaw_results.jsonPORTFOLIO.txtINTERVIEW_OPENCLAW_SCRIPT.txt
python healthcare_automation.pyGenerates:
staff_report.xlsx
python llm_reporting.pyGenerates:
ai_generated_report.htmlai_summary.txt
Scripts such as healthcare_crew_ollama.py and ollama_reporting.py target a local Ollama server (http://localhost:11434) and compatible local models.
This repo includes multiple experimental tracks. Install what you need:
- Base:
pandas,openpyxl,playwright,tenacity,requests - OpenAI track:
openai - CrewAI track:
crewai,crewai_tools,langchain-community - OpenClaw/CMDOP experiments:
openclaw,cmdop(if you intend to run related scripts)
openclaw_final_working.py: main production-style OpenClaw demo pipelineopenclaw_final.py: similar pipeline with richer console outputhealthcare_automation.py: Playwright extraction against OrangeHRM demollm_reporting.py: OpenAI summarization/anomaly reporting on extracted datahealthcare_crew.py/healthcare_crew_ollama.py: crew-based analysis flowstest_playwrite.py,test_ollama.py: basic connectivity/test scripts
- Do not hardcode API keys in source files.
- Use environment variables for credentials (
OPENAI_API_KEY, tool-specific API keys). - Treat files like
auth.jsonand generated reports as sensitive. - Review
.gitignorebefore committing local credentials or artifacts.
- Run extraction (
healthcare_automation.pyoropenclaw_final_working.py) - Validate output Excel/JSON files
- Run LLM analysis (
llm_reporting.pyor Ollama/Crew scripts) - Share generated report artifacts