Skip to main content

文档

说明

  1. 用于 Hawa 相关的所有服务的统一数据计算(避免重复计算)。

依赖

  • Python 3.10+

流程

1. 初始化配置文件

  1. 设置MySQL数据库
  2. 设置Redis数据库
  3. 设置MongoDB数据库
  4. 设置 COMPLETED True
set_project() # 参数见文档
# or
set_project(build_set_project_params(project))

2. 启动服务

  1. 启动MongoDB数据库
.connect()

3. 使用

# 学校报告数据
data = SchoolHealthReportData(**{"meta_unit_id": 3707030003, "target_year": 2021})
# mht web 数据
data = SchoolMhtWebData(**{"meta_unit_id": 4107110001, "target_year": 2022})

版本

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hawadata-0.17.4.tar.gz (29.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hawadata-0.17.4-py3-none-any.whl (37.3 kB view details)

Uploaded Python 3

File details

Details for the file hawadata-0.17.4.tar.gz.

File metadata

  • Download URL: hawadata-0.17.4.tar.gz
  • Upload date:
  • Size: 29.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for hawadata-0.17.4.tar.gz
Algorithm Hash digest
SHA256 42e871506598e38aaeea1d3ba9f2326f8d440742f6821b1dc3fcb7c974e9a00b
MD5 22f22b5133d42e34f3d147fee3305df6
BLAKE2b-256 1f6a7a9f3e88fb73dd286a7d3cc79b2d0873790d1b6d488bb388fcde3a1aec23

See more details on using hashes here.

File details

Details for the file hawadata-0.17.4-py3-none-any.whl.

File metadata

  • Download URL: hawadata-0.17.4-py3-none-any.whl
  • Upload date:
  • Size: 37.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for hawadata-0.17.4-py3-none-any.whl
Algorithm Hash digest
SHA256 831178e3d4c762a26b628c821df5d30212d351da227e742be52dcd77c4e46eae
MD5 5cec378e993cddba950f45614bd0a43d
BLAKE2b-256 b6c29d929b2a47f927c0e9570ec14ac214b6c3bd8ef6988ae4a93ca0e5ba94b0

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page