Skip to main content

Use For Unified Hawa Data.

Project description

文档

说明

  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})

版本

  • 0.0.1 Use For Unified Hawa Data.
  • 0.0.2 Add build_set_project_params function.
  • 0.0.3 Add new inheritance classes.
  • 0.0.4 Fix mht data web support.
  • 0.0.5 Fix mht student score group error.
  • 0.0.6 Fix mro order.
  • 0.0.7 Add mht grade name.
  • 0.1.0 Filter validity
  • 0.1.1 Revove mht unused students
  • 0.1.2 Use sqlarchemy engine replace mysqlclient conn
  • 0.1.3 Fix local engine
  • 0.1.4 Fix not same data by mht final score
  • 0.1.5 Fix float to int error

Project details


Release history Release notifications | RSS feed

This version

0.1.5

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.1.5.tar.gz (17.6 kB view hashes)

Uploaded Source

Built Distribution

HawaData-0.1.5-py3-none-any.whl (22.9 kB view hashes)

Uploaded Python 3

Supported by

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