Borax

Latest version: v4.1.0

Safety actively analyzes 621239 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

4.1.0

- 功能更新
- 新增 Borax日历应用
- 包 `borax.apps` 变更为 `borax.capp`
- 新增方法 `FestivalLibrary.extend_term_festivals`
- 新增方法 `FestivalLibrary.load`
- 新增 `borax.ui.widgets.MessageLabel` 类
- `Festival` 类新增 `code` 属性
- `WrappedDate.solar` 和 `WrappedDate.lunar` 属性变更为只读属性,不可写入
- 项目构建
- 不再支持python3.7和python3.8
- 本地开发环境更新至 python3.11.7
- 使用 *pyproject.toml* 项目构建配置文件,构建命令 `python -m build -w`
- 支持python3.12
- 项目文档
- mkdocs-material 更新至 9.5.3
- 不再支持 docsify 构建(index.html 冲突)

4.0.0

- 新增基于 tkinter 的 节日界面库
- 移除源代码文件编码声明行
- 移除 `borax.calendars.festival` 模块
- 修正 `LunarDate` 显示星期错误的问题 ([49](https://github.com/kinegratii/borax/issues/49))
- `FestivalLibrary.list_days_in_countdown` 新增 `countdown_ordered` 参数,表示是否按倒计天数排序
- `FestivalLibrary.load_builtin` 支持创建空库
- `FestivalLibrary` 新增删除元素函数 `delete_by_indexes`

3.5.6

- 新增Docs Test
- `borax.calendars.lunardate`
- 新增文本解析函数 `LunarDate.strptime` ([44](https://github.com/kinegratii/borax/issues/44))
- 新增格式化修饰符 `%c`
- 新增 `TextUtils.gz2offset` / `TextUtils.offset2gz` 干支转化方法
- `borax.calendars.festivals2`
- 星期型节日支持倒数序号 和 每月频率([43](https://github.com/kinegratii/borax/issues/43))
- "除夕"节日修改为“农历年最后一天”而不是“十二月最后一天”
- 修正三伏九九天计算错误的BUG([45](https://github.com/kinegratii/borax/issues/45))
- `TermFestival` 支持干支日推算的节日 ([46](https://github.com/kinegratii/borax/issues/46))
- `TermFestival` 新增 term 参数
- 节气名称支持拼音首字母形式
- `borax.structures.percentage`
- 优化底层百分数格式化显示
- `borax.devtools`
- 新增 `RuntimeMeasurer.print_` 方法

3.5.5

- `borax.calendars.festivals2`
- `FestivalLibrary.iter_month_daytuples` 新增 `return_pos` 参数,可返回日期位置
- `Festival` 新增 `list_days_in_future` / `list_days_in_past` 函数
- `borax.calendars.utils`
- 修正 `ThreeNineUtils` 内部计算错误的BUG
- `borax.htmls`
- `html_tag` 函数新增 width / height 参数
- 修正 `html_tag` 函数style参数解析空值的BUG

3.5.4

- `borax.htmls`
- `html_tag` 函数css参数支持str类型(函数逻辑已支持,本次仅添加typing hints)
- `borax.datasets.fetch` 模块
- 修正 `fetch` 解析错误的bug ([39](https://github.com/kinegratii/borax/issues/39))

3.5.3

- `borax.serialize.cjson`
- 新增用于`json.dump`函数cls参数的 `CJSONEncoder` 类
- `borax.datasets.fetch` 模块
- 修正 `fetch` 解析列表型数据错误的bug ([39](https://github.com/kinegratii/borax/issues/39))
- `borax.system` 模块
- 新增 `load_class` 的别名函数 `load_object`

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.