Borax

Latest version: v4.1.3

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

Scan your dependencies

Page 3 of 7

3.4.4

- `borax.calendars.lunarDate`
- 修正 `LCalendars.create_solar_date` 在2101年份无法创建的BUG([28](https://github.com/kinegratii/borax/issues/28))

3.4.3

- `borax.calendars.lunarDate`
- `LunarDate.leap` 使用 `int` 类型 ([26](https://github.com/kinegratii/borax/issues/26))

3.4.2

- `borax.datasets.join`
- `join` 新增 defaults 参数

3.4.1

- **`borax.calendars.lunarDate`**
- 修正农历日中文名称 `LunarDate.cn_day` 二十、三十日表示错误的BUG ([22](https://github.com/kinegratii/borax/issues/22))
- 修正日历日名称 `LunarDate.cn_day_calendar` 表示错误的BUG([20](https://github.com/kinegratii/borax/issues/20))
- **`borax.htmls`**
- 移除html自闭合标签不必要的斜杠字符

3.4.0

> 新增 Python3.9构建支持

- **`borax.choices`**
- `ConstChoices` 新增 labels 、values 等属性
- **`borax.calendars.lunarDate`**
- 新增 `%N` 月份描述符,将“冬”、“腊”显示为“十一”、“十二”
- 新增 `LCalendars.get_leap_years` 函数
- 新增 `InvalidLunarDateError` 异常类
- 修正农历平月日期 `%t` 格式化显示的BUG
- `borax.datasets.join`
- 新增 `deep_join` 、`deep_join_one` 使用赋值传参方式
- **`borax.numbers`**
- `ChineseNumbers` 类新增 计量/编号 两种数字形式
- **`borax.htmls`**
- 修正函数 `html_tag` 处理的BUG
- **`borax.serialize`**
- 整合 `bjson` 和 `cjson` ,`cjson` 支持 `__json__` 特性
- 模块 `bjson` 标记为 `DeprecationWarning` 状态
- **开发SOP**
- 支持 [Github Action](https://github.com/kinegratii/borax/actions)
- 更新依赖库,参见 *requirements_dev.txt*
- 新增代码覆盖率 [Codecov](https://codecov.io/)

3.3.1

- `borax.structures.dictionary` 模块
- 类 `AttrDict` 新增别名 `AD`
- 开发SOP
- 修正因stacklevel 设置错误导致 `DeprecatedWarning` 无法正确提示的BUG
- 参数化测试改用 `unittest.TestCase.subTest`
- 支持 unittest / nose / nose2 / pytest 测试框架
- 重新组织Borax文档

Page 3 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.