Remove unused biblepy dependency

- biblepy was listed in pyproject.toml but never imported or used
- Project uses custom Bible class in kjv.py instead
- Custom implementation loads from local verses-1769.json file
- Provides better control over caching, parsing, and search
- Updated CLAUDE.md and README.md to reflect custom implementation
- All 268 tests passing without biblepy

Benefits of custom implementation:
- Control over exact KJV edition (1769 Cambridge)
- Custom verse parsing and search logic
- LRU caching for performance optimization
- Pre-processed verse text on load
- No external API dependencies

🤖 Generated with Claude Code
https://claude.com/claude-code

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-27 22:26:19 -05:00
parent c5e71d652e
commit 58b368fdd4
4 changed files with 2 additions and 11 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ KJV Study is a modern web application for studying the King James Bible with AI-
- **Backend**: FastAPI (Python 3.13)
- **Package Manager**: uv
- **Database**: BiblePy for KJV text
- **Bible Data**: Custom implementation with local JSON (31,102 verses from 1769 Cambridge KJV)
- **Templates**: Jinja2
- **Styling**: Tufte CSS (Edward Tufte-inspired typography)
- **Deployment**: Fly.io
+1 -1
View File
@@ -82,7 +82,7 @@ Comprehensive 8-section guides with extensive Scripture references:
**Backend:**
- **FastAPI** - Modern, high-performance Python web framework
- **Python 3.13** - Latest Python with performance improvements
- **biblepy** - KJV Bible text library
- **Custom Bible Class** - Optimized KJV text access with 31,102 verses from 1769 Cambridge edition
- **Jinja2** - Server-side templating with custom filters
**Frontend:**
-1
View File
@@ -5,7 +5,6 @@ description = "Study the King James Bible with AI-powered commentary and insight
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"biblepy>=0.1.3",
"fastapi[standard]>=0.115.12",
"ged4py>=0.5.2",
"mistune>=3.0.2",
Generated
-8
View File
@@ -33,12 +33,6 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/a1/ee/48ca1a7c89ffec8b6a0c5d02b89c305671d5ffd8d3c94acf8b8c408575bb/anyio-4.9.0-py3-none-any.whl", hash = "sha256:9f76d541cad6e36af7beb62e978876f3b41e3e04f2c1fbf0884604c0a9c4d93c", size = 100916, upload-time = "2025-03-17T00:02:52.713Z" },
]
[[package]]
name = "biblepy"
version = "0.1.3"
source = { registry = "https://pypi.org/simple" }
sdist = { url = "https://files.pythonhosted.org/packages/4a/bd/7fdbe5dd70835f00e3f46c9c9298783dd8c95ef4d49e1691da067d4c876c/biblepy-0.1.3.tar.gz", hash = "sha256:e2f4b3a79bf1e59c4583c8aa438649bfe5e48621d2c80ede94f33ff09b1e4a5f", size = 1530687, upload-time = "2023-09-10T14:03:28.184Z" }
[[package]]
name = "brotli"
version = "1.2.0"
@@ -480,7 +474,6 @@ name = "kjvstudy-org"
version = "0.1.0"
source = { editable = "." }
dependencies = [
{ name = "biblepy" },
{ name = "fastapi", extra = ["standard"] },
{ name = "ged4py" },
{ name = "mistune" },
@@ -504,7 +497,6 @@ dev = [
[package.metadata]
requires-dist = [
{ name = "biblepy", specifier = ">=0.1.3" },
{ name = "fastapi", extras = ["standard"], specifier = ">=0.115.12" },
{ name = "ged4py", specifier = ">=0.5.2" },
{ name = "mistune", specifier = ">=3.0.2" },