https://github.com/denpalrius/delight-billing-tool
Streamlit app for daily healthcare staffing analysis - processes per-person Excel billing sheets and generates a consolidated daily summary with provider hours and 24hr cap tracking.
https://github.com/denpalrius/delight-billing-tool
billing excel healthcare python streamlit
Last synced: 2 months ago
JSON representation
Streamlit app for daily healthcare staffing analysis - processes per-person Excel billing sheets and generates a consolidated daily summary with provider hours and 24hr cap tracking.
- Host: GitHub
- URL: https://github.com/denpalrius/delight-billing-tool
- Owner: denpalrius
- Created: 2025-05-23T01:12:16.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2026-04-09T17:12:22.000Z (3 months ago)
- Last Synced: 2026-04-09T18:09:35.566Z (3 months ago)
- Topics: billing, excel, healthcare, python, streamlit
- Language: TypeScript
- Homepage:
- Size: 243 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Delight Billing Tool
Cloudflare Workers rewrite of the Delight billing workflow.
## Architecture
- `public/`: static frontend assets
- `src/`: Worker API and Excel processing logic
- `legacy/`: preserved Streamlit implementation
The production flow is:
1. Browser uploads one or more Excel files to `POST /api/process`
2. Worker parses the files and generates the summary workbook server-side
3. Browser downloads the generated `.xlsx`
## Local Development
```bash
npm install
npm run dev
```
Then open the local Wrangler URL in a browser.
## Testing
```bash
npm test
npm run check
```
For a manual smoke test, start `npm run dev` and upload [`tests/fixtures/valid-input.xlsx`](/Users/mzitoh/Desktop/source/delight/delight-billing-tool/tests/fixtures/valid-input.xlsx).
For a browser-level smoke test with Playwright:
```bash
npm run dev
npm run test:smoke -- data/july_raw.xlsx
```
The Worker now supports both of these input shapes:
- legacy per-person sheets from the original Streamlit app
- existing `DailyMatrix` workbooks like [`data/july_raw.xlsx`](/Users/mzitoh/Desktop/source/delight/delight-billing-tool/data/july_raw.xlsx)
## Legacy App
The original Python/Streamlit implementation is preserved in [`legacy/README.md`](/Users/mzitoh/Desktop/source/delight/delight-billing-tool/legacy/README.md).