Update README.md and add main.py and requirements.txt

- Update README.md to include project introduction, structure, and running instructions.
- Add main.py file with the main function for running the project.
- Update requirements.txt to include necessary dependencies.

删除了一个无用的文件

- 删除了一个无用的文件 "a/流感基金关联分析系统"
dev-beautify
Yao 2 months ago
parent f17487756f
commit 03e200171f

@ -1,2 +1,12 @@
# Influenza_fund_linkage_system
# <center>流感基金关联分析系统<center/>
## 项目介绍
## 项目结构
## 运行方法
```
pip install -r requirements.txt
```
DB_PARAMS
## 效果图

File diff suppressed because one or more lines are too long

Binary file not shown.

@ -0,0 +1,21 @@
from typing import List, Type
import pg_request as pg
import models as m
import echarts_visualization as ev
def main(target: str,
target_name: str,
exog_columns: List[str],
models: List[Type] = [
m.VAR_Forecasting, m.ARIMA_Forecasting, m.SARIMA_Forecasting,
m.RF_Forecasting
]):
# pg.run()
# m.run(forecast_target=target, exog_columns=exog_columns, models=models)
ev.run(target=target, target_name=target_name, models=models)
if __name__ == '__main__':
main('liugan_index', '流感指数',
['infection_number.1', 'infection_number.2', 'jijin_data', 'shoupan'])

@ -1,127 +1,17 @@
altair==5.3.0
annotated-types==0.7.0
asgiref==3.8.1
asttokens==2.4.1
attrs==23.2.0
backcall==0.2.0
beautifulsoup4==4.12.3
bleach==6.1.0
blinker==1.8.2
cachetools==5.3.3
certifi==2024.2.2
cffi==1.16.0
charset-normalizer==3.3.2
click==8.1.7
colorama==0.4.6
contourpy==1.2.1
cryptography==42.0.7
cycler==0.12.1
DateTime==5.5
decorator==5.1.1
defusedxml==0.7.1
Django==5.0.6
django-cors-headers==4.3.1
djangorestframework==3.15.1
docopt==0.6.2
executing==2.0.1
fastjsonschema==2.19.1
fonttools==4.51.0
gitdb==4.0.11
GitPython==3.1.43
htmlmin==0.1.12
idna==3.7
ImageHash==4.3.1
ipython==8.12.3
jedi==0.19.1
Jinja2==3.1.4
joblib==1.1.1
jsonschema==4.22.0
jsonschema-specifications==2023.12.1
jupyter_client==8.6.2
jupyter_core==5.7.2
jupyterlab_pygments==0.3.0
jwt==1.3.1
kiwisolver==1.4.5
lxml==5.2.2
markdown-it-py==3.0.0
MarkupSafe==2.1.5
matplotlib==3.9.0
matplotlib-inline==0.1.7
mdurl==0.1.2
missingno==0.5.2
mistune==3.0.2
multimethod==1.11.2
networkx==3.3
numpy==1.26.4
packaging==24.0
pandas==2.2.2
pandas-profiling==3.2.0
pandocfilters==1.5.1
parso==0.8.4
phik==0.12.4
pickleshare==0.7.5
pillow==10.3.0
platformdirs==4.2.2
prettytable==3.10.0
prompt_toolkit==3.0.46
protobuf==4.25.3
// 数据库
psycopg2==2.9.9
pure-eval==0.2.2
pyarrow==16.1.0
pycparser==2.22
pydantic==1.9.0
pydantic-settings==2.2.1
pydantic_core==2.18.2
pydeck==0.9.1
pyecharts==2.0.5
Pygments==2.18.0
PyJWT==2.8.0
pyparsing==3.1.2
python-dateutil==2.9.0.post0
python-dotenv==1.0.1
pytz==2024.1
PyWavelets==1.6.0
pywin32==306
PyYAML==6.0.1
pyzmq==26.0.3
referencing==0.35.1
// 数据处理
pandas==2.2.2
// 爬虫
requests==2.31.0
rich==13.7.1
rpds-py==0.18.1
scipy==1.13.0
seaborn==0.13.2
setuptools==70.0.0
simplejson==3.19.2
six==1.16.0
smmap==5.0.1
soupsieve==2.5
sqlparse==0.5.0
st-btn-select==0.1.2
st-pages==0.4.5
stack-data==0.6.3
lxml==4.9.3
// 数据可视化
streamlit==1.34.0
streamlit-datalist==0.0.5
streamlit-echarts==0.4.0
streamlit-option-menu==0.3.12
streamlit-pandas-profiling==0.1.3
streamlit-scrollable-textbox==0.0.3
streamlit-space==0.1.5
streamlit-toggle==0.1.3
streamlit-vertical-slider==2.5.5
tangled-up-in-unicode==0.2.0
tenacity==8.3.0
tinycss2==1.3.0
toml==0.10.2
toolz==0.12.1
tornado==6.4
tqdm==4.66.4
traitlets==5.14.3
typing_extensions==4.11.0
tzdata==2024.1
urllib3==2.2.1
visions==0.7.4
watchdog==4.0.0
wcwidth==0.2.13
webencodings==0.5.1
yarg==0.1.9
zope.interface==6.4.post2
// 模型
statsmodels==0.14.2
pmdarima==2.0.4
Loading…
Cancel
Save