简介
zq-django-util 是用于辅助搭建 django-drf 应用的工具集合,其中包含:
- 标准异常、响应处理
- jwt、微信认证
- oss 存储与直传
- 默认分页类
- 测试 ViewSet
详细文档:zq-django-util.readthedocs.io
依赖需求
- Python 3.8+
- Django 3.2+
- Django REST framework 3.12+
强烈建议使用官方支持的最新版本,当前的测试环境为:Python 3.10, Django 4.1, DRF 3.14
安装
- 安装 zq-django-util 包
使用 pip 安装:
pip install zq-django-util
使用 poetry 安装:
poetry add zq-django-util
使用
可以根据以下说明进行配置,以启用相关功能。
开发
本项目使用 Poetry 进行依赖管理,Pytest 进行单元测试。
Metadata
Release files for zq-django-util 0.2.2
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 |
|---|---|---|---|---|
| zq_django_util-0.2.2.tar.gz | 37.2 kB | Without provenance | Details for zq_django_util-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zq_django_util-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for zq_django_util-0.2.2-py3-none-any.whl |
Total release size: 87.7 kB
Release files / zq_django_util-0.2.2.tar.gz
| Download URL | zq_django_util-0.2.2.tar.gz |
|---|---|
| Size | 37.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2593e4d71143a20d90397747a658b819001d1f3e388694138f34f4aeda6253d5
|
|
BLAKE2b-256 checksum How to use checksums |
bf50372d89815aa4375e30cd86f29414d47e2028ecaf843bd5dabfe2bda456b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.11.0 Windows/10
|
Release files / zq_django_util-0.2.2-py3-none-any.whl
| Download URL | zq_django_util-0.2.2-py3-none-any.whl |
|---|---|
| Size | 50.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
863efa7cecb020b92cdb88348706c7b89279ab0efc28a50033bf7cdf08494947
|
|
BLAKE2b-256 checksum How to use checksums |
0cae92450858102efcd693557105672791fd8a742ce55e65915a7a47b772f77b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.11.0 Windows/10
|
Security for zq-django-util 0.2.2
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.