sshared
后端共享库。
功能介绍
api:基于 Litestar 框架的标准化 Web API 实现config:TOML 配置文件解析模块,包含常用的配置块logging:支持彩色输出、异常记录、保存到 PostgreSQL 数据库的日志记录模块postgres:PostgreSQL 表、视图、物化视图封装,连接池模块terminal:支持彩色输出、异常类格式化输出的终端增强模块retry:支持同步和异步函数、内置指数退避算法、支持重试 Hookstrict_struct:基于 msgspec 的严格数据校验模块time:基于标准库date/datetime的日期处理模块word_split:基于阿里云 NLP 分词接口的分词模块
Release files for sshared 0.21.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sshared-0.21.0.tar.gz | 46.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sshared-0.21.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 68.7 kB