Skip to content

Commit 747761f

Browse files
GeneAIclaude
authored andcommitted
refactor: Restructure install options for clarity
Create three clear install tiers: - [developer] - Lightweight for individual developers (recommended) - [enterprise] - Backend + auth for teams (production deployment) - [healthcare] - Enterprise + HIPAA/GDPR compliance (regulated industries) Changes: - New [developer] extra: LLM + agents + software plugins (no backend) - New [enterprise] extra: [developer] + FastAPI + bcrypt + JWT - Updated [healthcare]: Now includes [enterprise] + redis + compliance - Updated [all]: Now includes bcrypt and PyJWT (was missing) - README: Recommend [developer] instead of [full] for quick start - README: Added collapsible section explaining differences Impact: - Individual developers no longer forced to install enterprise features - Healthcare features now properly isolated to [healthcare] extra - Clear separation of concerns: dev tools vs production backend - Backwards compatible: [full] still exists as alias to [developer] 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
1 parent 8877d21 commit 747761f

File tree

2 files changed

+95
-5
lines changed

2 files changed

+95
-5
lines changed

README.md

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[![Python](https://img.shields.io/badge/python-3.10+-blue)](https://www.python.org)
1010

1111
```bash
12-
pip install empathy-framework[full]
12+
pip install empathy-framework[developer] # Lightweight for individual developers
1313
```
1414

1515
## What's New in v3.6.0
@@ -123,10 +123,37 @@ See ESLintParser, PylintParser, or MyPyParser for examples.
123123

124124
### 1. Install
125125

126+
**Individual Developers (Recommended):**
127+
126128
```bash
127-
pip install empathy-framework[full]
129+
pip install empathy-framework[developer]
128130
```
129131

132+
**Teams/Enterprises (Backend + Auth):**
133+
134+
```bash
135+
pip install empathy-framework[enterprise]
136+
```
137+
138+
**Healthcare Organizations (HIPAA/GDPR Compliance):**
139+
140+
```bash
141+
pip install empathy-framework[healthcare]
142+
```
143+
144+
<details>
145+
<summary><b>What's the difference?</b></summary>
146+
147+
- **`[developer]`** - Lightweight install for individual developers. Includes CLI tools, VSCode extension, LLM providers, agents. **No backend server needed.**
148+
149+
- **`[enterprise]`** - Everything in `[developer]` plus backend API server with authentication (bcrypt, JWT, rate limiting). For teams deploying to production.
150+
151+
- **`[healthcare]`** - Everything in `[enterprise]` plus HIPAA/GDPR compliance database, redis, and healthcare-specific plugins. Only needed for regulated industries.
152+
153+
**Most developers should use `[developer]`** - it's fast to install and has everything you need for software development.
154+
155+
</details>
156+
130157
### 2. Configure Provider
131158

132159
```bash

pyproject.toml

Lines changed: 66 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,28 @@ crewai = [
8989
"crewai>=0.1.0,<1.0.0",
9090
]
9191

92-
# Plugin-specific dependencies
92+
# Healthcare organizations - enterprise + compliance + healthcare plugins
93+
# NOTE: Only install this if you need HIPAA/GDPR compliance features
9394
healthcare = [
95+
# Everything in enterprise
96+
"anthropic>=0.25.0,<1.0.0",
97+
"openai>=1.12.0,<2.0.0",
98+
"google-generativeai>=0.3.0,<1.0.0",
99+
"memdocs>=1.0.0",
100+
"langchain>=1.0.0,<2.0.0",
101+
"langchain-core>=1.2.5,<2.0.0",
102+
"langchain-text-splitters>=0.3.9,<0.4.0",
103+
"langgraph>=1.0.0,<2.0.0",
104+
"langgraph-checkpoint>=3.0.0,<4.0.0",
105+
"marshmallow>=4.1.2,<5.0.0",
94106
"python-docx>=0.8.11,<1.0.0",
95107
"pyyaml>=6.0,<7.0",
108+
"fastapi>=0.109.1,<1.0.0",
109+
"uvicorn>=0.20.0,<1.0.0",
110+
"starlette>=0.40.0,<1.0.0",
111+
"bcrypt>=4.0.0,<5.0.0",
112+
"PyJWT[crypto]>=2.8.0",
113+
# Healthcare-specific dependencies
96114
"redis>=5.0.0,<6.0.0", # For session management and real-time alerts
97115
]
98116

@@ -146,7 +164,50 @@ dev = [
146164
"fastapi>=0.109.1,<1.0.0", # For wizard API tests
147165
]
148166

149-
# Complete installation with Claude Code + MemDocs transformative stack
167+
# Individual developers - lightweight, software development focused
168+
developer = [
169+
# LLM providers
170+
"anthropic>=0.25.0,<1.0.0",
171+
"openai>=1.12.0,<2.0.0",
172+
"google-generativeai>=0.3.0,<1.0.0",
173+
# MemDocs integration
174+
"memdocs>=1.0.0",
175+
# Agents (updated for security fixes)
176+
"langchain>=1.0.0,<2.0.0",
177+
"langchain-core>=1.2.5,<2.0.0", # 1.2.5+ has security fixes
178+
"langchain-text-splitters>=0.3.9,<0.4.0",
179+
"langgraph>=1.0.0,<2.0.0", # 1.0+ required for langgraph-checkpoint 3.0 (RCE fix)
180+
"langgraph-checkpoint>=3.0.0,<4.0.0", # Security: GHSA-wwqv-p2pp-99h5 (RCE fix)
181+
"marshmallow>=4.1.2,<5.0.0", # Security: GHSA-428g-f7cq-pgp5
182+
# Software development plugins
183+
"python-docx>=0.8.11,<1.0.0",
184+
"pyyaml>=6.0,<7.0",
185+
]
186+
187+
# Teams/enterprises - backend + authentication + compliance (excludes healthcare)
188+
enterprise = [
189+
# Everything in developer
190+
"anthropic>=0.25.0,<1.0.0",
191+
"openai>=1.12.0,<2.0.0",
192+
"google-generativeai>=0.3.0,<1.0.0",
193+
"memdocs>=1.0.0",
194+
"langchain>=1.0.0,<2.0.0",
195+
"langchain-core>=1.2.5,<2.0.0",
196+
"langchain-text-splitters>=0.3.9,<0.4.0",
197+
"langgraph>=1.0.0,<2.0.0",
198+
"langgraph-checkpoint>=3.0.0,<4.0.0",
199+
"marshmallow>=4.1.2,<5.0.0",
200+
"python-docx>=0.8.11,<1.0.0",
201+
"pyyaml>=6.0,<7.0",
202+
# Backend API server with authentication
203+
"fastapi>=0.109.1,<1.0.0",
204+
"uvicorn>=0.20.0,<1.0.0",
205+
"starlette>=0.40.0,<1.0.0",
206+
"bcrypt>=4.0.0,<5.0.0", # Secure password hashing
207+
"PyJWT[crypto]>=2.8.0", # JWT authentication
208+
]
209+
210+
# Alias for backwards compatibility (maps to developer)
150211
full = [
151212
# LLM providers
152213
"anthropic>=0.25.0,<1.0.0",
@@ -184,10 +245,12 @@ all = [
184245
# Plugins
185246
"python-docx>=0.8.11,<1.0.0",
186247
"pyyaml>=6.0,<7.0",
187-
# Backend
248+
# Backend with authentication
188249
"fastapi>=0.109.1,<1.0.0", # CVE fix
189250
"uvicorn>=0.20.0,<1.0.0",
190251
"starlette>=0.40.0,<1.0.0", # CVE fix
252+
"bcrypt>=4.0.0,<5.0.0", # Secure password hashing
253+
"PyJWT[crypto]>=2.8.0", # JWT authentication
191254
# LSP
192255
"pygls>=1.0.0,<2.0.0",
193256
"lsprotocol>=2023.0.0,<2024.0.0",

0 commit comments

Comments
 (0)