简介
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 进行单元测试。
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zq_django_util-0.2.2.tar.gz
(37.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zq_django_util-0.2.2.tar.gz.
File metadata
- Download URL: zq_django_util-0.2.2.tar.gz
- Upload date:
- Size: 37.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/1.3.2 CPython/3.11.0 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2593e4d71143a20d90397747a658b819001d1f3e388694138f34f4aeda6253d5
|
|
| MD5 |
4e9ef114b3a4f52ee502c47e0b266599
|
|
| BLAKE2b-256 |
bf50372d89815aa4375e30cd86f29414d47e2028ecaf843bd5dabfe2bda456b8
|
File details
Details for the file zq_django_util-0.2.2-py3-none-any.whl.
File metadata
- Download URL: zq_django_util-0.2.2-py3-none-any.whl
- Upload date:
- Size: 50.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/1.3.2 CPython/3.11.0 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
863efa7cecb020b92cdb88348706c7b89279ab0efc28a50033bf7cdf08494947
|
|
| MD5 |
6bfd7f357156809883a2c39540e56eb9
|
|
| BLAKE2b-256 |
0cae92450858102efcd693557105672791fd8a742ce55e65915a7a47b772f77b
|