Metadata-Version: 2.4
Name: patient-diagnosis
Version: 1.0.0
Summary: A patient management and AI-powered diagnosis tool with a Streamlit web UI
Author: Shivam
License: MIT
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: openai>=1.0
Requires-Dist: streamlit>=1.20
Dynamic: license-file

# 🏥 Patient Diagnosis System

A patient management and AI-powered diagnosis tool with a web UI.

## Install

```bash
pip install patient-diagnosis
```

Or install from source:

```bash
git clone https://github.com/your-username/patient-diagnosis.git
cd patient-diagnosis
pip install .
```

## Setup

Set your OpenAI API key:

```bash
export OPENAI_API_KEY="your-api-key-here"
```

## Usage

Run the app:

```bash
patient-diagnosis
```

Or:

```bash
python -m patient_diagnosis
```

The web UI will open at http://localhost:8501.

## Features

- **Add patients** — name, age, gender via the sidebar
- **View & delete patients** — see the full patient list
- **AI diagnosis** — select a patient, describe symptoms, get a 5-step diagnosis and treatment plan powered by OpenAI

## License

MIT
