文档
说明
- 用于 Hawa 相关的所有服务的统一数据计算(避免重复计算)。
依赖
- Python 3.10+
流程
1. 初始化配置文件
- 设置MySQL数据库
- 设置Redis数据库
- 设置MongoDB数据库
- 设置 COMPLETED True
set_project() # 参数见文档
# or
set_project(build_set_project_params(project))
2. 启动服务
- 启动MongoDB数据库
.connect()
3. 使用
# 学校报告数据
data = SchoolHealthReportData(**{"meta_unit_id": 3707030003, "target_year": 2021})
# mht web 数据
data = SchoolMhtWebData(**{"meta_unit_id": 4107110001, "target_year": 2022})
版本
Release files for hawadata 0.17.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hawadata-0.17.4.tar.gz | 29.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hawadata-0.17.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 67.0 kB
Release files / hawadata-0.17.4.tar.gz
| Download URL | hawadata-0.17.4.tar.gz |
|---|---|
| Size | 29.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42e871506598e38aaeea1d3ba9f2326f8d440742f6821b1dc3fcb7c974e9a00b
|
|
BLAKE2b-256 checksum How to use checksums |
1f6a7a9f3e88fb73dd286a7d3cc79b2d0873790d1b6d488bb388fcde3a1aec23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.13
|
Release files / hawadata-0.17.4-py3-none-any.whl
| Download URL | hawadata-0.17.4-py3-none-any.whl |
|---|---|
| Size | 37.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
831178e3d4c762a26b628c821df5d30212d351da227e742be52dcd77c4e46eae
|
|
BLAKE2b-256 checksum How to use checksums |
b6c29d929b2a47f927c0e9570ec14ac214b6c3bd8ef6988ae4a93ca0e5ba94b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.13
|