Skip to content

本 GitHub 仓库专注于采集数据并进行分析,例如:区块链公链数据、csgo饰品、大 A 股票及基金等数据。采集后,数据可在web服务平台查看,也能下载至本地分析,方便您全方位探索数据价值。

Notifications You must be signed in to change notification settings

ZY945/DataAnalysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Todo 应用

一个简单的待办事项Web应用,使用Flask实现前后端一体化。

项目结构

.
├── app.py              # Flask 应用主文件
├── requirements.txt    # 项目依赖
├── README.md          # 项目说明文档
└── templates          
    └── index.html     # 前端页面

环境配置

  1. 创建虚拟环境
# Windows
python -m venv venv
.\venv\Scripts\activate

# Linux/Mac
python3 -m venv venv
source venv/bin/activate
  1. 安装依赖
pip install -r requirements.txt

运行项目

  1. 激活虚拟环境(如果尚未激活)
# Windows
.\venv\Scripts\activate

# Linux/Mac
source venv/bin/activate
  1. 启动应用
./venv/bin/python3 app.py     
  1. 访问应用 打开浏览器访问 http://localhost:5000

功能特性

  • 查看所有待办事项
  • 添加新的待办事项
  • 响应式界面设计

技术栈

  • 后端:Flask
  • 前端:HTML, CSS, JavaScript
  • API:RESTful API

数据来源说明

大A股市,ETF数据来源

数据来源: https://github.com/1nchaos/adata

基金

天天基金网-https://fund.eastmoney.com/fund.html

相关资料

https://tushare.pro/ --需要积分 https://fund.eastmoney.com/fund.html#os_0;isall_0;ft_;pt_1 https://github.com/akfamily/akshare?tab=readme-ov-file https://gitee.com/wkingnet/stock-analysis --通达信数据转换

贡献

欢迎大家贡献代码,共同完善这个项目。

贡献

  1. 提交代码
  2. 提交PR
  3. 审核通过后,合并到主分支
  4. 发布新版本

生成requirements.txt

安装

pip install pipreqs

在当前目录生成

pipreqs . --encoding=utf8 --force

和 akshare 的依赖有冲突

1nchaos/adata#122

下载https://github.com/sqreen/PyMiniRacer/files/7575004/libmini_racer.dylib.zip 这里已经下载放入source文件夹里了 解压后,将libmini_racer.dylib放到site-packages的py_mini_racer目录下

About

本 GitHub 仓库专注于采集数据并进行分析,例如:区块链公链数据、csgo饰品、大 A 股票及基金等数据。采集后,数据可在web服务平台查看,也能下载至本地分析,方便您全方位探索数据价值。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published