Borax

Latest version: v4.1.3

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

Scan your dependencies

Page 2 of 7

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`

3.5.2

- `borax.calendars.lunardate`
- 新增 `TermUtils.nth_term_day` 获取节气日期函数
- `borax.calendars.festivals2`
- Festival新增str/repr方法
- `FestivalLibrary`新增日历月相关函数 iter_month_daytuples/monthdaycalendar
- `borax.htmls`
- `html_tag` 函数支持style/css参数解析

3.5.1

- `borax.calendars.lunardate`
- `LunarDate.strftime` 新增 `%W` 中文星期格式化
- 修改 `%F` 在“闰月/冬月/腊月”情况下表述为“闰X月/十一月/十二月”
- `borax.calendars.festivals2`
- 新增 `Festival.gets` 获取属性方法
- 新增 `Festival.description` 属性,表示规范化中文描述
- 新增 `FestivalLibrary.extend_unique` ,支持以去重方式添加新节日
- `borax.calendars.utils`
- 新增 `ThreeNineUtils` 三伏九九天解析工具
- `borax.numbers`
- measure_number/order_number新增upper参数
- 开发SOP
- 移除whl安装包文件的py2标识

3.5.0

> 新增 Python3.10构建支持

- `borax.calendars.lunardate`
- 移除 `LCalendars.is_leap_month` 函数
- `borax.calendars.festivals2`
- 全新的节日库模块 `festivals2`
- `festivals` 标记为废弃,将在v3.6移除
- `borax.serialize`
- 移除 `bjson` 模块
- 移除 `cjson.to_serializable` 函数
- `borax.datasets.join_`模块
- 移除 `old_join` 和 `old_join_one` 函数
- 移除 `borax.finance` 模块
- 开发SOP
- 更新依赖库,参见 *requirements_dev.txt*

Page 2 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.