Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aixcyi/zeraora
一个纯粹的工具库,为跨平台跨项目复用代码而开发。A utility Python package for our personal and corporate projects, with long time support.
https://github.com/aixcyi/zeraora
Last synced: about 1 month ago
JSON representation
一个纯粹的工具库,为跨平台跨项目复用代码而开发。A utility Python package for our personal and corporate projects, with long time support.
- Host: GitHub
- URL: https://github.com/aixcyi/zeraora
- Owner: aixcyi
- License: mit
- Created: 2023-03-23T09:22:57.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-25T08:45:46.000Z (12 months ago)
- Last Synced: 2024-04-26T01:21:33.298Z (8 months ago)
- Language: Python
- Homepage:
- Size: 5.13 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
长期维护的个人实用工具包
A personal practical utility Python package, with long time support.## 特性/Features
- 支持 `with`、注解和实例化三种方式调用的计时器 `BearTimer` ;
- 自动为 Django 模型生成下划线小写(即蛇形)数据表名的 `SnakeModel` ;
- 受 Django 的 `Choices` 启发和 Java 原生枚举影响的、可为枚举添加任意属性的 `Items` ;
- 允许用 `curd` 等字符简化 `ViewSet.as_view()` 参数的 `EasyViewSetMixin` ;
- 继承标准库 `datetime` 的增强型日期时间对象 `Datetime` ;
- 不强制依赖任何非[标准库](https://docs.python.org/zh-cn/3/library/index.html);
- 更多……## 安装/Install
使用 pip 直接安装:
```shell
pip install zeraora
```安装最新的版本(预发布)
```shell
pip install zeraora --pre
```或者移步 PyPI 在
[Release history](https://pypi.org/project/Zeraora/#history)
选定版本后 Download files 手动下载 .whl 文件并安装```shell
pip install ./Zeraora-0.4.0.0a-none-any.whl
```因为暂时没有需求,所以还没创建 conda 版。
## 兼容/Compatibility
> - 每个 0.x 之间并不兼容,请务必选择最新的发布版。
> - 依赖包版本仅考虑单独依赖时的情况。- Zeraora 0.4.x
- [Python](https://www.python.org/) 3.7|3.8|3.9|3.10|3.11|3.12
- [Django](https://www.djangoproject.com/) 2.x|3.x|4.x|5.0
- [Django REST Framework](https://www.django-rest-framework.org/) 2.3.0+
- [requests](https://requests.readthedocs.io/) 0.8.3+| Zeraora | Python |
|---------|----------------------------|
| 0.4.x | 3.7,3.8,3.9,3.10,3.11,3.12 |
| 0.3.x | 3.7,3.8,3.9,3.10 |
| 0.2.x | 3.7,3.8,3.9,3.10 |
| 0.1.x | 3.7,3.8,3.9,3.10 |## 文档/Document
参见 [Wiki](https://github.com/aixcyi/zeraora/wiki)
## 链接/Links
- GitHub [Discussions](https://github.com/aixcyi/zeraora/discussions)
- QQ群 [418751161](https://qm.qq.com/q/ou4RdUFMTm)
- GitHub [Issues](https://github.com/aixcyi/zeraora/issues)
- 码云 [Issues](https://gitee.com/aixcyi/zeraora/issues)