Metadata-Version: 2.5
Name: funread
Version: 1.2.23
Summary: 一个用于管理和处理阅读源（Legado 阅读 APP 的书源和 RSS 源）的 Python 工具库
Project-URL: Organization, https://github.com/farfarfun
Project-URL: Repository, https://github.com/farfarfun/funread
Project-URL: Releases, https://github.com/farfarfun/funread/releases
Author-email: 牛哥 <niuliangtao@qq.com>, farfarfun <farfarfun@qq.com>
Maintainer-email: 牛哥 <niuliangtao@qq.com>, farfarfun <farfarfun@qq.com>
License-Expression: MIT
License-File: LICENSE
Keywords: book-source,ebook,legado,reading,rss
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Processing :: Markup
Requires-Python: >=3.11
Requires-Dist: dominate>=2.9.1
Requires-Dist: farlog>=1.1.7
Requires-Dist: funfake>=1.1.5
Requires-Dist: funfile>=1.0.39
Requires-Dist: funsecret>=1.4.88
Requires-Dist: funworker>=0.1.3
Requires-Dist: psycopg2-binary>=2.9.10
Requires-Dist: pymysql>=1.1.0
Requires-Dist: requests>=2.28.0
Requires-Dist: sqlalchemy>=2.0.0
Requires-Dist: tqdm>=4.67.0
Provides-Extra: js
Requires-Dist: cryptography>=42.0.0; extra == 'js'
Requires-Dist: quickjs>=1.19.4; extra == 'js'
Provides-Extra: parse
Requires-Dist: charset-normalizer>=3.0.0; extra == 'parse'
Requires-Dist: cssselect>=1.2.0; extra == 'parse'
Requires-Dist: jsonpath-ng>=1.6.1; extra == 'parse'
Requires-Dist: lxml>=5.1.0; extra == 'parse'
Provides-Extra: publish
Requires-Dist: fundrive>=2.0.81; (python_version >= '3.12') and extra == 'publish'
Provides-Extra: reader
Requires-Dist: charset-normalizer>=3.0.0; extra == 'reader'
Requires-Dist: cssselect>=1.2.0; extra == 'reader'
Requires-Dist: jsonpath-ng>=1.6.1; extra == 'reader'
Requires-Dist: lxml>=5.1.0; extra == 'reader'
Description-Content-Type: text/markdown

# funread

[FunRead](https://github.com/farfarfun-read) 阅读生态的 Python 核心库，负责 Legado 兼容书源与 RSS 订阅源的规则解析、采集调度、校验评分与阅读服务层能力。

## 生态定位

- **核心库（本仓库）**：规则引擎、书源模型、采集管理与阅读业务逻辑
- **后端服务**：[funread-api](https://github.com/farfarfun-read/funread-api)（基于本库暴露自托管 REST API）
- **B 端管理台**：[funread-web](https://github.com/farfarfun-read/funread-web)（书源采集、候选源池与人员管理）
- **C 端阅读端**：[funread-client](https://github.com/farfarfun-read/funread-client)（Flutter 全平台阅读器，含 Web 浏览器 / 移动 / 桌面）
- **单机离线 Android**：[funread-app](https://github.com/farfarfun-read/funread-app)（纯本地 Android 离线阅读器，无需服务端）
- **书源快照分发**：[funread-cache](https://github.com/farfarfun-read/funread-cache)（公开书源与 RSS 订阅源快照）

参考资料：[源仓库](http://www.yckceo1.com/) · [Legado 规则说明](https://alanskycn.gitee.io/teachme/)

## 安装

```bash
uv add funread
```

## 最小示例

```python
from funread.legado.manage.source.storage import compute_url_md5

print(compute_url_md5("https://example.com/source.json"))
```

---

## 关于 farfarfun

[farfarfun](https://github.com/farfarfun) 是一个专注于实用工具库的开源组织，
涵盖云存储、数据处理、AI、多媒体与开发工具链等方向。

- 🏠 组织主页：<https://github.com/farfarfun>
- 📚 阅读生态：<https://github.com/farfarfun-read>
- 📦 PyPI：<https://pypi.org/user/niuliangtao/>
- 📧 联系：farfarfun@qq.com

本项目基于 [MIT](LICENSE) 协议开源。
