Systempath

Latest version: v1.2.2

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

Scan your dependencies

Page 2 of 5

1.1.3

1. Fix errors in the packaging process and adjust the import method of third-party modules to support packaging.
---
1. 修复打包过程中的错误,并调整第三方模块的导入方式以支持打包。

1.1.2

1. Updated project summary, readme file, and optimized automation workflow to enhance project readability and maintenance efficiency.
2. Fixed some minor bugs and optimized code structure to improve project stability and maintainability.
3. Updated dependent libraries to the latest version to ensure project compatibility and security.
4. Refactored some code to improve execution efficiency and readability.
---
1. 更新项目简述,自述文件,以及优化自动化工作流,提升项目可读性和维护效率。
2. 修复了一些小错误,并优化了代码结构,以提高项目的稳定性和可维护性。
3. 更新了依赖库到最新版本,确保项目兼容性和安全性。
4. 重构了部分代码,以提高执行效率和可读性。

What's Changed
* 1.1.2 by 2018-11-27 in https://github.com/gqylpy/systempath/pull/15


**Full Changelog**: https://github.com/gqylpy/systempath/compare/1.1.1...1.1.2

1.1.1

1. Support direct traversal of file objects and content existence judgment.
2. Fix the issue of strict mode failure when splicing paths.
3. Adjusted code formatting to enhance readability.
4. Added comments in the `SystemPath` class to improve code maintainability.
5. Replaced the project's unique dependency library to ensure dependency updates and stability.
6. Add more detailed documentation in both English and Chinese.
---
1. 支持直接遍历文件对象和内容存在性判断。
2. 修复拼接路径时严格模式失效的问题。
3. 调整代码格式,提升代码可读性。
4. 在 `SystemPath` 类中添加注释,增强代码可维护性。
5. 更换项目唯一依赖库,以确保依赖更新和稳定。
6. 添加更详细的中英文文档。

1.1

1. Supports concatenating paths using the `/` or `+` operators.
2. Implements the `__fspath__` method to support path representation on the file system, and adjusts numerous code snippets accordingly.
3. Improves a few type annotations by introducing `TypeAlias` and `Annotated`.
4. Refines some code by using `!r` in formatted strings to simplify `repr()` function calls.
5. Fixes an issue in the `Path.chattr` and `Path.lsattr` methods that cause errors when the path type is bytes.
6. Improves the code snippet handling path type exceptions in `dst2abs`.
7. Optimizes the performance of path concatenation operations by reducing unnecessary string allocations.
8. Removes the annotated method `__ne__`.
9. Updates the version of the only dependent library.
10. Update the project description.

---

1. 支持使用运算符 `/` 或 `+` 拼接路径。
2. 实现 `__fspath__` 方法支持文件系统上的路径表示,并为此调整了大量代码片段。
3. 改进少量类型注解,引入 `TypeAlias` 和 `Annotated`。
4. 改进少量代码,在格式化字符串中使用 `!r` 简化 `repr()` 函数调用。
5. 修复当路径类型为字节类型时 `Path.chattr` 和 `Path.lsattr` 方法中引发错误的问题。
6. 改进 `dst2abs` 中处理路径类型异常的代码片段。
7. 通过减少不必要的字符串分配来优化路径连接操作的性能。
8. 删除注解方法 `__ne__`。
9. 更新唯一依赖库版本。
10. 更新项目简述。

1.0.14

1. Optimize the logic block of importing actual code.
2. Optimize `MasqueradeClass`.
3. Fix a line break error.
4. Improve line break formatting in one place.
5. Correct a formatting error.

---

1. 优化导入真实代码的逻辑块。
2. 优化 `MasqueradeClass`。
3. 纠正一处换行错误。
4. 改进一处换行格式。
5. 纠正一处格式错误。

1.0.13

1. Optimize `MasqueradeClass` and fix known problems.
2. Refactor the `tree` function, now the code is more decoupled.
3. `tree` function parameter naming adjustment: `downtop` -> `bottom_up`, `mysophobia` -> `pure_path`.
4. `tree` function parameter `level` default value adjustment: maximum recursion depth -> maximum directory depth.
5. Supports checking whether a file contains subcontent, The method is located in `Content.contains`. 4
6. Adjust some parameter comments, all `Generator` is replaced with `Iterator`.

---

1. 优化 `MasqueradeClass`,并修复已知的问题。
2. 重构 `tree` 函数,现在的代码更解耦。
3. `tree` 函数参数命名调整:`downtop` -> `bottom_up`, `mysophobia` -> `pure_path`。
4. `tree` 函数参数 `level` 默认值调整:最大递归深度 -> 最大目录深度。
5. 增加检查文件内容中是否包含子内容的方法,位于 `Content.contains`。4
6. 调整部分参数注解,所有的 `Generator` 全部更换为 `Iterator`。

Page 2 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.