Zeraora
A utility Python package for our personal and corporate projects, with long time support
特性
- 支持with、注解和实例化三种方式调用的计时器
BearTimer; - 生成通用representation方便调试时查看对象内部信息的
ReprMixin; - 将字典的任意层级递归转化为对象,以便支持点分法访问数据的
OnionObject; - 受 Django 的
Choices启发和 Java 原生枚举影响的、可为枚举添加任意属性的Items; - 用以简化
.as_view()传参的EasyViewSetMixin; - 仿照
DestroyModelMixin实现的SoftDeleteModelMixin; - 自动为Django模型生成下划线小写(即蛇形)数据表名的
SnakeModel; - 包含34个省级行政区名称、区划代码、字母码、大区、简称、缩写的枚举
Province; - 不强制依赖任何非标准库;
- 更多符号见Zeraora全局符号索引。
安装
使用 pip 直接安装:
pip install zeraora
临时通过本地代理使用 pip 安装:
pip install zeraora --proxy=127.0.0.1:6666
使用 pip 时临时指定安装源来安装:
pip install zeraora -i http://pypi.mirrors.ustc.edu.cn/simple/
因为没有需求,所以还没有创建 conda 版本。
版本
| 状态 | 维护结束时间 | 首版时间 | 安全版本 | 分支 | 依赖 | |
|---|---|---|---|---|---|---|
| 0.3.x | 🆕feature | ~ 0.5.x | 2023.06.09 | - | main | 3.7+ |
| 0.2.x | ✅security | ~ 0.4.x | 2023.04.12 | 0.2.14 | 0.2.x | 3.7+ |
| 0.1.x | ❌EOL | 2023.06.09 | 2023.03.27 | - | 0.1.x | 3.7+ |
-
状态
- feature 指还在新增功能或测试,当前版本可能会有问题,或回退子版本可能会出现兼容性问题。
- security 指功能已经稳定,回退不会出现兼容性问题;会为问题修复发布新的子版本,但不会迁移新版功能。
- EOL 指已经停止维护,不会处理与之相关的任何问题,也不会发布新的子版本。
- 没有 prerelease 状态,因为人少管理不了那么多。
-
维护结束时间
- 一般是到下下一个版本的安全版本发布为止。
-
安全版本
- 指的是 security 状态开始的那一个版本,这个版本往后的那些版本可以安全回退。
-
依赖
- 对于 Python 版本的依赖,例如 3.7+ 指的是需要 3.7 或更新的 Python。
文档
详见全局符号索引。
开发
这个库只是为了跨平台、跨项目复用代码而已。有些是直接封装实际在用的功能,有些是在库里开发然后通过pip依赖传递给各个项目,有些可能真的只是奇思妙想灵光乍现。如果你有同样的需求,也认可这份努力,那么欢迎加入。
详见开发指南。
帮助
可以通过 Issue 反馈,或通过 Pull Request 添加你的工具;如有需要,可以进入QQ群 699090940 获取非即时性的帮助。
Metadata
Release files for Zeraora 0.3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Zeraora-0.3.5.tar.gz | 30.9 kB | Without provenance | Details for Zeraora-0.3.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Zeraora-0.3.5-py3-none-any.whl | Python 3 | none | any | Details for Zeraora-0.3.5-py3-none-any.whl |
Total release size: 69.8 kB
Release files / Zeraora-0.3.5.tar.gz
| Download URL | Zeraora-0.3.5.tar.gz |
|---|---|
| Size | 30.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6701cb7df799649057f35019457548651d5db44b18c7b14337c2b75471e56c10
|
|
BLAKE2b-256 checksum How to use checksums |
11c4bfbf081704bc9d8bf5a1238b021758f6ebb5a314da5bcd5123b6ced28942
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.17
|
Release files / Zeraora-0.3.5-py3-none-any.whl
| Download URL | Zeraora-0.3.5-py3-none-any.whl |
|---|---|
| Size | 38.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
67ed32469dd1ca3a59d34f4fc6bfae0dd8fb95cc8c60fcced02a4cacea1c2939
|
|
BLAKE2b-256 checksum How to use checksums |
a01747a8e573f4643e489dfc3c01af37be015ecaea0fe52de07abb205fc5f3d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.17
|
Security for Zeraora 0.3.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.